As mentioned in go/partitions-in-r, we plan to forbid hidden API in product partition. So this app should be moved to /system_ext because it uses hidden API. It is not permanent, so they can be moved back to /product due to needs if there isn't hidden usage anymore. Bug: 137908189 Test: m Test: check whether device boots successfully Change-Id: Icd2f7fc7021e84fad9980d58688dc640ca4245f8
67 lines
1.7 KiB
Plaintext
67 lines
1.7 KiB
Plaintext
java_library {
|
|
name: "settings-logtags",
|
|
srcs: ["src/**/*.logtags"],
|
|
static_libs: ["WifiTrackerLib"],
|
|
}
|
|
|
|
// Build the Settings APK
|
|
android_library {
|
|
name: "Settings-core",
|
|
platform_apis: true,
|
|
defaults: [
|
|
"SettingsLibDefaults",
|
|
"SettingsLib-search-defaults",
|
|
],
|
|
|
|
srcs: ["src/**/*.java"],
|
|
|
|
static_libs: [
|
|
"androidx-constraintlayout_constraintlayout",
|
|
"androidx.slice_slice-builders",
|
|
"androidx.slice_slice-core",
|
|
"androidx.slice_slice-view",
|
|
"androidx.core_core",
|
|
"androidx.appcompat_appcompat",
|
|
"androidx.cardview_cardview",
|
|
"androidx.preference_preference",
|
|
"androidx.recyclerview_recyclerview",
|
|
"com.google.android.material_material",
|
|
"setupcompat",
|
|
"setupdesign",
|
|
"androidx-constraintlayout_constraintlayout-solver",
|
|
"androidx.lifecycle_lifecycle-runtime",
|
|
"androidx.lifecycle_lifecycle-extensions",
|
|
"guava",
|
|
"jsr305",
|
|
"settings-contextual-card-protos-lite",
|
|
"settings-log-bridge-protos-lite",
|
|
"contextualcards",
|
|
"settings-logtags",
|
|
"zxing-core-1.7",
|
|
],
|
|
|
|
libs: [
|
|
"telephony-common",
|
|
"ims-common",
|
|
],
|
|
}
|
|
|
|
android_app {
|
|
name: "Settings",
|
|
platform_apis: true,
|
|
certificate: "platform",
|
|
system_ext_specific: true,
|
|
privileged: true,
|
|
required: ["privapp_whitelist_com.android.settings"],
|
|
static_libs: ["Settings-core"],
|
|
resource_dirs: [],
|
|
optimize: {
|
|
proguard_flags_files: ["proguard.flags"],
|
|
},
|
|
}
|
|
|
|
android_library_import {
|
|
name: "contextualcards",
|
|
aars: ["libs/contextualcards.aar"],
|
|
}
|