blob: d019e75cc89ade2b27eb2a546898c28e31d9258c [file] [log] [blame]
Sasha Smundak98bfbfe2019-01-15 20:00:49 -08001// Copyright (C) 2017 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
Bob Badour6fdb5be2021-02-12 20:34:15 -080015package {
Bob Badouree42c402022-01-27 19:34:07 -080016 // See: http://go/android-license-faq
17 default_applicable_licenses: ["Android-Apache-2.0"],
Bob Badour6fdb5be2021-02-12 20:34:15 -080018}
19
Alex Stetson590bb5c2021-02-23 14:30:23 -080020android_library {
21 name: "SettingsIntelligence-core",
22 sdk_version: "system_current",
23 srcs: [
24 "src/**/*.java",
25 "proto/**/*.proto",
26 ],
27
28 static_libs: [
29 "androidx.legacy_legacy-support-v4",
30 "androidx.legacy_legacy-support-v13",
31 "androidx.appcompat_appcompat",
32 "androidx.cardview_cardview",
33 "androidx.preference_preference",
34 "androidx.recyclerview_recyclerview",
35 "androidx.legacy_legacy-preference-v14",
36 ],
37 proto: {
38 type: "nano",
39 },
40}
41
Sasha Smundak98bfbfe2019-01-15 20:00:49 -080042android_app {
43 name: "SettingsIntelligence",
44 optimize: {
45 proguard_flags_files: ["proguard.cfg"],
46 },
47 sdk_version: "system_current",
48 product_specific: true,
49 privileged: true,
50 required: ["privapp_whitelist_com.android.settings.intelligence"],
51
Alex Stetson590bb5c2021-02-23 14:30:23 -080052 static_libs: ["SettingsIntelligence-core"],
53 resource_dirs: [],
Sasha Smundak98bfbfe2019-01-15 20:00:49 -080054}