aboutsummaryrefslogtreecommitdiff
path: root/test/suite/Android.bp
blob: 1d919edcdd4632ed0c2b1beeae27d985e94882e2 (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
// Bluetooth test suite for target
// ========================================================
cc_test {
    name: "net_test_bluetooth",
    test_suites: ["device-tests"],
    defaults: ["fluoride_defaults"],
    include_dirs: ["system/bt"],
    srcs: [
        "adapter/adapter_unittest.cc",
        "adapter/bluetooth_test.cc",
        "gatt/gatt_test.cc",
        "gatt/gatt_unittest.cc",
    ],
    header_libs: ["libhardware_headers"],
    shared_libs: [
        "liblog",
        "libcutils",
        "libbinder",
        "libutils",
    ],
    static_libs: [
        "libbtcore",
        "libosi",
    ],
    whole_static_libs: [
        "libbluetoothtbd_hal",
    ],
}

// Bluetooth test suite for target
// ========================================================
cc_test {
    name: "net_test_rfcomm_suite",
    defaults: ["fluoride_defaults"],
    include_dirs: ["system/bt"],
    srcs: [
        "adapter/bluetooth_test.cc",
        "rfcomm/rfcomm_test.cc",
        "rfcomm/rfcomm_unittest.cc",
    ],
    header_libs: ["libhardware_headers"],
    shared_libs: [
        "liblog",
        "libcutils",
        "libbinder",
        "libutils",
    ],
    static_libs: [
        "libbtcore",
        "libosi",
    ],
    whole_static_libs: [
        "libbluetoothtbd_hal",
    ],
}