Josh Gao | 7da5d8a | 2020-01-21 13:32:16 -0800 | [diff] [blame] | 1 | apex_defaults { |
| 2 | name: "com.android.adbd-defaults", |
Jiyong Park | 49c3dc5 | 2020-02-24 18:39:23 +0900 | [diff] [blame] | 3 | updatable: true, |
Jooyung Han | 31242c0 | 2020-03-30 13:27:50 +0900 | [diff] [blame] | 4 | min_sdk_version: "R", |
Josh Gao | 7da5d8a | 2020-01-21 13:32:16 -0800 | [diff] [blame] | 5 | |
| 6 | binaries: ["adbd"], |
Josh Gao | bb7fc92 | 2020-01-22 17:58:03 -0800 | [diff] [blame] | 7 | compile_multilib: "both", |
| 8 | multilib: { |
| 9 | both: { |
Joshua Duong | 16d5bc6 | 2020-02-09 22:50:19 -0800 | [diff] [blame] | 10 | native_shared_libs: [ |
| 11 | "libadb_pairing_auth", |
| 12 | "libadb_pairing_connection", |
| 13 | "libadb_pairing_server", |
| 14 | "libadbconnection_client", |
| 15 | ], |
Josh Gao | bb7fc92 | 2020-01-22 17:58:03 -0800 | [diff] [blame] | 16 | }, |
| 17 | }, |
Kiyoung Kim | f611e41 | 2020-02-20 15:59:26 +0900 | [diff] [blame] | 18 | prebuilts: ["com.android.adbd.init.rc"], |
Josh Gao | 7da5d8a | 2020-01-21 13:32:16 -0800 | [diff] [blame] | 19 | |
| 20 | key: "com.android.adbd.key", |
| 21 | certificate: ":com.android.adbd.certificate", |
| 22 | } |
| 23 | |
| 24 | apex { |
| 25 | name: "com.android.adbd", |
| 26 | defaults: ["com.android.adbd-defaults"], |
| 27 | manifest: "apex_manifest.json", |
| 28 | } |
| 29 | |
| 30 | // adbd apex with INT_MAX version code, to allow for upgrade/rollback testing. |
Jiyong Park | 17730e7 | 2020-02-05 18:44:10 +0900 | [diff] [blame] | 31 | apex_test { |
Josh Gao | 7da5d8a | 2020-01-21 13:32:16 -0800 | [diff] [blame] | 32 | name: "test_com.android.adbd", |
| 33 | defaults: ["com.android.adbd-defaults"], |
| 34 | manifest: "test_apex_manifest.json", |
| 35 | file_contexts: ":com.android.adbd-file_contexts", |
| 36 | installable: false, |
| 37 | } |
| 38 | |
| 39 | prebuilt_etc { |
Josh Gao | 7da5d8a | 2020-01-21 13:32:16 -0800 | [diff] [blame] | 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 | } |