| 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"], |
| default_team: "trendy_team_android_core_graphics_stack", |
| } |
| |
| cc_defaults { |
| name: "libtimestats_deps", |
| |
| shared_libs: [ |
| "android.hardware.graphics.composer@2.4", |
| "libbase", |
| "libcutils", |
| "liblog", |
| "libprotobuf-cpp-lite", |
| "libtimestats_atoms_proto", |
| "libui", |
| "libutils", |
| ], |
| |
| static_libs: [ |
| "libtimestats_proto", |
| ], |
| |
| export_static_lib_headers: [ |
| "libtimestats_proto", |
| ], |
| } |
| |
| cc_library { |
| name: "libtimestats", |
| defaults: [ |
| "libtimestats_deps", |
| ], |
| srcs: [ |
| "TimeStats.cpp", |
| ], |
| header_libs: [ |
| "libscheduler_headers", |
| ], |
| export_include_dirs: ["."], |
| export_header_lib_headers: [ |
| "libscheduler_headers", |
| ], |
| cppflags: [ |
| "-Wall", |
| "-Werror", |
| "-Wformat", |
| "-Wthread-safety", |
| "-Wunused", |
| "-Wunreachable-code", |
| ], |
| } |