blob: 62fddb4f479d48beb08fd06ae7c4940553dd5cf5 [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 ],
15 shared_libs: [
Peiyong Lin65248e02020-04-18 21:15:07 -070016 "android.hardware.graphics.composer@2.4",
Yiwei Zhangd7927052020-01-13 16:05:01 -080017 "libbase",
18 "libcutils",
19 "liblog",
20 "libprotobuf-cpp-lite",
Alec Mouri37384342020-01-02 17:23:37 -080021 "libprotoutil",
Alec Mouri8e2f31b2020-01-16 22:04:35 +000022 "libstatslog",
23 "libstatspull",
24 "libstatssocket",
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: ["."],
Yiwei Zhangd7927052020-01-13 16:05:01 -080030 export_shared_lib_headers: [
Alec Mouri37384342020-01-02 17:23:37 -080031 "libprotoutil",
Alec Mouri8e2f31b2020-01-16 22:04:35 +000032 "libstatslog",
33 "libstatspull",
34 "libstatssocket",
Yiwei Zhangd7927052020-01-13 16:05:01 -080035 "libtimestats_proto",
36 ],
37 cppflags: [
38 "-Wall",
39 "-Werror",
40 "-Wformat",
41 "-Wthread-safety",
42 "-Wunused",
43 "-Wunreachable-code",
Mikael Pessa2e1608f2019-07-19 11:25:35 -070044 ],
45}