blob: 0e64716e6da3ea6666de9bf96f28e8329ee9f972 [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
Devin Moorec032c372023-05-24 22:05:47 +000010cc_defaults {
11 name: "libgfxstats_deps",
Yiwei Zhangbaaef882020-02-02 17:45:30 -080012 shared_libs: [
13 "libcutils",
14 "libgraphicsenv",
15 "liblog",
Yiwei Zhang29f85932020-02-04 17:14:54 -080016 "libprotoutil",
Yiwei Zhangb59a1272020-02-04 14:58:01 -080017 "libstatslog",
18 "libstatspull",
19 "libstatssocket",
Yiwei Zhangbaaef882020-02-02 17:45:30 -080020 "libutils",
21 ],
Devin Moorec032c372023-05-24 22:05:47 +000022}
23
24cc_library_static {
25 name: "libgfxstats",
26 defaults: [
27 "libgfxstats_deps",
28 ],
29 srcs: [
30 "GpuStats.cpp",
31 ],
Yiwei Zhangbaaef882020-02-02 17:45:30 -080032 export_include_dirs: ["include"],
Yiwei Zhangb59a1272020-02-04 14:58:01 -080033 export_shared_lib_headers: [
34 "libstatspull",
35 "libstatssocket",
36 ],
Yiwei Zhangbaaef882020-02-02 17:45:30 -080037 cppflags: [
38 "-Wall",
39 "-Werror",
40 "-Wformat",
41 "-Wthread-safety",
42 "-Wunused",
43 "-Wunreachable-code",
44 ],
45}