blob: b3c42f07251c7e4f680908dbe4ff19dfe359d237 [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"],
dimitryb6ba8172017-08-23 10:25:22 +020014 shared_libs: ["liblog", "libbase"],
Dan Willemsen45f05242016-07-12 22:10:56 -070015
Steven Morelandb2b88e32017-06-30 12:46:57 -070016 export_include_dirs=["include"],
17
Dan Willemsen45f05242016-07-12 22:10:56 -070018 cflags: [
19 "-Werror",
20 "-Wall",
21 ],
22 cppflags: [
Dan Willemsen45f05242016-07-12 22:10:56 -070023 "-fvisibility=protected",
24 ],
25
26 host_ldlibs: ["-ldl"],
27 target: {
28 android: {
29 shared_libs: ["libdl"],
30 },
31 },
32}
Tomasz Wasilczyke38d3a62017-05-08 15:29:10 -070033
Steven Morelandb2b88e32017-06-30 12:46:57 -070034subdirs = ["tests"]