blob: 9513cabfb6debd3ddd12953a447fc9c7401889b4 [file] [log] [blame]
Yiwei Zhang0102ad22018-05-02 17:37:17 -07001cc_library_shared {
2 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}