blob: a631074f4dc578eeb13f040d861e63fffd71f1c8 [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",
27 ],
28
29 export_static_lib_headers: [
30 "libtimestats_proto",
31 ],
32}
33
34cc_library {
35 name: "libtimestats",
36 defaults: [
37 "libtimestats_deps",
38 ],
39 srcs: [
40 "TimeStats.cpp",
41 ],
42 header_libs: [
43 "libscheduler_headers",
44 ],
Mikael Pessa2e1608f2019-07-19 11:25:35 -070045 export_include_dirs: ["."],
Dominik Laskowskif6b4ba62021-11-09 12:46:10 -080046 export_header_lib_headers: [
47 "libscheduler_headers",
48 ],
Yiwei Zhangd7927052020-01-13 16:05:01 -080049 cppflags: [
50 "-Wall",
51 "-Werror",
52 "-Wformat",
53 "-Wthread-safety",
54 "-Wunused",
55 "-Wunreachable-code",
Mikael Pessa2e1608f2019-07-19 11:25:35 -070056 ],
57}