1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
|
package {
// See: http://go/android-license-faq
// A large-scale-change added 'default_applicable_licenses' to import
// all of the 'license_kinds' from "system_bt_license"
// to get the below license kinds:
// SPDX-license-identifier-Apache-2.0
default_applicable_licenses: ["system_bt_license"],
}
linker_config {
name: "btservices-linker-config",
src: "linker.config.json",
installable: false,
}
// TODO: Remove
apex {
// TODO(b/224561763): Qualcomm to refactor BT modifications into APEX.
name: "com.android.bluetooth",
enabled: false,
manifest: "apex_manifest.json",
native_shared_libs: [
"libbluetooth_jni",
"libbluetooth"
],
apps: ["Bluetooth"],
compile_multilib: "both",
prebuilts: [
"audio_set_configurations_bfbs",
"audio_set_configurations_json",
"audio_set_scenarios_bfbs",
"audio_set_scenarios_json",
"btservices-linker-config",
"bt_did.conf",
"bt_stack.conf",
"privapp_allowlist_com.android.bluetooth.xml",
],
key: "com.android.btservices.key",
certificate: ":com.android.btservices.certificate",
updatable: false,
compressible: false,
}
// Mainline bluetooth apex module.
apex {
name: "com.android.btservices",
defaults: ["t-launched-apex-module"],
manifest: "apex_manifest.json",
bootclasspath_fragments: ["com.android.btservices-bootclasspath-fragment"],
systemserverclasspath_fragments: ["com.android.btservices-systemserverclasspath-fragment"],
apps: ["Bluetooth"],
multilib: {
first: {
// Extractor process runs only with the primary ABI.
jni_libs: [
"libbluetooth_jni",
],
},
},
min_sdk_version: "current",
enabled: false,
prebuilts: [
"audio_set_configurations_bfbs",
"audio_set_configurations_json",
"audio_set_scenarios_bfbs",
"audio_set_scenarios_json",
"btservices-linker-config",
"bt_did.conf",
"bt_stack.conf",
"privapp_allowlist_com.android.bluetooth.xml",
],
key: "com.android.btservices.key",
certificate: ":com.android.btservices.certificate",
updatable: false,
compressible: false,
}
apex_key {
name: "com.android.btservices.key",
public_key: "com.android.btservices.avbpubkey",
private_key: "com.android.btservices.pem",
}
android_app_certificate {
name: "com.android.btservices.certificate",
certificate: "com.android.btservices",
}
|