BluePrint for Application Project
How to configure Android.bp for an application
Here is list of some properties in an android application blueprint:
Here is a sample android.bp file
android_app {
name: "CarLauncher",
srcs: [
"app/src/main/java/**/*.java"
],
manifest: "app/src/main/AndroidManifest.xml",
resource_dirs: [],
platform_apis: true,
required: ["allowed_privapp_com.android.car.carlauncher"],
certificate: "platform",
privileged: true,
overrides: [
"Launcher2",
"Launcher3",
"Launcher3QuickStep",
],
static_libs: ["CarLauncher-core"],
libs: ["android.car"],
optimize: {
enabled: false,
},
dex_preopt: {
enabled: false,
},
product_variables: {
pdk: {
enabled: false,
},
},
}Last updated