blob: 66aa71938100c96dec196dd59307b3c415f84c30 [file] [log] [blame]
Yiwei Zhang0102ad22018-05-02 17:37:17 -07001cc_library_shared {
2 name: "libtimestats_proto",
3 vendor_available: true,
4 export_include_dirs: ["include"],
5
6 srcs: [
7 "TimeStatsHelper.cpp",
8 "timestats.proto",
9 ],
10
11 shared_libs: [
12 "android.hardware.graphics.common@1.1",
13 "libui",
14 "libprotobuf-cpp-lite",
15 "libbase",
16 "liblog",
17 ],
18
19 proto: {
20 export_proto_headers: true,
21 },
22
23 cppflags: [
24 "-Werror",
25 "-Wno-unused-parameter",
26 "-Wno-format",
27 "-Wno-c++98-compat-pedantic",
28 "-Wno-float-conversion",
29 "-Wno-disabled-macro-expansion",
30 "-Wno-float-equal",
31 "-Wno-sign-conversion",
32 "-Wno-padded",
33 "-Wno-old-style-cast",
34 "-Wno-undef",
35 ],
36
37}
38
39java_library_static {
40 name: "timestatsprotosnano",
41 host_supported: true,
42 proto: {
43 type: "nano",
44 },
45 srcs: ["*.proto"],
46 no_framework_libs: true,
47 target: {
48 android: {
49 jarjar_rules: "jarjar-rules.txt",
50 },
51 host: {
52 static_libs: ["libprotobuf-java-nano"],
53 },
54 },
55}