blob: 59cd0333bc53fc521a60fbb96432fa90ca891e44 [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
Nicolas Geoffrayd9b4d9b2019-01-10 16:27:54 +000020 stubs: {
21 symbol_file: "libnativebridge.map.txt",
22 versions: ["1"],
23 },
24
Elliott Hughesdc699a22018-02-16 17:58:14 -080025 export_include_dirs: ["include"],
Steven Morelandb2b88e32017-06-30 12:46:57 -070026
Dan Willemsen45f05242016-07-12 22:10:56 -070027 cflags: [
28 "-Werror",
29 "-Wall",
30 ],
31 cppflags: [
Dan Willemsen45f05242016-07-12 22:10:56 -070032 "-fvisibility=protected",
33 ],
Dan Willemsen45f05242016-07-12 22:10:56 -070034}
Tomasz Wasilczyke38d3a62017-05-08 15:29:10 -070035
Steven Morelandb2b88e32017-06-30 12:46:57 -070036subdirs = ["tests"]