blob: 1cea4cd39912d72db8388a14543c62bcda4c1128 [file] [log] [blame]
Dan Willemsen45f05242016-07-12 22:10:56 -07001
Steven Morelandb2b88e32017-06-30 12:46:57 -07002cc_library_headers {
3 name: "libnativebridge-dummy-headers",
4
5 host_supported: true,
6 export_include_dirs=["include"],
7}
8
Dan Willemsen45f05242016-07-12 22:10:56 -07009cc_library {
10 name: "libnativebridge",
11
12 host_supported: true,
13 srcs: ["native_bridge.cc"],
14 shared_libs: ["liblog"],
15 clang: true,
16
Steven Morelandb2b88e32017-06-30 12:46:57 -070017 export_include_dirs=["include"],
18
Dan Willemsen45f05242016-07-12 22:10:56 -070019 cflags: [
20 "-Werror",
21 "-Wall",
22 ],
23 cppflags: [
Dan Willemsen45f05242016-07-12 22:10:56 -070024 "-fvisibility=protected",
25 ],
26
27 host_ldlibs: ["-ldl"],
28 target: {
29 android: {
30 shared_libs: ["libdl"],
31 },
32 },
33}
Tomasz Wasilczyke38d3a62017-05-08 15:29:10 -070034
Steven Morelandb2b88e32017-06-30 12:46:57 -070035subdirs = ["tests"]