blob: 13f974424e62b9e247f7a25621a2e69cdf64bbb9 [file] [log] [blame]
Colin Crossd4ce20a2016-07-27 10:36:36 -07001// Shared library for target
2// ========================================================
3cc_library {
4 name: "libnativeloader",
5 host_supported: true,
6 srcs: ["native_loader.cpp"],
7 shared_libs: [
8 "libnativehelper",
9 "liblog",
10 "libcutils",
Zhenhua WANGf2804e52016-05-30 11:16:08 +080011 "libnativebridge",
Jaekyun Seok86e80b92016-12-21 14:22:00 +090012 "libbase",
Colin Crossd4ce20a2016-07-27 10:36:36 -070013 ],
Colin Crossd4ce20a2016-07-27 10:36:36 -070014 target: {
15 android: {
16 shared_libs: ["libdl"],
17 },
18 host: {
19 host_ldlibs: ["-ldl"],
20 },
21 },
Colin Crossd4ce20a2016-07-27 10:36:36 -070022 cflags: [
23 "-Werror",
24 "-Wall",
25 ],
26 cppflags: [
Colin Crossd4ce20a2016-07-27 10:36:36 -070027 "-fvisibility=hidden",
28 ],
29 export_include_dirs: ["include"],
30 local_include_dirs: ["include"],
31}