blob: c54570ee62c807f007c0987c3318e7f89eeb5614 [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
dimitry8c934c72019-01-15 17:38:39 +010020 target: {
21 android: {
22 version_script: "libnativebridge.map.txt",
23 },
24 linux: {
25 version_script: "libnativebridge.map.txt",
26 },
27 },
28
Nicolas Geoffrayd9b4d9b2019-01-10 16:27:54 +000029 stubs: {
30 symbol_file: "libnativebridge.map.txt",
31 versions: ["1"],
32 },
33
Elliott Hughesdc699a22018-02-16 17:58:14 -080034 export_include_dirs: ["include"],
Steven Morelandb2b88e32017-06-30 12:46:57 -070035
Dan Willemsen45f05242016-07-12 22:10:56 -070036 cflags: [
37 "-Werror",
38 "-Wall",
39 ],
40 cppflags: [
Dan Willemsen45f05242016-07-12 22:10:56 -070041 "-fvisibility=protected",
42 ],
Dan Willemsen45f05242016-07-12 22:10:56 -070043}
Tomasz Wasilczyke38d3a62017-05-08 15:29:10 -070044
Steven Morelandb2b88e32017-06-30 12:46:57 -070045subdirs = ["tests"]