blob: 172f5acdef2367de8575dc99f1a87351047bf5df [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: [
Peiyong Lina52f0292018-03-14 17:26:31 -070013 "android.hardware.graphics.common@1.1",
chaviw1d044282017-09-27 12:19:28 -070014 "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 Nairfcf2c7b2018-02-26 11:37:14 -080037}
38
39java_library_static {
40 name: "layersprotosnano",
41 host_supported: true,
42 proto: {
43 type: "nano",
44 },
45 srcs: ["*.proto"],
Paul Duffind9792892019-06-12 13:46:50 +010046 sdk_version: "core_platform",
Vishnu Nairfcf2c7b2018-02-26 11:37:14 -080047 target: {
48 android: {
49 jarjar_rules: "jarjar-rules.txt",
50 },
51 host: {
52 static_libs: ["libprotobuf-java-nano"],
53 },
54 },
55}