1// 2// Copyright (C) 2023 The Android Open Source Project 3// 4// Licensed under the Apache License, Version 2.0 (the "License"); 5// you may not use this file except in compliance with the License. 6// You may obtain a copy of the License at 7// 8// http://www.apache.org/licenses/LICENSE-2.0 9// 10// Unless required by applicable law or agreed to in writing, software 11// distributed under the License is distributed on an "AS IS" BASIS, 12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13// See the License for the specific language governing permissions and 14// limitations under the License. 15// 16package { 17 default_applicable_licenses: ["Android-Apache-2.0"], 18} 19 20java_library_static { 21 name: "dock_item", 22 host_supported: true, 23 proto: { 24 type: "lite", 25 }, 26 sdk_version: "module_current", 27 min_sdk_version: "31", 28 srcs: ["src/com/android/car/docklib/data/proto/dock_item.proto"], 29} 30 31android_library { 32 name: "CarDockLib", 33 srcs: [ 34 "src/**/*.java", 35 "src/**/*.kt", 36 ], 37 38 resource_dirs: ["res"], 39 40 libs: ["android.car"], 41 42 static_libs: [ 43 "androidx.recyclerview_recyclerview", 44 "androidx.core_core-animation", 45 "car-ui-lib-no-overlayable", 46 "androidx.lifecycle_lifecycle-extensions", 47 "com.google.android.material_material", 48 "CarDockUtilLib", 49 "CarLauncherCommon", 50 "SystemUISharedLib", 51 "//frameworks/libs/systemui:iconloader", 52 "car-resource-common", 53 "dock_item", 54 "car_launcher_flags_java_lib", 55 "car-media-common-no-overlayable", 56 ], 57 58 platform_apis: true, 59 60 manifest: "AndroidManifest.xml", 61} 62