Dan Willemsen | 45f0524 | 2016-07-12 22:10:56 -0700 | [diff] [blame] | 1 | |
2 | cc_library { | ||||
3 | name: "libnativebridge", | ||||
4 | |||||
5 | host_supported: true, | ||||
6 | srcs: ["native_bridge.cc"], | ||||
7 | shared_libs: ["liblog"], | ||||
8 | clang: true, | ||||
9 | |||||
10 | cflags: [ | ||||
11 | "-Werror", | ||||
12 | "-Wall", | ||||
13 | ], | ||||
14 | cppflags: [ | ||||
Dan Willemsen | 45f0524 | 2016-07-12 22:10:56 -0700 | [diff] [blame] | 15 | "-fvisibility=protected", |
16 | ], | ||||
17 | |||||
18 | host_ldlibs: ["-ldl"], | ||||
19 | target: { | ||||
20 | android: { | ||||
21 | shared_libs: ["libdl"], | ||||
22 | }, | ||||
23 | }, | ||||
24 | } |