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