49c3dc51c7
Mark updatable APEXes as updatable: true so that they are opted-out from
optimizations that make sense only for non-updatable modules; such as
symlinking to the libs in the system partition.
Bug: 149805758
Test: m and check that there is no symlink from the APEX to the system
partition.
Exempt-From-Owner-Approval: cherry-pick from internal
Merged-In: Ic3edc7e285e9eafbdaa20b18ccbc0b2231370779
(cherry picked from commit 7c2ae1f02c
)
Change-Id: Ic3edc7e285e9eafbdaa20b18ccbc0b2231370779
54 lines
1.3 KiB
Text
54 lines
1.3 KiB
Text
apex_defaults {
|
|
name: "com.android.adbd-defaults",
|
|
updatable: true,
|
|
|
|
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",
|
|
}
|