android_system_core/libnativebridge/Android.bp
dimitry b1197e9bf7 Actually apply version script to libnativebridge
This way the list of exported symbols will be limited by symbols
that need to be exported.

Test: make
Change-Id: Iffc8e0b3b589e78f5d213f75971a54b473760c94
2019-01-15 14:34:29 +01:00

37 lines
648 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",
],
version_script: "libnativebridge.map.txt",
stubs: {
symbol_file: "libnativebridge.map.txt",
versions: ["1"],
},
export_include_dirs: ["include"],
cflags: [
"-Werror",
"-Wall",
],
cppflags: [
"-fvisibility=protected",
],
}
subdirs = ["tests"]