Merge "Move libnativebridge headers into the module."

This commit is contained in:
Treehugger Robot 2017-07-06 23:36:34 +00:00 committed by Gerrit Code Review
commit 508e0b8b34
3 changed files with 11 additions and 1 deletions

View File

@ -1,4 +1,11 @@
cc_library_headers {
name: "libnativebridge-dummy-headers",
host_supported: true,
export_include_dirs=["include"],
}
cc_library {
name: "libnativebridge",
@ -7,6 +14,8 @@ cc_library {
shared_libs: ["liblog"],
clang: true,
export_include_dirs=["include"],
cflags: [
"-Werror",
"-Wall",
@ -23,4 +32,4 @@ cc_library {
},
}
subdirs = ["tests"]
subdirs = ["tests"]

View File

@ -23,6 +23,7 @@ cc_defaults {
"-Wextra",
"-Werror",
],
header_libs: ["libnativebridge-dummy-headers"],
cppflags: ["-fvisibility=protected"],
target: {
android: {