platform_system_core/libvndksupport/Android.bp
dimitry 15f8ce36e2 Enable native_bridge_support for libvndksupport
Android build system added support for building translated binaries
used on natively bridged targets (arm on x86 for example).

However in order to avoid building unnecessary binaries and libraries
for such architectures most modules do not support native bridge by default.

All needed modules have to explicitly indicate if they may be used as part
of translated binary build.

This change enabled native bridge support for libvndksupport
a dependency of libutils greylisted library (available for apps
targeting Android version < N).

Bug: http://b/77159578
Test: make
Change-Id: I8186718c5efee25261a9946ffb52df5f675bec26
2019-05-16 14:20:31 +02:00

29 lines
638 B
Text

subdirs = ["tests"]
cc_library {
name: "libvndksupport",
native_bridge_supported: true,
srcs: ["linker.c"],
cflags: [
"-Wall",
"-Werror",
],
local_include_dirs: ["include/vndksupport"],
export_include_dirs: ["include"],
shared_libs: [
"libdl_android",
"liblog",
],
version_script: "libvndksupport.map.txt",
stubs: {
symbol_file: "libvndksupport.map.txt",
versions: ["29"],
},
}
llndk_library {
name: "libvndksupport",
native_bridge_supported: true,
symbol_file: "libvndksupport.map.txt",
export_include_dirs: ["include"],
}