• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1build_config_dir_ = "include/perfetto/base/build_configs/bazel"
2
3# Deliberately NOT a perfetto_cc_library, to avoid cyclic deps.
4# This is pulled as a default dep by all targets.
5cc_library(
6    name = "build_config_hdr",
7    hdrs = [build_config_dir_ + "/perfetto_build_flags.h"],
8    includes = [build_config_dir_],
9)
10
11perfetto_cc_library(
12    name = "cc_merged_sql_metrics",
13    hdrs = ["src/trace_processor/metrics/sql_metrics.h"],
14)
15
16perfetto_py_binary(
17    name = "gen_merged_sql_metrics_py",
18    srcs = [
19        "tools/gen_merged_sql_metrics.py",
20    ],
21    main = "tools/gen_merged_sql_metrics.py",
22    python_version = "PY3",
23)
24
25perfetto_java_proto_library(
26    name = "protos_perfetto_metrics_java",
27    deps = [
28        ":protos_perfetto_metrics_protos",
29    ],
30)
31
32perfetto_java_proto_library(
33    name = "protos_perfetto_metrics_android_java",
34    deps = [
35        ":protos_perfetto_metrics_android_protos",
36    ],
37)
38
39perfetto_java_proto_library(
40    name = "protos_perfetto_trace_merged_trace_java",
41    deps = [
42        ":protos_perfetto_trace_merged_trace_protos",
43    ],
44)
45
46perfetto_java_proto_library(
47    name = "protos_perfetto_config_merged_config_java",
48    deps = [
49        ":protos_perfetto_config_merged_config_protos",
50    ],
51)
52
53perfetto_java_lite_proto_library(
54    name = "protos_perfetto_config_merged_config_java_lite",
55    deps = [
56        ":protos_perfetto_config_merged_config_protos",
57    ],
58)
59
60perfetto_gensignature_internal_only(
61    name = "trace_processor_sig",
62    srcs = [
63        ":trace_processor_shell",
64        ":trace_to_text",
65    ],
66    tags = [
67        "__TRACE_PROCESSOR_SIG_TAG1",
68        "__TRACE_PROCESSOR_SIG_TAG2",
69    ],
70)
71