Update lineage-res definition to follow framework-res
Change-Id: Ia4d8035f08a1f5c58fec05d10a9be07d0bbb6f95
This commit is contained in:
19
Android.bp
19
Android.bp
@@ -16,19 +16,32 @@
|
||||
|
||||
android_app {
|
||||
name: "org.lineageos.platform-res",
|
||||
certificate: "platform",
|
||||
sdk_version: "core_platform",
|
||||
manifest: "lineage/res/AndroidManifest.xml",
|
||||
certificate: "platform",
|
||||
system_ext_specific: true,
|
||||
|
||||
manifest: "lineage/res/AndroidManifest.xml",
|
||||
|
||||
// Disable dexpreopt and verify_uses_libraries check as the app
|
||||
// contains no Java code to be dexpreopted.
|
||||
enforce_uses_libs: false,
|
||||
dex_preopt: {
|
||||
enabled: false,
|
||||
},
|
||||
|
||||
// Soong special-cases org.lineageos.platform-res to install this alongside
|
||||
// the libraries at /system_ext/framework/org.lineageos.platform-res.apk.
|
||||
|
||||
aaptflags: [
|
||||
"--auto-add-overlay",
|
||||
"--private-symbols",
|
||||
"org.lineageos.platform.internal",
|
||||
|
||||
// Framework doesn't need versioning since it IS the platform.
|
||||
"--no-auto-version",
|
||||
|
||||
// Allow overlay to add resource
|
||||
"--auto-add-overlay",
|
||||
|
||||
// Tell aapt to create "extending (non-application)" resource IDs,
|
||||
// since these resources will be used by many apps.
|
||||
"--allow-reserved-package-id",
|
||||
|
||||
Reference in New Issue
Block a user