blob: 30531bcbde3b3a97a1746a5e3e3cb57f61a6b1ed [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",
11 ],
12 static_libs: ["libbase"],
13 target: {
14 android: {
15 shared_libs: ["libdl"],
16 },
17 host: {
18 host_ldlibs: ["-ldl"],
19 },
20 },
21 clang: true,
22 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}