clang is the default compiler since Android nougat Test: mma & verified it´s still build with clang Change-Id: I34adaeef2f6558a09f26027271222bad94780507 Signed-off-by: Lennart Wieboldt <lennart.1997@gmx.de>
31 lines
665 B
Text
31 lines
665 B
Text
// Shared library for target
|
|
// ========================================================
|
|
cc_library {
|
|
name: "libnativeloader",
|
|
host_supported: true,
|
|
srcs: ["native_loader.cpp"],
|
|
shared_libs: [
|
|
"libnativehelper",
|
|
"liblog",
|
|
"libcutils",
|
|
"libnativebridge",
|
|
"libbase",
|
|
],
|
|
target: {
|
|
android: {
|
|
shared_libs: ["libdl"],
|
|
},
|
|
host: {
|
|
host_ldlibs: ["-ldl"],
|
|
},
|
|
},
|
|
cflags: [
|
|
"-Werror",
|
|
"-Wall",
|
|
],
|
|
cppflags: [
|
|
"-fvisibility=hidden",
|
|
],
|
|
export_include_dirs: ["include"],
|
|
local_include_dirs: ["include"],
|
|
}
|