platform_system_core/libnativebridge/Android.bp
Nicolas Geoffray d9b4d9b16a Make the native bridge API a C API.
In order to move the library into the runtime APEX.

Test: m and boot
Bug: 119840313
Bug: 122710865
Change-Id: I4aac5954d2fb5f9e3ba92e486d69f1e76614df92
2019-01-14 09:13:30 +00:00

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