blob: 474309898d23e57e1090207574baba6ce5460017 [file] [log] [blame]
Bob Badour3c538232021-02-12 21:26:48 -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"],
8}
9
Yiwei Zhang0102ad22018-05-02 17:37:17 -070010cc_library_shared {
11 name: "libtimestats_proto",
Yiwei Zhang0102ad22018-05-02 17:37:17 -070012 export_include_dirs: ["include"],
13
14 srcs: [
15 "TimeStatsHelper.cpp",
16 "timestats.proto",
17 ],
18
19 shared_libs: [
Yiwei Zhang0102ad22018-05-02 17:37:17 -070020 "libbase",
Yiwei Zhang289fdbc2018-05-08 15:14:29 -070021 "libprotobuf-cpp-lite",
Yiwei Zhang0102ad22018-05-02 17:37:17 -070022 ],
23
24 proto: {
25 export_proto_headers: true,
26 },
27
28 cppflags: [
29 "-Werror",
Yiwei Zhang0102ad22018-05-02 17:37:17 -070030 "-Wno-c++98-compat-pedantic",
Yiwei Zhang0102ad22018-05-02 17:37:17 -070031 "-Wno-disabled-macro-expansion",
Yiwei Zhang289fdbc2018-05-08 15:14:29 -070032 "-Wno-float-conversion",
Yiwei Zhang0102ad22018-05-02 17:37:17 -070033 "-Wno-float-equal",
Yiwei Zhang289fdbc2018-05-08 15:14:29 -070034 "-Wno-format",
Yiwei Zhang0102ad22018-05-02 17:37:17 -070035 "-Wno-old-style-cast",
Yiwei Zhang289fdbc2018-05-08 15:14:29 -070036 "-Wno-padded",
37 "-Wno-sign-conversion",
Yiwei Zhang0102ad22018-05-02 17:37:17 -070038 "-Wno-undef",
Yiwei Zhang289fdbc2018-05-08 15:14:29 -070039 "-Wno-unused-parameter",
Yiwei Zhang0102ad22018-05-02 17:37:17 -070040 ],
Yiwei Zhang0102ad22018-05-02 17:37:17 -070041}