1package { 2 // See: http://go/android-license-faq 3 // A large-scale-change added 'default_applicable_licenses' to import 4 // all of the 'license_kinds' from "packages_modules_adb_license" 5 // to get the below license kinds: 6 // SPDX-license-identifier-Apache-2.0 7 default_applicable_licenses: ["packages_modules_adb_license"], 8} 9 10apex_defaults { 11 name: "com.android.adbd-defaults", 12 13 defaults: ["r-launched-dcla-enabled-apex-module"], 14 15 binaries: ["adbd"], 16 compile_multilib: "both", 17 multilib: { 18 both: { 19 native_shared_libs: [ 20 "libadb_pairing_auth", 21 "libadb_pairing_connection", 22 "libadb_pairing_server", 23 "libadbconnection_client", 24 ], 25 }, 26 }, 27 prebuilts: ["com.android.adbd.init.rc"], 28 29 manifest: "apex_manifest.json", 30 key: "com.android.adbd.key", 31 certificate: ":com.android.adbd.certificate", 32 compressible: true, 33} 34 35apex { 36 name: "com.android.adbd", 37 defaults: [ 38 "com.android.adbd-defaults", 39 ], 40} 41 42// adbd apex with INT_MAX version code, to allow for upgrade/rollback testing. 43apex_test { 44 name: "test_com.android.adbd", 45 defaults: ["com.android.adbd-defaults"], 46 manifest: "test_apex_manifest.json", 47 file_contexts: ":com.android.adbd-file_contexts", 48 apex_available_name: "com.android.adbd", 49 installable: false, 50} 51 52prebuilt_etc { 53 name: "com.android.adbd.init.rc", 54 src: "adbd.rc", 55 filename: "init.rc", 56 installable: false, 57} 58 59apex_key { 60 name: "com.android.adbd.key", 61 public_key: "com.android.adbd.avbpubkey", 62 private_key: "com.android.adbd.pem", 63} 64 65android_app_certificate { 66 name: "com.android.adbd.certificate", 67 certificate: "com.android.adbd", 68} 69