blob: ea86911bed7aa10f094bed1c4e7e7cc3ca086065 [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",
Mikael Pessa2e1608f2019-07-19 11:25:35 -070023 ],
Devin Moorea1889802023-05-22 21:29:09 +000024
25 static_libs: [
26 "libtimestats_proto",
Vishnu Nairbe0ad902024-06-27 23:38:43 +000027 "libsurfaceflinger_common",
Devin Moorea1889802023-05-22 21:29:09 +000028 ],
29
30 export_static_lib_headers: [
31 "libtimestats_proto",
32 ],
33}
34
35cc_library {
36 name: "libtimestats",
37 defaults: [
38 "libtimestats_deps",
39 ],
40 srcs: [
41 "TimeStats.cpp",
42 ],
43 header_libs: [
44 "libscheduler_headers",
45 ],
Mikael Pessa2e1608f2019-07-19 11:25:35 -070046 export_include_dirs: ["."],
Dominik Laskowskif6b4ba62021-11-09 12:46:10 -080047 export_header_lib_headers: [
48 "libscheduler_headers",
49 ],
Yiwei Zhangd7927052020-01-13 16:05:01 -080050 cppflags: [
51 "-Wall",
52 "-Werror",
53 "-Wformat",
54 "-Wthread-safety",
55 "-Wunused",
56 "-Wunreachable-code",
Mikael Pessa2e1608f2019-07-19 11:25:35 -070057 ],
58}