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