blob: 7287dd010370d4d63507d89059c48aa205476d25 [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",
Diwas Sharma2401daf2023-09-01 00:45:24 +000016 "*.proto",
chaviw1d044282017-09-27 12:19:28 -070017 ],
18
19 shared_libs: [
Peiyong Lina52f0292018-03-14 17:26:31 -070020 "android.hardware.graphics.common@1.1",
Evan Rosky1f6d6d52018-12-06 10:47:26 -080021 "libgui",
chaviw1d044282017-09-27 12:19:28 -070022 "libui",
23 "libprotobuf-cpp-lite",
24 "libbase",
25 ],
26
Diwas Sharma2401daf2023-09-01 00:45:24 +000027 proto: {
28 export_proto_headers: true,
29 },
30
chaviw1d044282017-09-27 12:19:28 -070031 cppflags: [
32 "-Werror",
33 "-Wno-unused-parameter",
34 "-Wno-format",
35 "-Wno-c++98-compat-pedantic",
36 "-Wno-float-conversion",
37 "-Wno-disabled-macro-expansion",
38 "-Wno-float-equal",
39 "-Wno-sign-conversion",
40 "-Wno-padded",
41 "-Wno-old-style-cast",
42 "-Wno-undef",
43 ],
Vishnu Nair3242d5f2020-10-06 10:48:32 -070044}
Diwas Sharma2401daf2023-09-01 00:45:24 +000045
46java_library_static {
47 name: "layersprotoslite",
48 host_supported: true,
49 proto: {
50 type: "lite",
51 include_dirs: ["external/protobuf/src"],
52 },
53 srcs: ["*.proto"],
54 sdk_version: "core_platform",
55 target: {
56 android: {
57 jarjar_rules: "jarjar-rules.txt",
58 },
59 host: {
60 static_libs: ["libprotobuf-java-lite"],
61 },
62 },
63}