blob: 6e63b74c60b6b56ec146433160a6033f2d54bec6 [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"],
Elliott Hughesdc699a22018-02-16 17:58:14 -080013 shared_libs: [
14 "liblog",
15 "libbase",
16 ],
Dan Willemsen45f05242016-07-12 22:10:56 -070017
Elliott Hughesdc699a22018-02-16 17:58:14 -080018 export_include_dirs: ["include"],
Steven Morelandb2b88e32017-06-30 12:46:57 -070019
Dan Willemsen45f05242016-07-12 22:10:56 -070020 cflags: [
21 "-Werror",
22 "-Wall",
23 ],
24 cppflags: [
Dan Willemsen45f05242016-07-12 22:10:56 -070025 "-fvisibility=protected",
26 ],
Dan Willemsen45f05242016-07-12 22:10:56 -070027}
Tomasz Wasilczyke38d3a62017-05-08 15:29:10 -070028
Steven Morelandb2b88e32017-06-30 12:46:57 -070029subdirs = ["tests"]