2016-07-13 05:10:56 +00:00
|
|
|
|
2017-06-30 19:46:57 +00:00
|
|
|
cc_library_headers {
|
|
|
|
name: "libnativebridge-dummy-headers",
|
|
|
|
|
|
|
|
host_supported: true,
|
|
|
|
export_include_dirs=["include"],
|
|
|
|
}
|
|
|
|
|
2016-07-13 05:10:56 +00:00
|
|
|
cc_library {
|
|
|
|
name: "libnativebridge",
|
|
|
|
|
|
|
|
host_supported: true,
|
|
|
|
srcs: ["native_bridge.cc"],
|
|
|
|
shared_libs: ["liblog"],
|
|
|
|
|
2017-06-30 19:46:57 +00:00
|
|
|
export_include_dirs=["include"],
|
|
|
|
|
2016-07-13 05:10:56 +00:00
|
|
|
cflags: [
|
|
|
|
"-Werror",
|
|
|
|
"-Wall",
|
|
|
|
],
|
|
|
|
cppflags: [
|
|
|
|
"-fvisibility=protected",
|
|
|
|
],
|
|
|
|
|
|
|
|
host_ldlibs: ["-ldl"],
|
|
|
|
target: {
|
|
|
|
android: {
|
|
|
|
shared_libs: ["libdl"],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
}
|
2017-05-08 22:29:10 +00:00
|
|
|
|
2017-06-30 19:46:57 +00:00
|
|
|
subdirs = ["tests"]
|