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"], |
John Reck | 38bc8a8 | 2024-02-21 17:08:27 -0500 | [diff] [blame] | 8 | default_team: "trendy_team_android_core_graphics_stack", |
Bob Badour | 3306e49 | 2021-02-25 15:35:37 -0800 | [diff] [blame] | 9 | } |
| 10 | |
Devin Moore | a188980 | 2023-05-22 21:29:09 +0000 | [diff] [blame] | 11 | cc_defaults { |
| 12 | name: "libtimestats_deps", |
| 13 | |
Yiwei Zhang | d792705 | 2020-01-13 16:05:01 -0800 | [diff] [blame] | 14 | shared_libs: [ |
Peiyong Lin | 65248e0 | 2020-04-18 21:15:07 -0700 | [diff] [blame] | 15 | "android.hardware.graphics.composer@2.4", |
Yiwei Zhang | d792705 | 2020-01-13 16:05:01 -0800 | [diff] [blame] | 16 | "libbase", |
| 17 | "libcutils", |
| 18 | "liblog", |
| 19 | "libprotobuf-cpp-lite", |
Tej Singh | e275177 | 2021-04-06 22:05:29 -0700 | [diff] [blame] | 20 | "libtimestats_atoms_proto", |
Yiwei Zhang | d792705 | 2020-01-13 16:05:01 -0800 | [diff] [blame] | 21 | "libui", |
| 22 | "libutils", |
Mikael Pessa | 2e1608f | 2019-07-19 11:25:35 -0700 | [diff] [blame] | 23 | ], |
Devin Moore | a188980 | 2023-05-22 21:29:09 +0000 | [diff] [blame] | 24 | |
| 25 | static_libs: [ |
| 26 | "libtimestats_proto", |
| 27 | ], |
| 28 | |
| 29 | export_static_lib_headers: [ |
| 30 | "libtimestats_proto", |
| 31 | ], |
| 32 | } |
| 33 | |
| 34 | cc_library { |
| 35 | name: "libtimestats", |
| 36 | defaults: [ |
| 37 | "libtimestats_deps", |
| 38 | ], |
| 39 | srcs: [ |
| 40 | "TimeStats.cpp", |
| 41 | ], |
| 42 | header_libs: [ |
| 43 | "libscheduler_headers", |
| 44 | ], |
Mikael Pessa | 2e1608f | 2019-07-19 11:25:35 -0700 | [diff] [blame] | 45 | export_include_dirs: ["."], |
Dominik Laskowski | f6b4ba6 | 2021-11-09 12:46:10 -0800 | [diff] [blame] | 46 | export_header_lib_headers: [ |
| 47 | "libscheduler_headers", |
| 48 | ], |
Yiwei Zhang | d792705 | 2020-01-13 16:05:01 -0800 | [diff] [blame] | 49 | cppflags: [ |
| 50 | "-Wall", |
| 51 | "-Werror", |
| 52 | "-Wformat", |
| 53 | "-Wthread-safety", |
| 54 | "-Wunused", |
| 55 | "-Wunreachable-code", |
Mikael Pessa | 2e1608f | 2019-07-19 11:25:35 -0700 | [diff] [blame] | 56 | ], |
| 57 | } |