| package { |
| // See: http://go/android-license-faq |
| // A large-scale-change added 'default_applicable_licenses' to import |
| // all of the 'license_kinds' from "frameworks_native_license" |
| // to get the below license kinds: |
| // SPDX-license-identifier-Apache-2.0 |
| default_applicable_licenses: ["frameworks_native_license"], |
| } |
| |
| cc_defaults { |
| name: "libgfxstats_deps", |
| shared_libs: [ |
| "libcutils", |
| "libgraphicsenv", |
| "liblog", |
| "libprotoutil", |
| "libstatslog", |
| "libstatspull", |
| "libstatssocket", |
| "libutils", |
| ], |
| } |
| |
| cc_library_static { |
| name: "libgfxstats", |
| defaults: [ |
| "libgfxstats_deps", |
| ], |
| srcs: [ |
| "GpuStats.cpp", |
| ], |
| export_include_dirs: ["include"], |
| export_shared_lib_headers: [ |
| "libstatspull", |
| "libstatssocket", |
| ], |
| cppflags: [ |
| "-Wall", |
| "-Werror", |
| "-Wformat", |
| "-Wthread-safety", |
| "-Wunused", |
| "-Wunreachable-code", |
| ], |
| } |