upload android base code part6

This commit is contained in:
August 2018-08-08 17:48:24 +08:00
parent 421e214c7d
commit 4e516ec6ed
35396 changed files with 9188716 additions and 0 deletions

View file

@ -0,0 +1,35 @@
cc_library_headers {
name: "libnativebridge-dummy-headers",
host_supported: true,
export_include_dirs=["include"],
}
cc_library {
name: "libnativebridge",
host_supported: true,
srcs: ["native_bridge.cc"],
shared_libs: ["liblog"],
clang: true,
export_include_dirs=["include"],
cflags: [
"-Werror",
"-Wall",
],
cppflags: [
"-fvisibility=protected",
],
host_ldlibs: ["-ldl"],
target: {
android: {
shared_libs: ["libdl"],
},
},
}
subdirs = ["tests"]