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 "SettingsLibActivityEmbedding", 37 ], 38 proto: { 39 type: "nano", 40 }, 41} 42 43android_app { 44 name: "SettingsIntelligence", 45 optimize: { 46 proguard_flags_files: ["proguard.cfg"], 47 }, 48 sdk_version: "system_current", 49 product_specific: true, 50 privileged: true, 51 required: ["privapp_whitelist_com.android.settings.intelligence"], 52 53 static_libs: ["SettingsIntelligence-core"], 54 resource_dirs: [], 55} 56