Merge "Move libnativebridge headers into the module."

am: 508e0b8b34

Change-Id: I9135de5cbda05c9b4b686b0c6dda26c2d561d31e
This commit is contained in:
Steven Moreland 2017-07-06 23:46:57 +00:00 committed by android-build-merger
commit 1921ab7c0e
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 { cc_library {
name: "libnativebridge", name: "libnativebridge",
@ -7,6 +14,8 @@ cc_library {
shared_libs: ["liblog"], shared_libs: ["liblog"],
clang: true, clang: true,
export_include_dirs=["include"],
cflags: [ cflags: [
"-Werror", "-Werror",
"-Wall", "-Wall",
@ -23,4 +32,4 @@ cc_library {
}, },
} }
subdirs = ["tests"] subdirs = ["tests"]

View file

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