Josh Gao | 7da5d8a | 2020-01-21 13:32:16 -0800 | [diff] [blame] | 1 | apex_defaults { |
| 2 | name: "com.android.adbd-defaults", |
| 3 | |
| 4 | binaries: ["adbd"], |
Josh Gao | bb7fc92 | 2020-01-22 17:58:03 -0800 | [diff] [blame^] | 5 | compile_multilib: "both", |
| 6 | multilib: { |
| 7 | both: { |
| 8 | native_shared_libs: ["libadbconnection_client"], |
| 9 | }, |
| 10 | }, |
Josh Gao | 7da5d8a | 2020-01-21 13:32:16 -0800 | [diff] [blame] | 11 | prebuilts: ["com.android.adbd.init.rc", "com.android.adbd.ld.config.txt"], |
| 12 | |
| 13 | key: "com.android.adbd.key", |
| 14 | certificate: ":com.android.adbd.certificate", |
| 15 | } |
| 16 | |
| 17 | apex { |
| 18 | name: "com.android.adbd", |
| 19 | defaults: ["com.android.adbd-defaults"], |
| 20 | manifest: "apex_manifest.json", |
| 21 | } |
| 22 | |
| 23 | // adbd apex with INT_MAX version code, to allow for upgrade/rollback testing. |
| 24 | apex { |
| 25 | name: "test_com.android.adbd", |
| 26 | defaults: ["com.android.adbd-defaults"], |
| 27 | manifest: "test_apex_manifest.json", |
| 28 | file_contexts: ":com.android.adbd-file_contexts", |
| 29 | installable: false, |
| 30 | } |
| 31 | |
| 32 | prebuilt_etc { |
| 33 | name: "com.android.adbd.ld.config.txt", |
| 34 | src: "ld.config.txt", |
| 35 | filename: "ld.config.txt", |
| 36 | installable: false, |
| 37 | } |
| 38 | |
| 39 | prebuilt_etc { |
| 40 | name: "com.android.adbd.init.rc", |
| 41 | src: "adbd.rc", |
| 42 | filename: "init.rc", |
| 43 | installable: false, |
| 44 | } |
| 45 | |
| 46 | apex_key { |
| 47 | name: "com.android.adbd.key", |
| 48 | public_key: "com.android.adbd.avbpubkey", |
| 49 | private_key: "com.android.adbd.pem", |
| 50 | } |
| 51 | |
| 52 | android_app_certificate { |
| 53 | name: "com.android.adbd.certificate", |
| 54 | certificate: "com.android.adbd", |
| 55 | } |