1package {
2    default_applicable_licenses: ["Android-Apache-2.0"],
3    default_visibility: ["//visibility:private"],
4}
5
6aconfig_declarations {
7    name: "bluetooth_aconfig_flags",
8    package: "com.android.bluetooth.flags",
9    container: "com.android.btservices",
10    // LINT.IfChange
11    srcs: [
12        "a2dp.aconfig",
13        "asha.aconfig",
14        "audio_routing.aconfig",
15        "avrcp.aconfig",
16        "avrcp_controller.aconfig",
17        "bta_dm.aconfig",
18        "btif_dm.aconfig",
19        "btm_ble.aconfig",
20        "connectivity.aconfig",
21        "device_iot_config.aconfig",
22        "did.aconfig",
23        "discovery_service.aconfig",
24        "dumpsys.aconfig",
25        "framework.aconfig",
26        "gap.aconfig",
27        "hal.aconfig",
28        "hap.aconfig",
29        "hfp.aconfig",
30        "hid.aconfig",
31        "l2cap.aconfig",
32        "le_advertising.aconfig",
33        "leaudio.aconfig",
34        "map.aconfig",
35        "mapclient.aconfig",
36        "mcp.aconfig",
37        "metric.aconfig",
38        "opp.aconfig",
39        "pairing.aconfig",
40        "ranging.aconfig",
41        "rfcomm.aconfig",
42        "rnr.aconfig",
43        "sdp.aconfig",
44        "security.aconfig",
45        "sniff.aconfig",
46        "sockets.aconfig",
47        "system_service.aconfig",
48        "vcp.aconfig",
49        "vsc.aconfig",
50    ],
51    // LINT.ThenChange(/flags/BUILD.gn)
52    exportable: true,
53}
54
55java_aconfig_library {
56    name: "bluetooth_flags_java_lib",
57    aconfig_declarations: "bluetooth_aconfig_flags",
58    visibility: [
59        "//cts/tests/tests/bluetooth:__subpackages__",
60        "//packages/modules/Bluetooth/android/app",
61        "//packages/modules/Bluetooth/framework",
62        "//packages/modules/Bluetooth/framework/tests/bumble",
63        "//packages/modules/Bluetooth/framework/tests/util",
64        "//packages/modules/Bluetooth/service:__subpackages__",
65    ],
66    apex_available: [
67        "com.android.btservices",
68    ],
69    libs: ["framework-configinfrastructure"],
70    sdk_version: "module_current",
71    min_sdk_version: "Tiramisu",
72}
73
74java_aconfig_library {
75    name: "bluetooth_exported_flags_java_lib",
76    aconfig_declarations: "bluetooth_aconfig_flags",
77    defaults: ["framework-minus-apex-aconfig-java-defaults"],
78    min_sdk_version: "VanillaIceCream",
79    mode: "exported",
80    visibility: [
81        "//frameworks/base",
82    ],
83}
84
85cc_aconfig_library {
86    name: "bluetooth_flags_c_lib",
87    aconfig_declarations: "bluetooth_aconfig_flags",
88    host_supported: true,
89    visibility: [
90        "//packages/modules/Bluetooth/system:__subpackages__",
91    ],
92    apex_available: [
93        "com.android.btservices",
94    ],
95    min_sdk_version: "Tiramisu",
96}
97