blob: a4dc8a058ee80656d43977063636ca25cf7baa15 [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",
Kean Mariotti4ba343c2023-04-19 13:31:02 +000016 ],
17
18 static_libs: [
19 "libperfetto_client_experimental",
20 ],
21
22 whole_static_libs: [
23 // TODO(b/169779783): move into "static_libs" when the soong issue is fixed
24 "perfetto_trace_protos",
25 ],
26
27 export_static_lib_headers: [
28 "libperfetto_client_experimental",
29 "perfetto_trace_protos",
chaviw1d044282017-09-27 12:19:28 -070030 ],
31
32 shared_libs: [
Peiyong Lina52f0292018-03-14 17:26:31 -070033 "android.hardware.graphics.common@1.1",
Evan Rosky1f6d6d52018-12-06 10:47:26 -080034 "libgui",
chaviw1d044282017-09-27 12:19:28 -070035 "libui",
36 "libprotobuf-cpp-lite",
37 "libbase",
38 ],
39
chaviw1d044282017-09-27 12:19:28 -070040 cppflags: [
41 "-Werror",
42 "-Wno-unused-parameter",
43 "-Wno-format",
44 "-Wno-c++98-compat-pedantic",
45 "-Wno-float-conversion",
46 "-Wno-disabled-macro-expansion",
47 "-Wno-float-equal",
48 "-Wno-sign-conversion",
49 "-Wno-padded",
50 "-Wno-old-style-cast",
51 "-Wno-undef",
52 ],
Vishnu Nair3242d5f2020-10-06 10:48:32 -070053}