blob: 485090c7781bc5e4979ee90d101987ab8e7fabaf [file] [log] [blame]
chaviw1d044282017-09-27 12:19:28 -07001cc_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 Roos1e1a1282017-11-01 19:05:31 +01009 "layerstrace.proto",
chaviw1d044282017-09-27 12:19:28 -070010 ],
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
Vishnu Nairfcf2c7b2018-02-26 11:37:14 -080036}
37
38java_library_static {
39 name: "layersprotosnano",
40 host_supported: true,
41 proto: {
42 type: "nano",
43 },
44 srcs: ["*.proto"],
45 no_framework_libs: true,
46 target: {
47 android: {
48 jarjar_rules: "jarjar-rules.txt",
49 },
50 host: {
51 static_libs: ["libprotobuf-java-nano"],
52 },
53 },
54}