| Colin Cross | d4ce20a | 2016-07-27 10:36:36 -0700 | [diff] [blame] | 1 | // Shared library for target | 
|  | 2 | // ======================================================== | 
|  | 3 | cc_library { | 
|  | 4 | name: "libnativeloader", | 
|  | 5 | host_supported: true, | 
|  | 6 | srcs: ["native_loader.cpp"], | 
|  | 7 | shared_libs: [ | 
|  | 8 | "libnativehelper", | 
|  | 9 | "liblog", | 
|  | 10 | "libcutils", | 
| Zhenhua WANG | f2804e5 | 2016-05-30 11:16:08 +0800 | [diff] [blame] | 11 | "libnativebridge", | 
| Colin Cross | d4ce20a | 2016-07-27 10:36:36 -0700 | [diff] [blame] | 12 | ], | 
|  | 13 | static_libs: ["libbase"], | 
|  | 14 | 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 Cross | d4ce20a | 2016-07-27 10:36:36 -0700 | [diff] [blame] | 28 | "-fvisibility=hidden", | 
|  | 29 | ], | 
|  | 30 | export_include_dirs: ["include"], | 
|  | 31 | local_include_dirs: ["include"], | 
|  | 32 | } |