• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1package {
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    default_team: "trendy_team_android_core_graphics_stack",
9}
10
11cc_library {
12    name: "libtimestats_proto",
13    export_include_dirs: ["include"],
14
15    srcs: [
16        "TimeStatsHelper.cpp",
17        "timestats.proto",
18    ],
19
20    shared_libs: [
21        "libbase",
22        "libprotobuf-cpp-lite",
23    ],
24
25    proto: {
26        export_proto_headers: true,
27    },
28
29    cppflags: [
30        "-Werror",
31        "-Wno-c++98-compat-pedantic",
32        "-Wno-disabled-macro-expansion",
33        "-Wno-float-conversion",
34        "-Wno-float-equal",
35        "-Wno-format",
36        "-Wno-old-style-cast",
37        "-Wno-padded",
38        "-Wno-sign-conversion",
39        "-Wno-undef",
40        "-Wno-unused-parameter",
41    ],
42}
43
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}
55
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}
68