2016-07-28 01:36:36 +08:00
|
|
|
// Shared library for target
|
|
|
|
// ========================================================
|
|
|
|
cc_library {
|
|
|
|
name: "libnativeloader",
|
|
|
|
host_supported: true,
|
|
|
|
srcs: ["native_loader.cpp"],
|
|
|
|
shared_libs: [
|
|
|
|
"libnativehelper",
|
|
|
|
"liblog",
|
|
|
|
"libcutils",
|
2016-05-30 11:16:08 +08:00
|
|
|
"libnativebridge",
|
2016-12-21 13:22:00 +08:00
|
|
|
"libbase",
|
2016-07-28 01:36:36 +08:00
|
|
|
],
|
|
|
|
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"],
|
|
|
|
}
|