• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// Copyright (C) 2015 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//
16
17package {
18    default_applicable_licenses: ["Android-Apache-2.0"],
19}
20
21android_app {
22    name: "EmbeddedKitchenSinkApp",
23
24    srcs: [
25        "src/**/*.java",
26        ":cartelemetryservice-proto-srcs",
27    ],
28
29    resource_dirs: ["res"],
30
31    platform_apis: true,
32
33    privileged: true,
34
35    certificate: "platform",
36
37    optimize: {
38        enabled: false,
39    },
40
41    enforce_uses_libs: false,
42    dex_preopt: {
43        enabled: false,
44    },
45
46    static_libs: [
47        "SettingsLib",
48        "com.google.android.material_material",
49        "androidx.appcompat_appcompat",
50        "car-admin-ui-lib",
51        "car-ui-lib",
52        "car-qc-lib",
53        "android.hidl.base-V1.0-java",
54        "com.android.car.keventreader-client",
55        "guava",
56        "android.car.cluster.navigation",
57        "car-experimental-api-static-lib",
58        "concurrent.hotword.lib",
59    ],
60
61    libs: [
62        "android.car"
63    ],
64
65    required: ["allowed_privapp_com.google.android.car.kitchensink"],
66
67    product_variables: {
68        pdk: {
69            //disble build in PDK, missing ui-lib breaks build
70            enabled: false,
71        },
72    },
73}
74