blob: a5f0142055c023d431a657c488c3ec5700f310bc [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
dimitryb1197e92019-01-15 14:34:29 +010020 version_script: "libnativebridge.map.txt",
Nicolas Geoffrayd9b4d9b2019-01-10 16:27:54 +000021 stubs: {
22 symbol_file: "libnativebridge.map.txt",
23 versions: ["1"],
24 },
25
Elliott Hughesdc699a22018-02-16 17:58:14 -080026 export_include_dirs: ["include"],
Steven Morelandb2b88e32017-06-30 12:46:57 -070027
Dan Willemsen45f05242016-07-12 22:10:56 -070028 cflags: [
29 "-Werror",
30 "-Wall",
31 ],
32 cppflags: [
Dan Willemsen45f05242016-07-12 22:10:56 -070033 "-fvisibility=protected",
34 ],
Dan Willemsen45f05242016-07-12 22:10:56 -070035}
Tomasz Wasilczyke38d3a62017-05-08 15:29:10 -070036
Steven Morelandb2b88e32017-06-30 12:46:57 -070037subdirs = ["tests"]