53aec482aa
This code only uses android-base/macros.h. Bug: 118374951 Test: mmma system/core/libnativebridge && for f in out/host/linux-x86/nativetest{,64}/*/*; do $f; done Change-Id: Ifa5a5a3c9370bd128ddd301ea352746699715929
31 lines
507 B
Text
31 lines
507 B
Text
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"],
|
|
header_libs: [
|
|
"libbase_headers",
|
|
],
|
|
shared_libs: [
|
|
"liblog",
|
|
],
|
|
|
|
export_include_dirs: ["include"],
|
|
|
|
cflags: [
|
|
"-Werror",
|
|
"-Wall",
|
|
],
|
|
cppflags: [
|
|
"-fvisibility=protected",
|
|
],
|
|
}
|
|
|
|
subdirs = ["tests"]
|