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
|
package {
default_applicable_licenses: [
"packages_apps_Test_connectivity_sl4n_license",
"Android-Apache-2.0",
],
}
// http://go/android-license-faq
license {
name: "packages_apps_Test_connectivity_sl4n_license",
package_name: "Scripting Layer For Native",
visibility: [":__subpackages__"],
license_kinds: [
"SPDX-license-identifier-BSD",
"SPDX-license-identifier-MIT",
],
license_text: ["LICENSE"],
}
cc_binary {
name: "sl4n",
header_libs: [
"libbluetooth_headers",
],
include_dirs: [
"packages/modules/Bluetooth/system",
],
local_include_dirs: [
"rapidjson/include",
"facades",
],
srcs: [
"facades/bluetooth/bt_binder_facade.cpp",
"facades/test/test_facade.cpp",
"main.cpp",
"utils/command_receiver.cpp",
"utils/common_utils.cpp",
],
shared_libs: [
"libbinder",
"libchrome",
"libcutils",
"libutils",
"libwifi-system",
"liblog",
],
static_libs: [
"libbtcore",
"libosi",
"libnl",
"libbluetooth-binder-common",
"libbluetooth-types",
],
cflags: [
"-Wall",
"-Werror",
"-Wno-unused-parameter",
"-Wno-missing-field-initializers",
"-Wno-expansion-to-defined",
],
}
|