blob: e2a28a2ae5237c31639a18e9bf87be1013dbf935 [file] [log] [blame]
Vishnu Nairdf6a4f62020-11-11 20:25:34 -08001cc_library {
2 name: "liblayers_proto",
chaviw1d044282017-09-27 12:19:28 -07003 export_include_dirs: ["include"],
4
5 srcs: [
6 "LayerProtoParser.cpp",
7 "layers.proto",
Adrian Roos1e1a1282017-11-01 19:05:31 +01008 "layerstrace.proto",
chaviw1d044282017-09-27 12:19:28 -07009 ],
10
11 shared_libs: [
Peiyong Lina52f0292018-03-14 17:26:31 -070012 "android.hardware.graphics.common@1.1",
Evan Rosky1f6d6d52018-12-06 10:47:26 -080013 "libgui",
chaviw1d044282017-09-27 12:19:28 -070014 "libui",
15 "libprotobuf-cpp-lite",
16 "libbase",
17 ],
18
19 proto: {
20 export_proto_headers: true,
21 },
Vishnu Nairdf6a4f62020-11-11 20:25:34 -080022
chaviw1d044282017-09-27 12:19:28 -070023 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 ],
Vishnu Nair3242d5f2020-10-06 10:48:32 -070036}
chaviw1d044282017-09-27 12:19:28 -070037
Vishnu Nairfcf2c7b2018-02-26 11:37:14 -080038java_library_static {
39 name: "layersprotosnano",
40 host_supported: true,
41 proto: {
42 type: "nano",
43 },
44 srcs: ["*.proto"],
Paul Duffind9792892019-06-12 13:46:50 +010045 sdk_version: "core_platform",
Vishnu Nairfcf2c7b2018-02-26 11:37:14 -080046 target: {
47 android: {
48 jarjar_rules: "jarjar-rules.txt",
49 },
50 host: {
51 static_libs: ["libprotobuf-java-nano"],
52 },
53 },
54}