1package {
2    // http://go/android-license-faq
3    // A large-scale-change added 'default_applicable_licenses' to import
4    // the below license kinds from "packages_apps_Test_connectivity_license":
5    //   SPDX-license-identifier-Apache-2.0
6    //   SPDX-license-identifier-BSD
7    //   SPDX-license-identifier-MIT
8    default_applicable_licenses: ["packages_apps_Test_connectivity_license"],
9}
10
11cc_binary {
12    name: "sl4n",
13    header_libs: [
14        "libbluetooth_headers",
15    ],
16    include_dirs: [
17        "system/bt",
18    ],
19    local_include_dirs: [
20        "rapidjson/include",
21        "facades",
22    ],
23    srcs: [
24        "facades/bluetooth/bt_binder_facade.cpp",
25        "facades/test/test_facade.cpp",
26        "main.cpp",
27        "utils/command_receiver.cpp",
28        "utils/common_utils.cpp",
29    ],
30    shared_libs: [
31        "libbinder",
32        "libchrome",
33        "libcutils",
34        "libutils",
35        "libwifi-system",
36        "liblog",
37    ],
38    static_libs: [
39        "libbtcore",
40        "libosi",
41        "libnl",
42        "libbluetooth-binder-common",
43        "libbluetooth-types",
44    ],
45    cflags: [
46        "-Wall",
47        "-Werror",
48        "-Wno-unused-parameter",
49        "-Wno-missing-field-initializers",
50        "-Wno-expansion-to-defined",
51    ],
52}
53