platform_system_core/adb/apex/Android.bp
Joshua Duong 16d5bc6ed5 [adbd-apex] Export adbd libraries used by system_server.
Bug: b/111434128
Bug: b/149181583

Test: cat proc/`pidof system_server`/maps | grep libadb
Test: cat proc/`pidof adbd`/maps | grep libadb
Change-Id: Idd36ca31cba7e4dc2d8836d229b23665e69b42fb
Exempt-From-Owner-Approval: approved already
2020-02-21 21:06:28 +00:00

53 lines
1.3 KiB
Text

apex_defaults {
name: "com.android.adbd-defaults",
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",
}