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 | |
Vishnu Nair | df6a4f6 | 2020-11-11 20:25:34 -0800 | [diff] [blame] | 10 | cc_library { |
Mikael Pessa | 2e1608f | 2019-07-19 11:25:35 -0700 | [diff] [blame] | 11 | name: "libtimestats", |
Mikael Pessa | 2e1608f | 2019-07-19 11:25:35 -0700 | [diff] [blame] | 12 | srcs: [ |
Yiwei Zhang | d792705 | 2020-01-13 16:05:01 -0800 | [diff] [blame] | 13 | "TimeStats.cpp", |
| 14 | ], |
Dominik Laskowski | f6b4ba6 | 2021-11-09 12:46:10 -0800 | [diff] [blame^] | 15 | header_libs: [ |
| 16 | "libscheduler_headers", |
| 17 | ], |
Yiwei Zhang | d792705 | 2020-01-13 16:05:01 -0800 | [diff] [blame] | 18 | shared_libs: [ |
Peiyong Lin | 65248e0 | 2020-04-18 21:15:07 -0700 | [diff] [blame] | 19 | "android.hardware.graphics.composer@2.4", |
Yiwei Zhang | d792705 | 2020-01-13 16:05:01 -0800 | [diff] [blame] | 20 | "libbase", |
| 21 | "libcutils", |
| 22 | "liblog", |
| 23 | "libprotobuf-cpp-lite", |
Tej Singh | e275177 | 2021-04-06 22:05:29 -0700 | [diff] [blame] | 24 | "libtimestats_atoms_proto", |
Yiwei Zhang | d792705 | 2020-01-13 16:05:01 -0800 | [diff] [blame] | 25 | "libtimestats_proto", |
| 26 | "libui", |
| 27 | "libutils", |
Mikael Pessa | 2e1608f | 2019-07-19 11:25:35 -0700 | [diff] [blame] | 28 | ], |
| 29 | export_include_dirs: ["."], |
Dominik Laskowski | f6b4ba6 | 2021-11-09 12:46:10 -0800 | [diff] [blame^] | 30 | export_header_lib_headers: [ |
| 31 | "libscheduler_headers", |
| 32 | ], |
Yiwei Zhang | d792705 | 2020-01-13 16:05:01 -0800 | [diff] [blame] | 33 | export_shared_lib_headers: [ |
| 34 | "libtimestats_proto", |
| 35 | ], |
| 36 | cppflags: [ |
| 37 | "-Wall", |
| 38 | "-Werror", |
| 39 | "-Wformat", |
| 40 | "-Wthread-safety", |
| 41 | "-Wunused", |
| 42 | "-Wunreachable-code", |
Mikael Pessa | 2e1608f | 2019-07-19 11:25:35 -0700 | [diff] [blame] | 43 | ], |
| 44 | } |