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 | |
Chih-Hung Hsieh | 94574f2 | 2018-02-07 21:14:19 -0800 | [diff] [blame^] | 12 | arch: { |
| 13 | arm: { |
| 14 | instruction_set: "arm", |
| 15 | }, |
| 16 | }, |
| 17 | |
chaviw | 1d04428 | 2017-09-27 12:19:28 -0700 | [diff] [blame] | 18 | shared_libs: [ |
| 19 | "libui", |
| 20 | "libprotobuf-cpp-lite", |
| 21 | "libbase", |
| 22 | ], |
| 23 | |
| 24 | proto: { |
| 25 | export_proto_headers: true, |
| 26 | }, |
| 27 | |
| 28 | cppflags: [ |
| 29 | "-Werror", |
| 30 | "-Wno-unused-parameter", |
| 31 | "-Wno-format", |
| 32 | "-Wno-c++98-compat-pedantic", |
| 33 | "-Wno-float-conversion", |
| 34 | "-Wno-disabled-macro-expansion", |
| 35 | "-Wno-float-equal", |
| 36 | "-Wno-sign-conversion", |
| 37 | "-Wno-padded", |
| 38 | "-Wno-old-style-cast", |
| 39 | "-Wno-undef", |
| 40 | ], |
| 41 | |
Chih-Hung Hsieh | 94574f2 | 2018-02-07 21:14:19 -0800 | [diff] [blame^] | 42 | } |