blob: 05c40e4c807ebbaec603bc2a8dc9de4cd647d28a [file] [log] [blame]
Bob Badour4a6774b2021-02-12 19:46:09 -08001package {
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
Josh Gao9553de62020-01-21 13:32:16 -080010apex_defaults {
11 name: "com.android.adbd-defaults",
Liz Kammer3ce82db2022-05-25 12:42:38 -040012
13 defaults: ["r-launched-dcla-enabled-apex-module"],
Josh Gao9553de62020-01-21 13:32:16 -080014
15 binaries: ["adbd"],
Josh Gaobf5a9362020-01-22 17:58:03 -080016 compile_multilib: "both",
17 multilib: {
18 both: {
Joshua Duong47882022020-02-09 22:50:19 -080019 native_shared_libs: [
20 "libadb_pairing_auth",
21 "libadb_pairing_connection",
22 "libadb_pairing_server",
23 "libadbconnection_client",
24 ],
Josh Gaobf5a9362020-01-22 17:58:03 -080025 },
26 },
Kiyoung Kim03134db2020-02-20 15:59:26 +090027 prebuilts: ["com.android.adbd.init.rc"],
Josh Gao9553de62020-01-21 13:32:16 -080028
Liz Kammer4e9d6432021-05-13 12:52:15 -040029 manifest: "apex_manifest.json",
Josh Gao9553de62020-01-21 13:32:16 -080030 key: "com.android.adbd.key",
31 certificate: ":com.android.adbd.certificate",
Samiul Islambb5b6012021-06-24 12:14:42 +010032 compressible: true,
Josh Gao9553de62020-01-21 13:32:16 -080033}
34
35apex {
36 name: "com.android.adbd",
Liz Kammer6836b052021-01-22 13:39:03 -050037 defaults: [
38 "com.android.adbd-defaults",
Liz Kammer6836b052021-01-22 13:39:03 -050039 ],
40}
41
Josh Gao9553de62020-01-21 13:32:16 -080042// adbd apex with INT_MAX version code, to allow for upgrade/rollback testing.
Jiyong Parke830e9f2020-02-05 18:44:10 +090043apex_test {
Josh Gao9553de62020-01-21 13:32:16 -080044 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 installable: false,
49}
50
51prebuilt_etc {
Josh Gao9553de62020-01-21 13:32:16 -080052 name: "com.android.adbd.init.rc",
53 src: "adbd.rc",
54 filename: "init.rc",
55 installable: false,
56}
57
58apex_key {
59 name: "com.android.adbd.key",
60 public_key: "com.android.adbd.avbpubkey",
61 private_key: "com.android.adbd.pem",
62}
63
64android_app_certificate {
65 name: "com.android.adbd.certificate",
66 certificate: "com.android.adbd",
67}