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",
chaviw0a398992021-08-13 10:13:01 -050016 "*.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
27 proto: {
28 export_proto_headers: true,
29 },
Vishnu Nairdf6a4f62020-11-11 20:25:34 -080030
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}
chaviw1d044282017-09-27 12:19:28 -070045
Vishnu Nairfcf2c7b2018-02-26 11:37:14 -080046java_library_static {
Nataniel Borges5ae265b2022-07-16 16:17:20 +000047 name: "layersprotoslite",
Vishnu Nairfcf2c7b2018-02-26 11:37:14 -080048 host_supported: true,
49 proto: {
Nataniel Borges5ae265b2022-07-16 16:17:20 +000050 type: "lite",
51 include_dirs: ["external/protobuf/src"],
Vishnu Nairfcf2c7b2018-02-26 11:37:14 -080052 },
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: {
Nataniel Borges5ae265b2022-07-16 16:17:20 +000060 static_libs: ["libprotobuf-java-lite"],
Vishnu Nairfcf2c7b2018-02-26 11:37:14 -080061 },
62 },
63}