• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// Copyright (C) 2018 The Android Open Source Project
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7//      http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14//
15
16package {
17    default_applicable_licenses: ["Android-Apache-2.0"],
18}
19
20java_library_static {
21    name: "launcher_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/carlauncher/proto/launcher_item.proto"]
29}
30
31android_library {
32    name: "CarLauncher-core",
33    platform_apis: true,
34
35    srcs: ["src/**/*.java"],
36
37    resource_dirs: ["res"],
38
39    static_libs: [
40        "androidx-constraintlayout_constraintlayout-solver",
41        "androidx-constraintlayout_constraintlayout",
42        "androidx.lifecycle_lifecycle-extensions",
43        "car-media-common",
44        "car-telephony-common",
45        "car-ui-lib",
46        "com.google.android.material_material",
47        "WindowManager-Shell",
48        "launcher_item",
49        "SystemUISharedLib"
50    ],
51
52    libs: ["android.car"],
53
54    manifest: "AndroidManifest.xml",
55}
56
57android_app {
58    name: "CarLauncher",
59
60    resource_dirs: [],
61
62    platform_apis: true,
63
64    required: ["allowed_privapp_com.android.car.carlauncher"],
65
66    certificate: "platform",
67
68    privileged: true,
69
70    overrides: [
71        "Launcher2",
72        "Launcher3",
73        "Launcher3QuickStep",
74    ],
75
76    static_libs: ["CarLauncher-core"],
77
78    libs: ["android.car"],
79
80    optimize: {
81        enabled: false,
82    },
83
84    dex_preopt: {
85        enabled: false,
86    },
87
88    product_variables: {
89        pdk: {
90            enabled: false,
91        },
92    },
93}
94