blob: c8a2b5eed6012e65ad986bd8529ade36ce7047c1 [file] [log] [blame]
Bob Badour3306e492021-02-25 15:35:37 -08001package {
2 // See: http://go/android-license-faq
3 // A large-scale-change added 'default_applicable_licenses' to import
4 // all of the 'license_kinds' from "frameworks_native_license"
5 // to get the below license kinds:
6 // SPDX-license-identifier-Apache-2.0
7 default_applicable_licenses: ["frameworks_native_license"],
8}
9
Vishnu Nairdf6a4f62020-11-11 20:25:34 -080010cc_library {
11 name: "liblayers_proto",
chaviw1d044282017-09-27 12:19:28 -070012 export_include_dirs: ["include"],
13
14 srcs: [
15 "LayerProtoParser.cpp",
16 "layers.proto",
Adrian Roos1e1a1282017-11-01 19:05:31 +010017 "layerstrace.proto",
chaviw1d044282017-09-27 12:19:28 -070018 ],
19
20 shared_libs: [
Peiyong Lina52f0292018-03-14 17:26:31 -070021 "android.hardware.graphics.common@1.1",
Evan Rosky1f6d6d52018-12-06 10:47:26 -080022 "libgui",
chaviw1d044282017-09-27 12:19:28 -070023 "libui",
24 "libprotobuf-cpp-lite",
25 "libbase",
26 ],
27
28 proto: {
29 export_proto_headers: true,
30 },
Vishnu Nairdf6a4f62020-11-11 20:25:34 -080031
chaviw1d044282017-09-27 12:19:28 -070032 cppflags: [
33 "-Werror",
34 "-Wno-unused-parameter",
35 "-Wno-format",
36 "-Wno-c++98-compat-pedantic",
37 "-Wno-float-conversion",
38 "-Wno-disabled-macro-expansion",
39 "-Wno-float-equal",
40 "-Wno-sign-conversion",
41 "-Wno-padded",
42 "-Wno-old-style-cast",
43 "-Wno-undef",
44 ],
Vishnu Nair3242d5f2020-10-06 10:48:32 -070045}
chaviw1d044282017-09-27 12:19:28 -070046
Vishnu Nairfcf2c7b2018-02-26 11:37:14 -080047java_library_static {
48 name: "layersprotosnano",
49 host_supported: true,
50 proto: {
51 type: "nano",
52 },
53 srcs: ["*.proto"],
Paul Duffind9792892019-06-12 13:46:50 +010054 sdk_version: "core_platform",
Vishnu Nairfcf2c7b2018-02-26 11:37:14 -080055 target: {
56 android: {
57 jarjar_rules: "jarjar-rules.txt",
58 },
59 host: {
60 static_libs: ["libprotobuf-java-nano"],
61 },
62 },
63}