blob: c1133fbc17569d10a7feecab6ee3ac7a85d773ef [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 },
22 clang: true,
23 cflags: [
24 "-Werror",
25 "-Wall",
26 ],
27 cppflags: [
Colin Crossd4ce20a2016-07-27 10:36:36 -070028 "-fvisibility=hidden",
29 ],
30 export_include_dirs: ["include"],
31 local_include_dirs: ["include"],
32}