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", |
| 9 | ], |
| 10 | |
| 11 | shared_libs: [ |
| 12 | "libui", |
| 13 | "libprotobuf-cpp-lite", |
| 14 | "libbase", |
| 15 | ], |
| 16 | |
| 17 | proto: { |
| 18 | export_proto_headers: true, |
| 19 | }, |
| 20 | |
| 21 | cppflags: [ |
| 22 | "-Werror", |
| 23 | "-Wno-unused-parameter", |
| 24 | "-Wno-format", |
| 25 | "-Wno-c++98-compat-pedantic", |
| 26 | "-Wno-float-conversion", |
| 27 | "-Wno-disabled-macro-expansion", |
| 28 | "-Wno-float-equal", |
| 29 | "-Wno-sign-conversion", |
| 30 | "-Wno-padded", |
| 31 | "-Wno-old-style-cast", |
| 32 | "-Wno-undef", |
| 33 | ], |
| 34 | |
| 35 | } |