blob: e097da399db7720ab205e70ff0c1e85cabfa0510 [file] [log] [blame]
Bob Badour3306e492021-02-25 15:35:37 -08001package {
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 Reck38bc8a82024-02-21 17:08:27 -05008 default_team: "trendy_team_android_core_graphics_stack",
Bob Badour3306e492021-02-25 15:35:37 -08009}
10
Vishnu Nairdf6a4f62020-11-11 20:25:34 -080011cc_library {
Yiwei Zhang0102ad22018-05-02 17:37:17 -070012 name: "libtimestats_proto",
Yiwei Zhang0102ad22018-05-02 17:37:17 -070013 export_include_dirs: ["include"],
14
15 srcs: [
16 "TimeStatsHelper.cpp",
17 "timestats.proto",
18 ],
19
20 shared_libs: [
Yiwei Zhang0102ad22018-05-02 17:37:17 -070021 "libbase",
Yiwei Zhang289fdbc2018-05-08 15:14:29 -070022 "libprotobuf-cpp-lite",
Yiwei Zhang0102ad22018-05-02 17:37:17 -070023 ],
24
25 proto: {
26 export_proto_headers: true,
27 },
28
29 cppflags: [
30 "-Werror",
Yiwei Zhang0102ad22018-05-02 17:37:17 -070031 "-Wno-c++98-compat-pedantic",
Yiwei Zhang0102ad22018-05-02 17:37:17 -070032 "-Wno-disabled-macro-expansion",
Yiwei Zhang289fdbc2018-05-08 15:14:29 -070033 "-Wno-float-conversion",
Yiwei Zhang0102ad22018-05-02 17:37:17 -070034 "-Wno-float-equal",
Yiwei Zhang289fdbc2018-05-08 15:14:29 -070035 "-Wno-format",
Yiwei Zhang0102ad22018-05-02 17:37:17 -070036 "-Wno-old-style-cast",
Yiwei Zhang289fdbc2018-05-08 15:14:29 -070037 "-Wno-padded",
38 "-Wno-sign-conversion",
Yiwei Zhang0102ad22018-05-02 17:37:17 -070039 "-Wno-undef",
Yiwei Zhang289fdbc2018-05-08 15:14:29 -070040 "-Wno-unused-parameter",
Yiwei Zhang0102ad22018-05-02 17:37:17 -070041 ],
Yiwei Zhang0102ad22018-05-02 17:37:17 -070042}
Jim Long8c0f1312020-11-09 15:37:05 -080043
44// ==== java host library for timestats proto ===========================
45// Note timestats is deprecated and is only used for legacy tests
46java_library_host {
47 name: "host-timestats-proto",
48 srcs: [
49 "timestats.proto",
50 ],
51 proto: {
52 type: "full",
53 },
54}
Johanne Demetria1ef750b2020-12-15 23:24:25 +000055
56// ==== java device library for timestats proto ===========================
57// Note timestats is deprecated and is only used for legacy tests
58java_library {
59 name: "timestats-proto",
60 srcs: [
61 "timestats.proto",
62 ],
63 proto: {
64 type: "lite",
65 },
66 sdk_version: "current",
67}