• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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: [
41        "android.car",
42        "token-shared-lib-prebuilt",
43    ],
44
45    static_libs: [
46        "androidx.recyclerview_recyclerview",
47        "androidx.core_core-animation",
48        "car-ui-lib-no-overlayable",
49        "androidx.lifecycle_lifecycle-extensions",
50        "com.google.android.material_material",
51        "CarDockUtilLib",
52        "CarLauncherCommon",
53        "SystemUISharedLib",
54        "//frameworks/libs/systemui:iconloader",
55        "dock_item",
56        "car_launcher_flags_java_lib",
57        "car-media-common-no-overlayable",
58        "oem-token-lib",
59    ],
60
61    enforce_uses_libs: false,
62
63    platform_apis: true,
64
65    manifest: "AndroidManifest.xml",
66}
67