Bob Badour | 3306e49 | 2021-02-25 15:35:37 -0800 | [diff] [blame] | 1 | package { |
| 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 Moore | c032c37 | 2023-05-24 22:05:47 +0000 | [diff] [blame^] | 10 | cc_defaults { |
| 11 | name: "libgfxstats_deps", |
Yiwei Zhang | baaef88 | 2020-02-02 17:45:30 -0800 | [diff] [blame] | 12 | shared_libs: [ |
| 13 | "libcutils", |
| 14 | "libgraphicsenv", |
| 15 | "liblog", |
Yiwei Zhang | 29f8593 | 2020-02-04 17:14:54 -0800 | [diff] [blame] | 16 | "libprotoutil", |
Yiwei Zhang | b59a127 | 2020-02-04 14:58:01 -0800 | [diff] [blame] | 17 | "libstatslog", |
| 18 | "libstatspull", |
| 19 | "libstatssocket", |
Yiwei Zhang | baaef88 | 2020-02-02 17:45:30 -0800 | [diff] [blame] | 20 | "libutils", |
| 21 | ], |
Devin Moore | c032c37 | 2023-05-24 22:05:47 +0000 | [diff] [blame^] | 22 | } |
| 23 | |
| 24 | cc_library_static { |
| 25 | name: "libgfxstats", |
| 26 | defaults: [ |
| 27 | "libgfxstats_deps", |
| 28 | ], |
| 29 | srcs: [ |
| 30 | "GpuStats.cpp", |
| 31 | ], |
Yiwei Zhang | baaef88 | 2020-02-02 17:45:30 -0800 | [diff] [blame] | 32 | export_include_dirs: ["include"], |
Yiwei Zhang | b59a127 | 2020-02-04 14:58:01 -0800 | [diff] [blame] | 33 | export_shared_lib_headers: [ |
| 34 | "libstatspull", |
| 35 | "libstatssocket", |
| 36 | ], |
Yiwei Zhang | baaef88 | 2020-02-02 17:45:30 -0800 | [diff] [blame] | 37 | cppflags: [ |
| 38 | "-Wall", |
| 39 | "-Werror", |
| 40 | "-Wformat", |
| 41 | "-Wthread-safety", |
| 42 | "-Wunused", |
| 43 | "-Wunreachable-code", |
| 44 | ], |
| 45 | } |