blob: 4686eed54c802c9093e2253cc447afe6439c027b [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 {
Mikael Pessa2e1608f2019-07-19 11:25:35 -070011 name: "libtimestats",
Mikael Pessa2e1608f2019-07-19 11:25:35 -070012 srcs: [
Yiwei Zhangd7927052020-01-13 16:05:01 -080013 "TimeStats.cpp",
14 ],
Dominik Laskowskif6b4ba62021-11-09 12:46:10 -080015 header_libs: [
16 "libscheduler_headers",
17 ],
Yiwei Zhangd7927052020-01-13 16:05:01 -080018 shared_libs: [
Peiyong Lin65248e02020-04-18 21:15:07 -070019 "android.hardware.graphics.composer@2.4",
Yiwei Zhangd7927052020-01-13 16:05:01 -080020 "libbase",
21 "libcutils",
22 "liblog",
23 "libprotobuf-cpp-lite",
Tej Singhe2751772021-04-06 22:05:29 -070024 "libtimestats_atoms_proto",
Yiwei Zhangd7927052020-01-13 16:05:01 -080025 "libtimestats_proto",
26 "libui",
27 "libutils",
Mikael Pessa2e1608f2019-07-19 11:25:35 -070028 ],
29 export_include_dirs: ["."],
Dominik Laskowskif6b4ba62021-11-09 12:46:10 -080030 export_header_lib_headers: [
31 "libscheduler_headers",
32 ],
Yiwei Zhangd7927052020-01-13 16:05:01 -080033 export_shared_lib_headers: [
34 "libtimestats_proto",
35 ],
36 cppflags: [
37 "-Wall",
38 "-Werror",
39 "-Wformat",
40 "-Wthread-safety",
41 "-Wunused",
42 "-Wunreachable-code",
Mikael Pessa2e1608f2019-07-19 11:25:35 -070043 ],
44}