• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// 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
15package {
16    // See: http://go/android-license-faq
17    default_applicable_licenses: ["Android-Apache-2.0"],
18}
19
20android_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
42android_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
52    static_libs: ["SettingsIntelligence-core"],
53    resource_dirs: [],
54}
55