blob: 379caf23d2902c409f6a88075b625fc02605665a [file] [log] [blame]
Brad Stenningfb198132018-12-12 13:33:14 -08001// 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
16android_app {
17 name: "CarNotification",
18
19 srcs: ["src/**/*.java"],
20
21 resource_dirs: ["res"],
22
23 platform_apis: true,
Uriel Sadefc347182019-01-10 14:12:28 -080024 certificate: "platform",
25 privileged: true,
Brad Stenningfb198132018-12-12 13:33:14 -080026
27 optimize: {
28 enabled: false,
29 },
30
31 dex_preopt: {
32 enabled: false,
33 },
34
35 static_libs: [
Heemin Seogd66bad52019-03-15 16:43:11 -070036 "androidx.cardview_cardview",
37 "androidx.recyclerview_recyclerview",
Brad Stenningfb198132018-12-12 13:33:14 -080038 "androidx.palette_palette",
Uriel Sade48e479e2018-12-03 10:50:29 -080039 "car-assist-client-lib",
Brad Stenningfb198132018-12-12 13:33:14 -080040 "android.car.userlib",
Heemin Seogd66bad52019-03-15 16:43:11 -070041 "androidx-constraintlayout_constraintlayout"
Brad Stenningfb198132018-12-12 13:33:14 -080042 ],
43
44 libs: ["android.car"],
45
46 product_variables: {
47 pdk: {
48 enabled: false,
49 },
50 },
51}
52
53// As Lib
54android_library {
55 name: "CarNotificationLib",
56 srcs: ["src/**/*.java"],
57
58 resource_dirs: ["res"],
59
60 manifest: "AndroidManifest-withoutActivity.xml",
61
62 platform_apis: true,
63
64 optimize: {
65 enabled: false,
66 },
67
68 dex_preopt: {
69 enabled: false,
70 },
71
72 static_libs: [
Heemin Seogd66bad52019-03-15 16:43:11 -070073 "androidx.cardview_cardview",
74 "androidx.recyclerview_recyclerview",
Brad Stenningfb198132018-12-12 13:33:14 -080075 "androidx.palette_palette",
Uriel Sade48e479e2018-12-03 10:50:29 -080076 "car-assist-client-lib",
Brad Stenningfb198132018-12-12 13:33:14 -080077 "android.car.userlib",
Heemin Seogd66bad52019-03-15 16:43:11 -070078 "androidx-constraintlayout_constraintlayout"
Brad Stenningfb198132018-12-12 13:33:14 -080079 ],
80
81 libs: ["android.car"],
82
83 product_variables: {
84 pdk: {
85 enabled: false,
86 },
87 },
88}