blob: 99f05054e2aa4565c06fb8603b3e7d3b4f0c1343 [file] [log] [blame]
Changyeon Joe789ee62021-01-05 21:42:01 -08001//
2// Copyright (C) 2021 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//
Bob Badour5e29c122021-04-21 14:45:18 -070016package {
17 default_applicable_licenses: ["Android-Apache-2.0"],
18}
19
Changyeon Joe789ee62021-01-05 21:42:01 -080020android_app {
21 name: "CarEvsCameraPreviewApp",
22
Changyeon Jo7b067302021-03-07 21:37:07 -080023 owner: "google",
24
Changyeon Joe789ee62021-01-05 21:42:01 -080025 srcs: ["src/**/*.java"],
26
27 resource_dirs: ["res"],
28
Changyeon Jo7b067302021-03-07 21:37:07 -080029 // This app uses system APIs.
Changyeon Joe789ee62021-01-05 21:42:01 -080030 sdk_version: "system_current",
31
32 certificate: "platform",
33
34 optimize: {
35 enabled: false,
36 },
37
Changyeon Jo7b067302021-03-07 21:37:07 -080038 // Disable dexpreopt and verify_uses_libraries check as the app contains
39 // no Java code to be dexpreopted.
40 enforce_uses_libs:false,
41 dex_preopt: {
42 enabled: false,
43 },
44
Changyeon Joe789ee62021-01-05 21:42:01 -080045 libs: [
46 "android.car-system-stubs",
47 "androidx.annotation_annotation",
48 ],
49
Changyeon Jo7b067302021-03-07 21:37:07 -080050 static_libs: ["androidx.annotation_annotation"],
Changyeon Joe789ee62021-01-05 21:42:01 -080051
Changyeon Jo7b067302021-03-07 21:37:07 -080052 // To make this app be able to re-installed
53 use_embedded_native_libs: true,
54 jni_libs: ["libcarevsglrenderer_jni"],
Changyeon Joe789ee62021-01-05 21:42:01 -080055
56 product_variables: {
57 pdk: {
Changyeon Jo7b067302021-03-07 21:37:07 -080058 // disable build in PDK
Changyeon Joe789ee62021-01-05 21:42:01 -080059 enabled: false,
Changyeon Jo7b067302021-03-07 21:37:07 -080060 },
61 },
Changyeon Joe789ee62021-01-05 21:42:01 -080062}