chaviw | 1d04428 | 2017-09-27 12:19:28 -0700 | [diff] [blame] | 1 | cc_library_shared { |
| 2 | name: "liblayers_proto", |
| 3 | vendor_available: true, |
| 4 | export_include_dirs: ["include"], |
| 5 | |
| 6 | srcs: [ |
| 7 | "LayerProtoParser.cpp", |
| 8 | "layers.proto", |
Adrian Roos | 1e1a128 | 2017-11-01 19:05:31 +0100 | [diff] [blame] | 9 | "layerstrace.proto", |
chaviw | 1d04428 | 2017-09-27 12:19:28 -0700 | [diff] [blame] | 10 | ], |
| 11 | |
| 12 | shared_libs: [ |
| 13 | "libui", |
| 14 | "libprotobuf-cpp-lite", |
| 15 | "libbase", |
| 16 | ], |
| 17 | |
| 18 | proto: { |
| 19 | export_proto_headers: true, |
| 20 | }, |
| 21 | |
| 22 | cppflags: [ |
| 23 | "-Werror", |
| 24 | "-Wno-unused-parameter", |
| 25 | "-Wno-format", |
| 26 | "-Wno-c++98-compat-pedantic", |
| 27 | "-Wno-float-conversion", |
| 28 | "-Wno-disabled-macro-expansion", |
| 29 | "-Wno-float-equal", |
| 30 | "-Wno-sign-conversion", |
| 31 | "-Wno-padded", |
| 32 | "-Wno-old-style-cast", |
| 33 | "-Wno-undef", |
| 34 | ], |
| 35 | |
Chih-hung Hsieh | 9da3732 | 2018-02-26 23:17:53 +0000 | [diff] [blame] | 36 | } |