platform_system_core/libnativeloader/Android.bp
Colin Cross d4ce20aa84 libnativeloader: convert Android.mk to Android.bp
Change-Id: I94d7cde3138f28bbd158d62b657af8448b4175fd
2016-07-27 10:36:36 -07:00

32 lines
690 B
Text

// Shared library for target
// ========================================================
cc_library {
name: "libnativeloader",
host_supported: true,
srcs: ["native_loader.cpp"],
shared_libs: [
"libnativehelper",
"liblog",
"libcutils",
],
static_libs: ["libbase"],
target: {
android: {
shared_libs: ["libdl"],
},
host: {
host_ldlibs: ["-ldl"],
},
},
clang: true,
cflags: [
"-Werror",
"-Wall",
],
cppflags: [
"-std=gnu++14",
"-fvisibility=hidden",
],
export_include_dirs: ["include"],
local_include_dirs: ["include"],
}