blob: a6a01520448b6ba915ecdb586a22860304f48fd2 [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
Devin Moorea1889802023-05-22 21:29:09 +000011cc_defaults {
12 name: "libtimestats_deps",
13
Yiwei Zhangd7927052020-01-13 16:05:01 -080014 shared_libs: [
Peiyong Lin65248e02020-04-18 21:15:07 -070015 "android.hardware.graphics.composer@2.4",
Yiwei Zhangd7927052020-01-13 16:05:01 -080016 "libbase",
17 "libcutils",
18 "liblog",
19 "libprotobuf-cpp-lite",
Tej Singhe2751772021-04-06 22:05:29 -070020 "libtimestats_atoms_proto",
Yiwei Zhangd7927052020-01-13 16:05:01 -080021 "libui",
22 "libutils",
Vishnu Nair47b6e682024-07-12 18:46:07 +000023 "libtracing_perfetto",
Mikael Pessa2e1608f2019-07-19 11:25:35 -070024 ],
Devin Moorea1889802023-05-22 21:29:09 +000025
26 static_libs: [
27 "libtimestats_proto",
Vishnu Nairbe0ad902024-06-27 23:38:43 +000028 "libsurfaceflinger_common",
Devin Moorea1889802023-05-22 21:29:09 +000029 ],
30
31 export_static_lib_headers: [
32 "libtimestats_proto",
33 ],
34}
35
36cc_library {
37 name: "libtimestats",
38 defaults: [
39 "libtimestats_deps",
40 ],
41 srcs: [
42 "TimeStats.cpp",
43 ],
44 header_libs: [
45 "libscheduler_headers",
46 ],
Mikael Pessa2e1608f2019-07-19 11:25:35 -070047 export_include_dirs: ["."],
Dominik Laskowskif6b4ba62021-11-09 12:46:10 -080048 export_header_lib_headers: [
49 "libscheduler_headers",
50 ],
Yiwei Zhangd7927052020-01-13 16:05:01 -080051 cppflags: [
52 "-Wall",
53 "-Werror",
54 "-Wformat",
55 "-Wthread-safety",
56 "-Wunused",
57 "-Wunreachable-code",
Mikael Pessa2e1608f2019-07-19 11:25:35 -070058 ],
59}