summaryrefslogtreecommitdiff
path: root/service/common/Android.bp.disable
blob: b3fbfc458c82af4c031c82b9559a77b8fb22e477 (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
// Bluetooth types
cc_library_static {
    name: "libbluetooth-common",
    defaults: ["fluoride_defaults"],
    cflags: [
        /* we export all classes, so change default visibility, instead of having EXPORT_SYMBOL on each class*/
        "-fvisibility=default",
    ],
    host_supported: true,
    header_libs: [ "libbluetooth_headers" ],
    srcs: [
        "bluetooth/adapter_state.cc",
        "bluetooth/advertise_data.cc",
        "bluetooth/advertise_settings.cc",
        "bluetooth/characteristic.cc",
        "bluetooth/descriptor.cc",
        "bluetooth/scan_filter.cc",
        "bluetooth/scan_result.cc",
        "bluetooth/scan_settings.cc",
        "bluetooth/service.cc",
        "bluetooth/util/atomic_string.cc",
    ],
    export_include_dirs: ["./"],
    include_dirs: ["system/bt"],
    shared_libs: [
        "libbase",
    ],
}

// Bluetooth Binder shared library
cc_library_static {
    name: "libbluetooth-binder-common",
    defaults: ["fluoride_defaults"],
    cflags: [
        /* we export all classes, so change default visibility, instead of having EXPORT_SYMBOL on each class*/
        "-fvisibility=default",
    ],
    header_libs: [ "libbluetooth_headers" ],
    srcs: [
        "android/bluetooth/IBluetooth.aidl",
        "android/bluetooth/IBluetoothCallback.aidl",
        "android/bluetooth/IBluetoothGattClient.aidl",
        "android/bluetooth/IBluetoothGattClientCallback.aidl",
        "android/bluetooth/IBluetoothGattServer.aidl",
        "android/bluetooth/IBluetoothGattServerCallback.aidl",
        "android/bluetooth/IBluetoothLeAdvertiser.aidl",
        "android/bluetooth/IBluetoothLeAdvertiserCallback.aidl",
        "android/bluetooth/IBluetoothLeScanner.aidl",
        "android/bluetooth/IBluetoothLeScannerCallback.aidl",
        "android/bluetooth/IBluetoothLowEnergy.aidl",
        "android/bluetooth/IBluetoothLowEnergyCallback.aidl",
        "android/bluetooth/advertise_data.cc",
        "android/bluetooth/advertise_settings.cc",
        "android/bluetooth/bluetooth_gatt_characteristic.cc",
        "android/bluetooth/bluetooth_gatt_descriptor.cc",
        "android/bluetooth/bluetooth_gatt_included_service.cc",
        "android/bluetooth/bluetooth_gatt_service.cc",
        "android/bluetooth/scan_filter.cc",
        "android/bluetooth/scan_result.cc",
        "android/bluetooth/scan_settings.cc",
        "android/bluetooth/uuid.cc",
    ],
    aidl: {
        export_aidl_headers: true,
        include_dirs: [
            "frameworks/native/aidl/binder",
            "system/bt/service/common",
        ],
    },
    export_include_dirs: ["./"],
    whole_static_libs: ["libbluetooth-common"],
    shared_libs: [
        "libbase",
        "libbinder",
    ],
    static_libs: [
        "libbluetooth-types",
    ]
}