1//
2// Copyright (C) 2016 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//
16
17package {
18    default_applicable_licenses: ["Android-Apache-2.0"],
19}
20
21android_app {
22    name: "CarRadioApp",
23
24    srcs: [
25        "src/**/*.java",
26        "src/**/I*.aidl",
27    ],
28    aidl: {
29        local_include_dirs: ["src"],
30    },
31
32    platform_apis: true,
33
34    required: ["allowed_privapp_com.android.car.radio"],
35
36    certificate: "platform",
37
38    privileged: true,
39
40    libs: ["android.car"],
41
42    static_libs: [
43        "androidx.lifecycle_lifecycle-livedata",
44        "androidx-constraintlayout_constraintlayout",
45        "androidx.room_room-runtime",
46        "car-apps-common",
47        "car-media-common",
48        "car-broadcastradio-support",
49        "car-ui-lib",
50    ],
51
52    plugins: ["androidx.room_room-compiler-plugin"],
53
54    resource_dirs: ["res"],
55
56    optimize: {
57        enabled: false,
58    },
59
60    dex_preopt: {
61        enabled: false,
62    },
63
64    product_variables: {
65        pdk: {
66            enabled: false,
67        },
68    },
69}
70