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 | ], |
| 15 | shared_libs: [ |
Peiyong Lin | 65248e0 | 2020-04-18 21:15:07 -0700 | [diff] [blame] | 16 | "android.hardware.graphics.composer@2.4", |
Yiwei Zhang | d792705 | 2020-01-13 16:05:01 -0800 | [diff] [blame] | 17 | "libbase", |
| 18 | "libcutils", |
| 19 | "liblog", |
| 20 | "libprotobuf-cpp-lite", |
Tej Singh | e275177 | 2021-04-06 22:05:29 -0700 | [diff] [blame^] | 21 | "libtimestats_atoms_proto", |
Yiwei Zhang | d792705 | 2020-01-13 16:05:01 -0800 | [diff] [blame] | 22 | "libtimestats_proto", |
| 23 | "libui", |
| 24 | "libutils", |
Mikael Pessa | 2e1608f | 2019-07-19 11:25:35 -0700 | [diff] [blame] | 25 | ], |
| 26 | export_include_dirs: ["."], |
Yiwei Zhang | d792705 | 2020-01-13 16:05:01 -0800 | [diff] [blame] | 27 | export_shared_lib_headers: [ |
| 28 | "libtimestats_proto", |
| 29 | ], |
| 30 | cppflags: [ |
| 31 | "-Wall", |
| 32 | "-Werror", |
| 33 | "-Wformat", |
| 34 | "-Wthread-safety", |
| 35 | "-Wunused", |
| 36 | "-Wunreachable-code", |
Mikael Pessa | 2e1608f | 2019-07-19 11:25:35 -0700 | [diff] [blame] | 37 | ], |
| 38 | } |