aboutsummaryrefslogtreecommitdiff
path: root/test/headless/Android.bp
blob: f7c4bd6bffa496e4cb392edd4a763b15cdb8042a (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
cc_test {
    name: "bt_headless",
    test_suites: ["device-tests"],
    defaults: ["fluoride_defaults"],
    srcs: [
        "connect/connect.cc",
        "get_options.cc",
        "headless.cc",
        "main.cc",
        "pairing/pairing.cc",
        "dumpsys/dumpsys.cc",
        "sdp/sdp.cc",
        "sdp/sdp_db.cc",
        "nop/nop.cc",
        "read/read.cc",
        "read/name.cc",
    ],
    include_dirs: [
        "system/bt",
        "system/bt/gd",
        "system/bt/stack/include",
    ],
    whole_static_libs: [
        "libbtcore",
    ],
    static_libs: [
        "libFraunhoferAAC",
        "libbluetooth_gd",
        "libbt-bta",
        "libbt-common",
        "libbt-hci",
        "libbt-protos-lite",
        "libbt-sbc-decoder",
        "libbt-sbc-encoder",
        "libbt-stack",
        "libbt-utils",
        "libbtdevice",
        "libbte",
        "libbtif",
        "libflatbuffers-cpp",
        "libg722codec",
        "libosi",
        "libprotobuf-cpp-lite",
        "libudrv-uipc",
        "libz",
        "libbluetooth_rust_interop",
        "libbt_shim_ffi",
        "libcxxbridge05",
    ],
    shared_libs: [
        "android.hardware.bluetooth.a2dp@1.0",
        "android.hardware.bluetooth.audio@2.0",
        "android.hardware.bluetooth@1.0",
        "android.hardware.bluetooth@1.1",
        "libaaudio",
        "libbase",
        "libcrypto",
        "libcutils",  // property_get_bool
        "libfmq",
        "libhidlbase",
        "libjsoncpp",
        "liblog",  // __android_log_print
        "libprocessgroup",
        "libtinyxml2",
        "libutils",
    ],
    ldflags: ["-rdynamic"],
    sanitize: {
      cfi: false,
    },
}