blob: 92fd2a2f5a692b2b4f1cd0e31b4e1a566f1a4267 [file] [log] [blame]
Steven Morelandb2b88e32017-06-30 12:46:57 -07001cc_library_headers {
2 name: "libnativebridge-dummy-headers",
3
4 host_supported: true,
Elliott Hughesdc699a22018-02-16 17:58:14 -08005 export_include_dirs: ["include"],
Steven Morelandb2b88e32017-06-30 12:46:57 -07006}
7
Dan Willemsen45f05242016-07-12 22:10:56 -07008cc_library {
9 name: "libnativebridge",
10
11 host_supported: true,
12 srcs: ["native_bridge.cc"],
Martin Stjernholm53aec482018-10-22 01:34:56 +010013 header_libs: [
14 "libbase_headers",
15 ],
Elliott Hughesdc699a22018-02-16 17:58:14 -080016 shared_libs: [
17 "liblog",
Elliott Hughesdc699a22018-02-16 17:58:14 -080018 ],
Dan Willemsen45f05242016-07-12 22:10:56 -070019
Elliott Hughesdc699a22018-02-16 17:58:14 -080020 export_include_dirs: ["include"],
Steven Morelandb2b88e32017-06-30 12:46:57 -070021
Dan Willemsen45f05242016-07-12 22:10:56 -070022 cflags: [
23 "-Werror",
24 "-Wall",
25 ],
26 cppflags: [
Dan Willemsen45f05242016-07-12 22:10:56 -070027 "-fvisibility=protected",
28 ],
Dan Willemsen45f05242016-07-12 22:10:56 -070029}
Tomasz Wasilczyke38d3a62017-05-08 15:29:10 -070030
Steven Morelandb2b88e32017-06-30 12:46:57 -070031subdirs = ["tests"]