blob: 13f974424e62b9e247f7a25621a2e69cdf64bbb9 [file] [log] [blame]
// 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"],
}