summaryrefslogtreecommitdiff
path: root/flags/Android.bp
blob: 80a57891a5ff1b37171bb6ae2eeee9bd71ef3cdb (plain)
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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
package {
    default_applicable_licenses: ["Android-Apache-2.0"],
    default_visibility: ["//visibility:private"],
}

aconfig_declarations {
    name: "bluetooth_aconfig_flags",
    package: "com.android.bluetooth.flags",
    container: "com.android.bt",
    visibility: ["//packages/modules/Bluetooth/framework"],
    // LINT.IfChange
    srcs: [
        "a2dp.aconfig",
        "active_device_manager.aconfig",
        "adapter.aconfig",
        "avrcp.aconfig",
        "avrcp_controller.aconfig",
        "bta_dm.aconfig",
        "btif_dm.aconfig",
        "btm_ble.aconfig",
        "connectivity.aconfig",
        "dis.aconfig",
        "framework.aconfig",
        "gap.aconfig",
        "gatt.aconfig",
        "hal.aconfig",
        "hap.aconfig",
        "hci.aconfig",
        "hfp.aconfig",
        "hfpclient.aconfig",
        "hid.aconfig",
        "l2cap.aconfig",
        "le_advertising.aconfig",
        "le_scanning.aconfig",
        "leaudio.aconfig",
        "mapclient.aconfig",
        "mcp.aconfig",
        "metric.aconfig",
        "opp.aconfig",
        "pairing.aconfig",
        "pbapclient.aconfig",
        "ranging.aconfig",
        "rfcomm.aconfig",
        "rnr.aconfig",
        "sco.aconfig",
        "sdp.aconfig",
        "security.aconfig",
        "service_discovery.aconfig",
        "sockets.aconfig",
        "system_service.aconfig",
        "vcp.aconfig",
        "vsc.aconfig",
    ],
    // LINT.ThenChange(/flags/BUILD.gn)
    exportable: true,
}

java_aconfig_library {
    name: "bluetooth_flags_java_lib",
    aconfig_declarations: "bluetooth_aconfig_flags",
    visibility: ["//packages/modules/Bluetooth:__subpackages__"],
    apex_available: ["com.android.bt"],
    libs: ["framework-configinfrastructure.stubs.module_lib"],
    sdk_version: "module_current",
    min_sdk_version: "Tiramisu",
}

java_aconfig_library {
    name: "bluetooth_exported_flags_java_lib",
    aconfig_declarations: "bluetooth_aconfig_flags",
    defaults: ["framework-minus-apex-aconfig-java-defaults"],
    min_sdk_version: "VanillaIceCream",
    mode: "exported",
    visibility: [
        "//cts/tests/tests/bluetooth:__subpackages__",
        "//frameworks/base",
        "//frameworks/base/packages/SettingsLib",
    ],
}

cc_aconfig_library {
    name: "bluetooth_flags_c_lib",
    aconfig_declarations: "bluetooth_aconfig_flags",
    host_supported: true,
    visibility: ["//packages/modules/Bluetooth:__subpackages__"],
    apex_available: ["com.android.bt"],
    min_sdk_version: "Tiramisu",
}

cc_aconfig_library {
    name: "bluetooth_flags_c_lib_for_test",
    aconfig_declarations: "bluetooth_aconfig_flags",
    mode: "test",
    host_supported: true,
    visibility: ["//packages/modules/Bluetooth/system:__subpackages__"],
    min_sdk_version: "Tiramisu",
}

rust_aconfig_library {
    name: "libbluetooth_aconfig_flags_rust",
    host_supported: true,
    crate_name: "bluetooth_aconfig_flags_rust",
    aconfig_declarations: "bluetooth_aconfig_flags",
    apex_available: ["com.android.bt"],
    min_sdk_version: "Tiramisu",
    visibility: ["//packages/modules/Bluetooth/system:__subpackages__"],
}