blob: 9481cac34d6796e50fdeb644794f4c242ef3bd03 [file] [log] [blame]
Vishnu Nairdf6a4f62020-11-11 20:25:34 -08001cc_library {
Yiwei Zhang0102ad22018-05-02 17:37:17 -07002 name: "libtimestats_proto",
Yiwei Zhang0102ad22018-05-02 17:37:17 -07003 export_include_dirs: ["include"],
4
5 srcs: [
6 "TimeStatsHelper.cpp",
7 "timestats.proto",
8 ],
9
10 shared_libs: [
Yiwei Zhang0102ad22018-05-02 17:37:17 -070011 "libbase",
Yiwei Zhang289fdbc2018-05-08 15:14:29 -070012 "libprotobuf-cpp-lite",
Yiwei Zhang0102ad22018-05-02 17:37:17 -070013 ],
14
15 proto: {
16 export_proto_headers: true,
17 },
18
19 cppflags: [
20 "-Werror",
Yiwei Zhang0102ad22018-05-02 17:37:17 -070021 "-Wno-c++98-compat-pedantic",
Yiwei Zhang0102ad22018-05-02 17:37:17 -070022 "-Wno-disabled-macro-expansion",
Yiwei Zhang289fdbc2018-05-08 15:14:29 -070023 "-Wno-float-conversion",
Yiwei Zhang0102ad22018-05-02 17:37:17 -070024 "-Wno-float-equal",
Yiwei Zhang289fdbc2018-05-08 15:14:29 -070025 "-Wno-format",
Yiwei Zhang0102ad22018-05-02 17:37:17 -070026 "-Wno-old-style-cast",
Yiwei Zhang289fdbc2018-05-08 15:14:29 -070027 "-Wno-padded",
28 "-Wno-sign-conversion",
Yiwei Zhang0102ad22018-05-02 17:37:17 -070029 "-Wno-undef",
Yiwei Zhang289fdbc2018-05-08 15:14:29 -070030 "-Wno-unused-parameter",
Yiwei Zhang0102ad22018-05-02 17:37:17 -070031 ],
Yiwei Zhang0102ad22018-05-02 17:37:17 -070032}
Jim Long8c0f1312020-11-09 15:37:05 -080033
34// ==== java host library for timestats proto ===========================
35// Note timestats is deprecated and is only used for legacy tests
36java_library_host {
37 name: "host-timestats-proto",
38 srcs: [
39 "timestats.proto",
40 ],
41 proto: {
42 type: "full",
43 },
44}
Johanne Demetria1ef750b2020-12-15 23:24:25 +000045
46// ==== java device library for timestats proto ===========================
47// Note timestats is deprecated and is only used for legacy tests
48java_library {
49 name: "timestats-proto",
50 srcs: [
51 "timestats.proto",
52 ],
53 proto: {
54 type: "lite",
55 },
56 sdk_version: "current",
57}