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"], |
Martin Stjernholm | 53aec48 | 2018-10-22 01:34:56 +0100 | [diff] [blame^] | 13 | header_libs: [ |
| 14 | "libbase_headers", |
| 15 | ], |
Elliott Hughes | dc699a2 | 2018-02-16 17:58:14 -0800 | [diff] [blame] | 16 | shared_libs: [ |
| 17 | "liblog", |
Elliott Hughes | dc699a2 | 2018-02-16 17:58:14 -0800 | [diff] [blame] | 18 | ], |
Dan Willemsen | 45f0524 | 2016-07-12 22:10:56 -0700 | [diff] [blame] | 19 | |
Elliott Hughes | dc699a2 | 2018-02-16 17:58:14 -0800 | [diff] [blame] | 20 | export_include_dirs: ["include"], |
Steven Moreland | b2b88e3 | 2017-06-30 12:46:57 -0700 | [diff] [blame] | 21 | |
Dan Willemsen | 45f0524 | 2016-07-12 22:10:56 -0700 | [diff] [blame] | 22 | cflags: [ |
| 23 | "-Werror", |
| 24 | "-Wall", |
| 25 | ], |
| 26 | cppflags: [ |
Dan Willemsen | 45f0524 | 2016-07-12 22:10:56 -0700 | [diff] [blame] | 27 | "-fvisibility=protected", |
| 28 | ], |
Dan Willemsen | 45f0524 | 2016-07-12 22:10:56 -0700 | [diff] [blame] | 29 | } |
Tomasz Wasilczyk | e38d3a6 | 2017-05-08 15:29:10 -0700 | [diff] [blame] | 30 | |
Steven Moreland | b2b88e3 | 2017-06-30 12:46:57 -0700 | [diff] [blame] | 31 | subdirs = ["tests"] |