blob: f77b137e4dc2fe7846d43c5c8c3546babf99f6a9 [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"],
John Reck38bc8a82024-02-21 17:08:27 -05008 default_team: "trendy_team_android_core_graphics_stack",
Bob Badour3306e492021-02-25 15:35:37 -08009}
10
Vishnu Nairdf6a4f62020-11-11 20:25:34 -080011cc_library {
12 name: "liblayers_proto",
chaviw1d044282017-09-27 12:19:28 -070013 export_include_dirs: ["include"],
14
15 srcs: [
16 "LayerProtoParser.cpp",
Kean Mariotti4ba343c2023-04-19 13:31:02 +000017 ],
18
19 static_libs: [
20 "libperfetto_client_experimental",
21 ],
22
23 whole_static_libs: [
24 // TODO(b/169779783): move into "static_libs" when the soong issue is fixed
25 "perfetto_trace_protos",
26 ],
27
28 export_static_lib_headers: [
29 "libperfetto_client_experimental",
30 "perfetto_trace_protos",
chaviw1d044282017-09-27 12:19:28 -070031 ],
32
33 shared_libs: [
Peiyong Lina52f0292018-03-14 17:26:31 -070034 "android.hardware.graphics.common@1.1",
Evan Rosky1f6d6d52018-12-06 10:47:26 -080035 "libgui",
chaviw1d044282017-09-27 12:19:28 -070036 "libui",
37 "libprotobuf-cpp-lite",
38 "libbase",
39 ],
40
chaviw1d044282017-09-27 12:19:28 -070041 cppflags: [
42 "-Werror",
43 "-Wno-unused-parameter",
44 "-Wno-format",
45 "-Wno-c++98-compat-pedantic",
46 "-Wno-float-conversion",
47 "-Wno-disabled-macro-expansion",
48 "-Wno-float-equal",
49 "-Wno-sign-conversion",
50 "-Wno-padded",
51 "-Wno-old-style-cast",
52 "-Wno-undef",
53 ],
Vishnu Nair3242d5f2020-10-06 10:48:32 -070054}