Steven Moreland | b2b88e3 | 2017-06-30 12:46:57 -0700 | [diff] [blame] | 1 | cc_library_headers { |
| 2 | name: "libnativebridge-dummy-headers", |
| 3 | |
| 4 | host_supported: true, |
Elliott Hughes | dc699a2 | 2018-02-16 17:58:14 -0800 | [diff] [blame] | 5 | export_include_dirs: ["include"], |
Steven Moreland | b2b88e3 | 2017-06-30 12:46:57 -0700 | [diff] [blame] | 6 | } |
| 7 | |
Dan Willemsen | 45f0524 | 2016-07-12 22:10:56 -0700 | [diff] [blame] | 8 | cc_library { |
| 9 | name: "libnativebridge", |
| 10 | |
| 11 | host_supported: true, |
| 12 | srcs: ["native_bridge.cc"], |
Elliott Hughes | dc699a2 | 2018-02-16 17:58:14 -0800 | [diff] [blame] | 13 | shared_libs: [ |
| 14 | "liblog", |
| 15 | "libbase", |
| 16 | ], |
Dan Willemsen | 45f0524 | 2016-07-12 22:10:56 -0700 | [diff] [blame] | 17 | |
Elliott Hughes | dc699a2 | 2018-02-16 17:58:14 -0800 | [diff] [blame] | 18 | export_include_dirs: ["include"], |
Steven Moreland | b2b88e3 | 2017-06-30 12:46:57 -0700 | [diff] [blame] | 19 | |
Dan Willemsen | 45f0524 | 2016-07-12 22:10:56 -0700 | [diff] [blame] | 20 | cflags: [ |
| 21 | "-Werror", |
| 22 | "-Wall", |
| 23 | ], |
| 24 | cppflags: [ |
Dan Willemsen | 45f0524 | 2016-07-12 22:10:56 -0700 | [diff] [blame] | 25 | "-fvisibility=protected", |
| 26 | ], |
Dan Willemsen | 45f0524 | 2016-07-12 22:10:56 -0700 | [diff] [blame] | 27 | } |
Tomasz Wasilczyk | e38d3a6 | 2017-05-08 15:29:10 -0700 | [diff] [blame] | 28 | |
Steven Moreland | b2b88e3 | 2017-06-30 12:46:57 -0700 | [diff] [blame] | 29 | subdirs = ["tests"] |