1 2// 3// Copyright (C) 2019 The Android Open Source Project 4// 5// Licensed under the Apache License, Version 2.0 (the "License"); 6// you may not use this file except in compliance with the License. 7// You may obtain a copy of the License at 8// 9// http://www.apache.org/licenses/LICENSE-2.0 10// 11// Unless required by applicable law or agreed to in writing, software 12// distributed under the License is distributed on an "AS IS" BASIS, 13// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14// See the License for the specific language governing permissions and 15// limitations under the License. 16 17android_library { 18 name: "car-ui-lib", 19 sdk_version: "system_current", 20 min_sdk_version: "28", 21 srcs: ["src/**/*.java"], 22 resource_dirs: ["res"], 23 optimize: { 24 enabled: false, 25 }, 26 libs: ["android.car-stubs"], 27 static_libs: [ 28 "androidx.annotation_annotation", 29 "androidx.appcompat_appcompat", 30 "androidx-constraintlayout_constraintlayout", 31 "androidx.preference_preference", 32 "androidx.recyclerview_recyclerview", 33 "androidx-constraintlayout_constraintlayout-solver", 34 "androidx.asynclayoutinflater_asynclayoutinflater", 35 ], 36} 37 38android_library { 39 name: "car-ui-lib-testing-support", 40 sdk_version: "system_current", 41 min_sdk_version: "28", 42 srcs: [ 43 "tests/baselayouttests/src/**/*.java", 44 ], 45 optimize: { 46 enabled: false, 47 }, 48 libs: ["android.car-stubs"], 49 static_libs: [ 50 "car-ui-lib", 51 "Robolectric_all-target", 52 ], 53}