platform_system_core/adb/apex/Android.bp
Jooyung Han ab9dfa4321 Add min_sdk_version:R to updatable apexes
APEXes introduced in R need to set min_sdk_version to ensure that they
are built against correct version(30 or R) of stubs (libc/liblog/...).

Bug: 152655956
Test: /vendor/google/build/build_mainline_modules.sh
Change-Id: Id3f94a2ac09bd7bf7f9a4a0c2f62b624f29509d0
2020-04-02 03:02:16 +09:00

55 lines
1.3 KiB
Text

apex_defaults {
name: "com.android.adbd-defaults",
updatable: true,
min_sdk_version: "R",
binaries: ["adbd"],
compile_multilib: "both",
multilib: {
both: {
native_shared_libs: [
"libadb_pairing_auth",
"libadb_pairing_connection",
"libadb_pairing_server",
"libadbconnection_client",
],
},
},
prebuilts: ["com.android.adbd.init.rc"],
key: "com.android.adbd.key",
certificate: ":com.android.adbd.certificate",
}
apex {
name: "com.android.adbd",
defaults: ["com.android.adbd-defaults"],
manifest: "apex_manifest.json",
}
// adbd apex with INT_MAX version code, to allow for upgrade/rollback testing.
apex_test {
name: "test_com.android.adbd",
defaults: ["com.android.adbd-defaults"],
manifest: "test_apex_manifest.json",
file_contexts: ":com.android.adbd-file_contexts",
installable: false,
}
prebuilt_etc {
name: "com.android.adbd.init.rc",
src: "adbd.rc",
filename: "init.rc",
installable: false,
}
apex_key {
name: "com.android.adbd.key",
public_key: "com.android.adbd.avbpubkey",
private_key: "com.android.adbd.pem",
}
android_app_certificate {
name: "com.android.adbd.certificate",
certificate: "com.android.adbd",
}