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: [ |
Peiyong Lin | a52f029 | 2018-03-14 17:26:31 -0700 | [diff] [blame] | 13 | "android.hardware.graphics.common@1.1", |
chaviw | 1d04428 | 2017-09-27 12:19:28 -0700 | [diff] [blame] | 14 | "libui", |
| 15 | "libprotobuf-cpp-lite", |
| 16 | "libbase", |
| 17 | ], |
| 18 | |
| 19 | proto: { |
| 20 | export_proto_headers: true, |
| 21 | }, |
| 22 | |
| 23 | cppflags: [ |
| 24 | "-Werror", |
| 25 | "-Wno-unused-parameter", |
| 26 | "-Wno-format", |
| 27 | "-Wno-c++98-compat-pedantic", |
| 28 | "-Wno-float-conversion", |
| 29 | "-Wno-disabled-macro-expansion", |
| 30 | "-Wno-float-equal", |
| 31 | "-Wno-sign-conversion", |
| 32 | "-Wno-padded", |
| 33 | "-Wno-old-style-cast", |
| 34 | "-Wno-undef", |
| 35 | ], |
| 36 | |
Vishnu Nair | fcf2c7b | 2018-02-26 11:37:14 -0800 | [diff] [blame] | 37 | } |
| 38 | |
| 39 | java_library_static { |
| 40 | name: "layersprotosnano", |
| 41 | host_supported: true, |
| 42 | proto: { |
| 43 | type: "nano", |
| 44 | }, |
| 45 | srcs: ["*.proto"], |
Paul Duffin | d979289 | 2019-06-12 13:46:50 +0100 | [diff] [blame^] | 46 | sdk_version: "core_platform", |
Vishnu Nair | fcf2c7b | 2018-02-26 11:37:14 -0800 | [diff] [blame] | 47 | target: { |
| 48 | android: { |
| 49 | jarjar_rules: "jarjar-rules.txt", |
| 50 | }, |
| 51 | host: { |
| 52 | static_libs: ["libprotobuf-java-nano"], |
| 53 | }, |
| 54 | }, |
| 55 | } |