blob: 9ac10f3d8e515344f59d28499e641428a34ae80b [file] [log] [blame]
# Copyright (C) 2019 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# This file is automatically generated by tools/gen_bazel. Do not edit.
load("@perfetto_cfg//:perfetto_cfg.bzl", "PERFETTO_CONFIG")
load(
"@perfetto//bazel:rules.bzl",
"perfetto_cc_binary",
"perfetto_cc_ipc_library",
"perfetto_cc_library",
"perfetto_cc_proto_library",
"perfetto_cc_protocpp_library",
"perfetto_cc_protozero_library",
"perfetto_java_proto_library",
"perfetto_proto_library",
"perfetto_py_binary",
"perfetto_gensignature_internal_only",
)
package(default_visibility = ["//visibility:private"])
licenses(["notice"])
exports_files(["NOTICE"])
# ##############################################################################
# Internal targets
# ##############################################################################
# GN target: //src/ipc/protoc_plugin:ipc_plugin
perfetto_cc_binary(
name = "ipc_plugin",
srcs = [
"src/ipc/protoc_plugin/ipc_plugin.cc",
":include_perfetto_base_base",
":include_perfetto_ext_base_base",
":src_base_base",
],
deps = [
] + PERFETTO_CONFIG.deps.protoc_lib,
)
# GN target: //src/ipc:perfetto_ipc
perfetto_cc_library(
name = "perfetto_ipc",
srcs = [
":src_base_base",
":src_base_unix_socket",
":src_ipc_client",
":src_ipc_common",
":src_ipc_host",
],
hdrs = [
":include_perfetto_base_base",
":include_perfetto_ext_base_base",
":include_perfetto_ext_ipc_ipc",
":include_perfetto_protozero_protozero",
],
deps = [
":protos_perfetto_ipc_wire_protocol_cpp",
],
linkstatic = True,
)
# GN target: //src/protozero/protoc_plugin:cppgen_plugin
perfetto_cc_binary(
name = "cppgen_plugin",
srcs = [
"src/protozero/protoc_plugin/cppgen_plugin.cc",
":include_perfetto_base_base",
":include_perfetto_ext_base_base",
":src_base_base",
],
deps = [
] + PERFETTO_CONFIG.deps.protoc_lib,
)
# GN target: //src/protozero/protoc_plugin:protozero_plugin
perfetto_cc_binary(
name = "protozero_plugin",
srcs = [
"src/protozero/protoc_plugin/protozero_plugin.cc",
":include_perfetto_base_base",
":include_perfetto_ext_base_base",
":src_base_base",
],
deps = [
] + PERFETTO_CONFIG.deps.protoc_lib,
)
# GN target: //src/protozero:libprotozero
perfetto_cc_library(
name = "libprotozero",
srcs = [
":src_base_base",
":src_protozero_protozero",
],
hdrs = [
":include_perfetto_base_base",
":include_perfetto_ext_base_base",
":include_perfetto_protozero_protozero",
],
linkstatic = True,
)
# GN target: //test:client_api_example
perfetto_cc_binary(
name = "client_api_example",
srcs = [
"test/client_api_example.cc",
":include_perfetto_base_base",
":include_perfetto_protozero_protozero",
":include_perfetto_tracing_core_forward_decls",
":include_perfetto_tracing_tracing",
],
deps = [
":libperfetto_client_experimental",
":protos_perfetto_common_cpp",
":protos_perfetto_common_zero",
":protos_perfetto_config_android_zero",
":protos_perfetto_config_ftrace_zero",
":protos_perfetto_config_gpu_zero",
":protos_perfetto_config_inode_file_zero",
":protos_perfetto_config_power_zero",
":protos_perfetto_config_process_stats_zero",
":protos_perfetto_config_profiling_zero",
":protos_perfetto_config_sys_stats_zero",
":protos_perfetto_config_zero",
":protos_perfetto_trace_android_zero",
":protos_perfetto_trace_chrome_zero",
":protos_perfetto_trace_filesystem_zero",
":protos_perfetto_trace_ftrace_zero",
":protos_perfetto_trace_gpu_zero",
":protos_perfetto_trace_interned_data_zero",
":protos_perfetto_trace_minimal_zero",
":protos_perfetto_trace_non_minimal_zero",
":protos_perfetto_trace_perfetto_zero",
":protos_perfetto_trace_power_zero",
":protos_perfetto_trace_profiling_zero",
":protos_perfetto_trace_ps_zero",
":protos_perfetto_trace_sys_stats_zero",
":protos_perfetto_trace_track_event_zero",
],
)
# GN target: //:libperfetto
perfetto_cc_library(
name = "libperfetto",
srcs = [
":src_android_internal_headers",
":src_android_internal_lazy_library_loader",
":src_base_base",
":src_base_unix_socket",
":src_ipc_client",
":src_ipc_common",
":src_ipc_host",
":src_perfetto_cmd_perfetto_atoms",
":src_protozero_protozero",
":src_traced_probes_android_log_android_log",
":src_traced_probes_data_source",
":src_traced_probes_filesystem_filesystem",
":src_traced_probes_ftrace_format_parser",
":src_traced_probes_ftrace_ftrace",
":src_traced_probes_metatrace_metatrace",
":src_traced_probes_packages_list_packages_list",
":src_traced_probes_power_power",
":src_traced_probes_probes",
":src_traced_probes_probes_src",
":src_traced_probes_ps_ps",
":src_traced_probes_sys_stats_sys_stats",
":src_traced_service_service",
":src_tracing_common",
":src_tracing_consumer_api_deprecated_consumer_api_deprecated",
":src_tracing_core_core",
":src_tracing_core_service",
":src_tracing_ipc_common",
":src_tracing_ipc_consumer_consumer",
":src_tracing_ipc_producer_producer",
":src_tracing_ipc_service_service",
],
hdrs = [
":include_perfetto_base_base",
":include_perfetto_ext_base_base",
":include_perfetto_ext_ipc_ipc",
":include_perfetto_ext_traced_sys_stats_counters",
":include_perfetto_ext_traced_traced",
":include_perfetto_ext_tracing_core_core",
":include_perfetto_ext_tracing_ipc_ipc",
":include_perfetto_protozero_protozero",
":include_perfetto_public_public",
":include_perfetto_tracing_core_core",
":include_perfetto_tracing_core_forward_decls",
":include_perfetto_tracing_tracing",
],
deps = [
":protos_perfetto_common_cpp",
":protos_perfetto_common_zero",
":protos_perfetto_config_android_cpp",
":protos_perfetto_config_android_zero",
":protos_perfetto_config_cpp",
":protos_perfetto_config_ftrace_cpp",
":protos_perfetto_config_ftrace_zero",
":protos_perfetto_config_gpu_cpp",
":protos_perfetto_config_gpu_zero",
":protos_perfetto_config_inode_file_cpp",
":protos_perfetto_config_inode_file_zero",
":protos_perfetto_config_power_cpp",
":protos_perfetto_config_power_zero",
":protos_perfetto_config_process_stats_cpp",
":protos_perfetto_config_process_stats_zero",
":protos_perfetto_config_profiling_cpp",
":protos_perfetto_config_profiling_zero",
":protos_perfetto_config_sys_stats_cpp",
":protos_perfetto_config_sys_stats_zero",
":protos_perfetto_config_zero",
":protos_perfetto_ipc_cpp",
":protos_perfetto_ipc_ipc",
":protos_perfetto_ipc_wire_protocol_cpp",
":protos_perfetto_trace_android_zero",
":protos_perfetto_trace_chrome_zero",
":protos_perfetto_trace_filesystem_zero",
":protos_perfetto_trace_ftrace_zero",
":protos_perfetto_trace_gpu_zero",
":protos_perfetto_trace_interned_data_zero",
":protos_perfetto_trace_minimal_zero",
":protos_perfetto_trace_non_minimal_zero",
":protos_perfetto_trace_perfetto_zero",
":protos_perfetto_trace_power_zero",
":protos_perfetto_trace_profiling_zero",
":protos_perfetto_trace_ps_zero",
":protos_perfetto_trace_sys_stats_zero",
":protos_perfetto_trace_track_event_zero",
],
linkstatic = True,
)
# GN target: //include/perfetto/base:base
filegroup(
name = "include_perfetto_base_base",
srcs = [
"include/perfetto/base/build_config.h",
"include/perfetto/base/compiler.h",
"include/perfetto/base/export.h",
"include/perfetto/base/flat_set.h",
"include/perfetto/base/logging.h",
"include/perfetto/base/proc_utils.h",
"include/perfetto/base/task_runner.h",
"include/perfetto/base/thread_utils.h",
"include/perfetto/base/time.h",
],
)
# GN target: //include/perfetto/ext/base:base
filegroup(
name = "include_perfetto_ext_base_base",
srcs = [
"include/perfetto/ext/base/circular_queue.h",
"include/perfetto/ext/base/container_annotations.h",
"include/perfetto/ext/base/event_fd.h",
"include/perfetto/ext/base/file_utils.h",
"include/perfetto/ext/base/hash.h",
"include/perfetto/ext/base/lookup_set.h",
"include/perfetto/ext/base/metatrace.h",
"include/perfetto/ext/base/metatrace_events.h",
"include/perfetto/ext/base/no_destructor.h",
"include/perfetto/ext/base/optional.h",
"include/perfetto/ext/base/paged_memory.h",
"include/perfetto/ext/base/pipe.h",
"include/perfetto/ext/base/scoped_file.h",
"include/perfetto/ext/base/small_set.h",
"include/perfetto/ext/base/string_splitter.h",
"include/perfetto/ext/base/string_utils.h",
"include/perfetto/ext/base/string_view.h",
"include/perfetto/ext/base/string_writer.h",
"include/perfetto/ext/base/temp_file.h",
"include/perfetto/ext/base/thread_annotations.h",
"include/perfetto/ext/base/thread_checker.h",
"include/perfetto/ext/base/thread_task_runner.h",
"include/perfetto/ext/base/unix_socket.h",
"include/perfetto/ext/base/unix_task_runner.h",
"include/perfetto/ext/base/utils.h",
"include/perfetto/ext/base/uuid.h",
"include/perfetto/ext/base/waitable_event.h",
"include/perfetto/ext/base/watchdog.h",
"include/perfetto/ext/base/watchdog_noop.h",
"include/perfetto/ext/base/watchdog_posix.h",
"include/perfetto/ext/base/weak_ptr.h",
],
)
# GN target: //include/perfetto/ext/ipc:ipc
filegroup(
name = "include_perfetto_ext_ipc_ipc",
srcs = [
"include/perfetto/ext/ipc/async_result.h",
"include/perfetto/ext/ipc/basic_types.h",
"include/perfetto/ext/ipc/client.h",
"include/perfetto/ext/ipc/client_info.h",
"include/perfetto/ext/ipc/codegen_helpers.h",
"include/perfetto/ext/ipc/deferred.h",
"include/perfetto/ext/ipc/host.h",
"include/perfetto/ext/ipc/service.h",
"include/perfetto/ext/ipc/service_descriptor.h",
"include/perfetto/ext/ipc/service_proxy.h",
],
)
# GN target: //include/perfetto/ext/trace_processor:export_json
filegroup(
name = "include_perfetto_ext_trace_processor_export_json",
srcs = [
"include/perfetto/ext/trace_processor/export_json.h",
],
)
# GN target: //include/perfetto/ext/traced:sys_stats_counters
filegroup(
name = "include_perfetto_ext_traced_sys_stats_counters",
srcs = [
"include/perfetto/ext/traced/sys_stats_counters.h",
],
)
# GN target: //include/perfetto/ext/traced:traced
filegroup(
name = "include_perfetto_ext_traced_traced",
srcs = [
"include/perfetto/ext/traced/data_source_types.h",
"include/perfetto/ext/traced/traced.h",
],
)
# GN target: //include/perfetto/ext/tracing/core:core
filegroup(
name = "include_perfetto_ext_tracing_core_core",
srcs = [
"include/perfetto/ext/tracing/core/basic_types.h",
"include/perfetto/ext/tracing/core/commit_data_request.h",
"include/perfetto/ext/tracing/core/consumer.h",
"include/perfetto/ext/tracing/core/observable_events.h",
"include/perfetto/ext/tracing/core/producer.h",
"include/perfetto/ext/tracing/core/shared_memory.h",
"include/perfetto/ext/tracing/core/shared_memory_abi.h",
"include/perfetto/ext/tracing/core/shared_memory_arbiter.h",
"include/perfetto/ext/tracing/core/slice.h",
"include/perfetto/ext/tracing/core/startup_trace_writer.h",
"include/perfetto/ext/tracing/core/startup_trace_writer_registry.h",
"include/perfetto/ext/tracing/core/trace_packet.h",
"include/perfetto/ext/tracing/core/trace_stats.h",
"include/perfetto/ext/tracing/core/trace_writer.h",
"include/perfetto/ext/tracing/core/tracing_service.h",
],
)
# GN target: //include/perfetto/ext/tracing/ipc:ipc
filegroup(
name = "include_perfetto_ext_tracing_ipc_ipc",
srcs = [
"include/perfetto/ext/tracing/ipc/consumer_ipc_client.h",
"include/perfetto/ext/tracing/ipc/default_socket.h",
"include/perfetto/ext/tracing/ipc/producer_ipc_client.h",
"include/perfetto/ext/tracing/ipc/service_ipc_host.h",
],
)
# GN target: //include/perfetto/profiling:deobfuscator
filegroup(
name = "include_perfetto_profiling_deobfuscator",
srcs = [
"include/perfetto/profiling/deobfuscator.h",
],
)
# GN target: //include/perfetto/profiling:pprof_builder
filegroup(
name = "include_perfetto_profiling_pprof_builder",
srcs = [
"include/perfetto/profiling/pprof_builder.h",
],
)
# GN target: //include/perfetto/protozero:protozero
filegroup(
name = "include_perfetto_protozero_protozero",
srcs = [
"include/perfetto/protozero/contiguous_memory_range.h",
"include/perfetto/protozero/copyable_ptr.h",
"include/perfetto/protozero/cpp_message_obj.h",
"include/perfetto/protozero/field.h",
"include/perfetto/protozero/message.h",
"include/perfetto/protozero/message_handle.h",
"include/perfetto/protozero/packed_repeated_fields.h",
"include/perfetto/protozero/proto_decoder.h",
"include/perfetto/protozero/proto_utils.h",
"include/perfetto/protozero/scattered_heap_buffer.h",
"include/perfetto/protozero/scattered_stream_null_delegate.h",
"include/perfetto/protozero/scattered_stream_writer.h",
"include/perfetto/protozero/static_buffer.h",
],
)
# GN target: //include/perfetto/public:public
filegroup(
name = "include_perfetto_public_public",
srcs = [
"include/perfetto/public/consumer_api.h",
],
)
# GN target: //include/perfetto/trace_processor:basic_types
filegroup(
name = "include_perfetto_trace_processor_basic_types",
srcs = [
"include/perfetto/trace_processor/basic_types.h",
"include/perfetto/trace_processor/status.h",
],
)
# GN target: //include/perfetto/trace_processor:storage
filegroup(
name = "include_perfetto_trace_processor_storage",
srcs = [
"include/perfetto/trace_processor/trace_processor_storage.h",
],
)
# GN target: //include/perfetto/trace_processor:trace_processor
filegroup(
name = "include_perfetto_trace_processor_trace_processor",
srcs = [
"include/perfetto/trace_processor/read_trace.h",
"include/perfetto/trace_processor/trace_processor.h",
],
)
# GN target: //include/perfetto/tracing/core:core
filegroup(
name = "include_perfetto_tracing_core_core",
srcs = [
"include/perfetto/tracing/core/chrome_config.h",
"include/perfetto/tracing/core/data_source_config.h",
"include/perfetto/tracing/core/data_source_descriptor.h",
"include/perfetto/tracing/core/trace_config.h",
"include/perfetto/tracing/core/tracing_service_state.h",
],
)
# GN target: //include/perfetto/tracing/core:forward_decls
filegroup(
name = "include_perfetto_tracing_core_forward_decls",
srcs = [
"include/perfetto/tracing/core/forward_decls.h",
],
)
# GN target: //include/perfetto/tracing:tracing
filegroup(
name = "include_perfetto_tracing_tracing",
srcs = [
"include/perfetto/tracing/buffer_exhausted_policy.h",
"include/perfetto/tracing/data_source.h",
"include/perfetto/tracing/debug_annotation.h",
"include/perfetto/tracing/event_context.h",
"include/perfetto/tracing/internal/basic_types.h",
"include/perfetto/tracing/internal/data_source_internal.h",
"include/perfetto/tracing/internal/tracing_muxer.h",
"include/perfetto/tracing/internal/tracing_tls.h",
"include/perfetto/tracing/internal/track_event_data_source.h",
"include/perfetto/tracing/internal/track_event_internal.h",
"include/perfetto/tracing/internal/track_event_macros.h",
"include/perfetto/tracing/locked_handle.h",
"include/perfetto/tracing/platform.h",
"include/perfetto/tracing/trace_writer_base.h",
"include/perfetto/tracing/tracing.h",
"include/perfetto/tracing/tracing_backend.h",
"include/perfetto/tracing/track.h",
"include/perfetto/tracing/track_event.h",
"include/perfetto/tracing/track_event_category_registry.h",
"include/perfetto/tracing/track_event_interned_data_index.h",
"include/perfetto/tracing/track_event_legacy.h",
],
)
# GN target: //src/android_internal:headers
filegroup(
name = "src_android_internal_headers",
srcs = [
"src/android_internal/atrace_hal.h",
"src/android_internal/dropbox_service.h",
"src/android_internal/health_hal.h",
"src/android_internal/incident_service.h",
"src/android_internal/power_stats_hal.h",
"src/android_internal/statsd_logging.h",
],
)
# GN target: //src/android_internal:lazy_library_loader
filegroup(
name = "src_android_internal_lazy_library_loader",
srcs = [
"src/android_internal/lazy_library_loader.cc",
"src/android_internal/lazy_library_loader.h",
],
)
# GN target: //src/base:base
filegroup(
name = "src_base_base",
srcs = [
"src/base/event_fd.cc",
"src/base/file_utils.cc",
"src/base/logging.cc",
"src/base/metatrace.cc",
"src/base/paged_memory.cc",
"src/base/pipe.cc",
"src/base/string_splitter.cc",
"src/base/string_utils.cc",
"src/base/string_view.cc",
"src/base/temp_file.cc",
"src/base/thread_checker.cc",
"src/base/thread_task_runner.cc",
"src/base/time.cc",
"src/base/unix_task_runner.cc",
"src/base/uuid.cc",
"src/base/virtual_destructors.cc",
"src/base/waitable_event.cc",
"src/base/watchdog_posix.cc",
],
)
# GN target: //src/base:unix_socket
filegroup(
name = "src_base_unix_socket",
srcs = [
"src/base/unix_socket.cc",
],
)
# GN target: //src/ipc:client
filegroup(
name = "src_ipc_client",
srcs = [
"src/ipc/client_impl.cc",
"src/ipc/client_impl.h",
"src/ipc/service_proxy.cc",
],
)
# GN target: //src/ipc:common
filegroup(
name = "src_ipc_common",
srcs = [
"src/ipc/buffered_frame_deserializer.cc",
"src/ipc/buffered_frame_deserializer.h",
"src/ipc/deferred.cc",
"src/ipc/virtual_destructors.cc",
],
)
# GN target: //src/ipc:host
filegroup(
name = "src_ipc_host",
srcs = [
"src/ipc/host_impl.cc",
"src/ipc/host_impl.h",
],
)
# GN target: //src/perfetto_cmd:perfetto_atoms
filegroup(
name = "src_perfetto_cmd_perfetto_atoms",
srcs = [
"src/perfetto_cmd/perfetto_atoms.h",
],
)
# GN target: //src/perfetto_cmd:perfetto_cmd
filegroup(
name = "src_perfetto_cmd_perfetto_cmd",
srcs = [
"src/perfetto_cmd/config.cc",
"src/perfetto_cmd/config.h",
"src/perfetto_cmd/packet_writer.cc",
"src/perfetto_cmd/packet_writer.h",
"src/perfetto_cmd/pbtxt_to_pb.cc",
"src/perfetto_cmd/pbtxt_to_pb.h",
"src/perfetto_cmd/perfetto_cmd.cc",
"src/perfetto_cmd/perfetto_cmd.h",
"src/perfetto_cmd/perfetto_config.descriptor.h",
"src/perfetto_cmd/rate_limiter.cc",
"src/perfetto_cmd/rate_limiter.h",
],
)
# GN target: //src/perfetto_cmd:trigger_producer
filegroup(
name = "src_perfetto_cmd_trigger_producer",
srcs = [
"src/perfetto_cmd/trigger_producer.cc",
"src/perfetto_cmd/trigger_producer.h",
],
)
# GN target: //src/profiling/symbolizer:symbolize_database
filegroup(
name = "src_profiling_symbolizer_symbolize_database",
srcs = [
"src/profiling/symbolizer/symbolize_database.cc",
"src/profiling/symbolizer/symbolize_database.h",
],
)
# GN target: //src/profiling/symbolizer:symbolizer
filegroup(
name = "src_profiling_symbolizer_symbolizer",
srcs = [
"src/profiling/symbolizer/local_symbolizer.cc",
"src/profiling/symbolizer/local_symbolizer.h",
"src/profiling/symbolizer/symbolizer.cc",
"src/profiling/symbolizer/symbolizer.h",
],
)
# GN target: //src/profiling:deobfuscator
filegroup(
name = "src_profiling_deobfuscator",
srcs = [
"src/profiling/deobfuscator.cc",
],
)
# GN target: //src/protozero:protozero
filegroup(
name = "src_protozero_protozero",
srcs = [
"src/protozero/field.cc",
"src/protozero/message.cc",
"src/protozero/message_handle.cc",
"src/protozero/packed_repeated_fields.cc",
"src/protozero/proto_decoder.cc",
"src/protozero/scattered_heap_buffer.cc",
"src/protozero/scattered_stream_null_delegate.cc",
"src/protozero/scattered_stream_writer.cc",
"src/protozero/static_buffer.cc",
"src/protozero/virtual_destructors.cc",
],
)
# GN target: //src/trace_processor/containers:containers
filegroup(
name = "src_trace_processor_containers_containers",
srcs = [
"src/trace_processor/containers/bit_vector.cc",
"src/trace_processor/containers/bit_vector.h",
"src/trace_processor/containers/bit_vector_iterators.cc",
"src/trace_processor/containers/bit_vector_iterators.h",
"src/trace_processor/containers/null_term_string_view.h",
"src/trace_processor/containers/row_map.cc",
"src/trace_processor/containers/row_map.h",
"src/trace_processor/containers/sparse_vector.h",
"src/trace_processor/containers/string_pool.cc",
"src/trace_processor/containers/string_pool.h",
],
)
# GN target: //src/trace_processor/db:lib
filegroup(
name = "src_trace_processor_db_lib",
srcs = [
"src/trace_processor/db/column.cc",
"src/trace_processor/db/column.h",
"src/trace_processor/db/compare.h",
"src/trace_processor/db/table.cc",
"src/trace_processor/db/table.h",
"src/trace_processor/db/typed_column.h",
"src/trace_processor/db/typed_column_internal.h",
],
)
genrule(
name = "src_trace_processor_metrics_gen_merged_sql_metrics",
srcs = [
"src/trace_processor/metrics/android/android_batt.sql",
"src/trace_processor/metrics/android/android_cpu.sql",
"src/trace_processor/metrics/android/android_cpu_agg.sql",
"src/trace_processor/metrics/android/android_hwui_metric.sql",
"src/trace_processor/metrics/android/android_ion.sql",
"src/trace_processor/metrics/android/android_lmk.sql",
"src/trace_processor/metrics/android/android_lmk_reason.sql",
"src/trace_processor/metrics/android/android_mem.sql",
"src/trace_processor/metrics/android/android_mem_unagg.sql",
"src/trace_processor/metrics/android/android_package_list.sql",
"src/trace_processor/metrics/android/android_powrails.sql",
"src/trace_processor/metrics/android/android_startup.sql",
"src/trace_processor/metrics/android/android_startup_cpu.sql",
"src/trace_processor/metrics/android/android_startup_launches.sql",
"src/trace_processor/metrics/android/android_task_state.sql",
"src/trace_processor/metrics/android/heap_profile_callsites.sql",
"src/trace_processor/metrics/android/java_heap_stats.sql",
"src/trace_processor/metrics/android/mem_stats_priority_breakdown.sql",
"src/trace_processor/metrics/android/process_mem.sql",
"src/trace_processor/metrics/android/process_metadata.sql",
"src/trace_processor/metrics/android/process_oom_score.sql",
"src/trace_processor/metrics/android/process_unagg_mem_view.sql",
"src/trace_processor/metrics/android/span_view_stats.sql",
"src/trace_processor/metrics/android/unmapped_java_symbols.sql",
"src/trace_processor/metrics/android/unsymbolized_frames.sql",
"src/trace_processor/metrics/android/upid_span_view.sql",
"src/trace_processor/metrics/trace_metadata.sql",
],
outs = [
"src/trace_processor/metrics/sql_metrics.h",
],
cmd = "$(location gen_merged_sql_metrics_py) --cpp_out=$@ $(SRCS)",
tools = [
":gen_merged_sql_metrics_py",
],
)
# GN target: //src/trace_processor/metrics:lib
filegroup(
name = "src_trace_processor_metrics_lib",
srcs = [
"src/trace_processor/metrics/custom_options.descriptor.h",
"src/trace_processor/metrics/metrics.cc",
"src/trace_processor/metrics/metrics.descriptor.h",
"src/trace_processor/metrics/metrics.h",
],
)
# GN target: //src/trace_processor/rpc:httpd
filegroup(
name = "src_trace_processor_rpc_httpd",
srcs = [
"src/trace_processor/rpc/httpd.cc",
"src/trace_processor/rpc/httpd.h",
],
)
# GN target: //src/trace_processor/rpc:rpc
filegroup(
name = "src_trace_processor_rpc_rpc",
srcs = [
"src/trace_processor/rpc/rpc.cc",
"src/trace_processor/rpc/rpc.h",
],
)
# GN target: //src/trace_processor/sqlite:sqlite
filegroup(
name = "src_trace_processor_sqlite_sqlite",
srcs = [
"src/trace_processor/sqlite/db_sqlite_table.cc",
"src/trace_processor/sqlite/db_sqlite_table.h",
"src/trace_processor/sqlite/query_cache.h",
"src/trace_processor/sqlite/query_constraints.cc",
"src/trace_processor/sqlite/query_constraints.h",
"src/trace_processor/sqlite/scoped_db.h",
"src/trace_processor/sqlite/sqlite3_str_split.cc",
"src/trace_processor/sqlite/sqlite3_str_split.h",
"src/trace_processor/sqlite/sqlite_table.cc",
"src/trace_processor/sqlite/sqlite_table.h",
"src/trace_processor/sqlite/sqlite_utils.h",
],
)
# GN target: //src/trace_processor/tables:tables
filegroup(
name = "src_trace_processor_tables_tables",
srcs = [
"src/trace_processor/tables/android_tables.h",
"src/trace_processor/tables/counter_tables.h",
"src/trace_processor/tables/macros.h",
"src/trace_processor/tables/macros_internal.h",
"src/trace_processor/tables/metadata_tables.h",
"src/trace_processor/tables/profiler_tables.h",
"src/trace_processor/tables/slice_tables.h",
"src/trace_processor/tables/track_tables.h",
],
)
# GN target: //src/trace_processor/types:types
filegroup(
name = "src_trace_processor_types_types",
srcs = [
"src/trace_processor/types/gfp_flags.cc",
"src/trace_processor/types/gfp_flags.h",
"src/trace_processor/types/variadic.cc",
"src/trace_processor/types/variadic.h",
],
)
# GN target: //src/trace_processor:descriptors
filegroup(
name = "src_trace_processor_descriptors",
srcs = [
"src/trace_processor/descriptors.cc",
"src/trace_processor/descriptors.h",
],
)
# GN target: //src/trace_processor:export_json
filegroup(
name = "src_trace_processor_export_json",
srcs = [
"src/trace_processor/export_json.cc",
"src/trace_processor/export_json.h",
],
)
# GN target: //src/trace_processor:lib
filegroup(
name = "src_trace_processor_lib",
srcs = [
"src/trace_processor/read_trace.cc",
"src/trace_processor/span_join_operator_table.cc",
"src/trace_processor/span_join_operator_table.h",
"src/trace_processor/sql_stats_table.cc",
"src/trace_processor/sql_stats_table.h",
"src/trace_processor/sqlite_experimental_flamegraph_table.cc",
"src/trace_processor/sqlite_experimental_flamegraph_table.h",
"src/trace_processor/sqlite_raw_table.cc",
"src/trace_processor/sqlite_raw_table.h",
"src/trace_processor/stats_table.cc",
"src/trace_processor/stats_table.h",
"src/trace_processor/trace_processor.cc",
"src/trace_processor/trace_processor_impl.cc",
"src/trace_processor/trace_processor_impl.h",
"src/trace_processor/window_operator_table.cc",
"src/trace_processor/window_operator_table.h",
],
)
# GN target: //src/trace_processor:storage_full
filegroup(
name = "src_trace_processor_storage_full",
srcs = [
"src/trace_processor/importers/ftrace/binder_tracker.cc",
"src/trace_processor/importers/ftrace/binder_tracker.h",
"src/trace_processor/importers/ftrace/ftrace_descriptors.cc",
"src/trace_processor/importers/ftrace/ftrace_descriptors.h",
"src/trace_processor/importers/ftrace/ftrace_module_impl.cc",
"src/trace_processor/importers/ftrace/ftrace_module_impl.h",
"src/trace_processor/importers/ftrace/ftrace_parser.cc",
"src/trace_processor/importers/ftrace/ftrace_parser.h",
"src/trace_processor/importers/ftrace/ftrace_tokenizer.cc",
"src/trace_processor/importers/ftrace/ftrace_tokenizer.h",
"src/trace_processor/importers/ftrace/rss_stat_tracker.cc",
"src/trace_processor/importers/ftrace/rss_stat_tracker.h",
"src/trace_processor/importers/ftrace/sched_event_tracker.cc",
"src/trace_processor/importers/ftrace/sched_event_tracker.h",
"src/trace_processor/importers/proto/android_probes_module.cc",
"src/trace_processor/importers/proto/android_probes_module.h",
"src/trace_processor/importers/proto/android_probes_parser.cc",
"src/trace_processor/importers/proto/android_probes_parser.h",
"src/trace_processor/importers/proto/graphics_event_module.cc",
"src/trace_processor/importers/proto/graphics_event_module.h",
"src/trace_processor/importers/proto/graphics_event_parser.cc",
"src/trace_processor/importers/proto/graphics_event_parser.h",
"src/trace_processor/importers/proto/heap_graph_module.cc",
"src/trace_processor/importers/proto/heap_graph_module.h",
"src/trace_processor/importers/proto/heap_graph_tracker.cc",
"src/trace_processor/importers/proto/heap_graph_tracker.h",
"src/trace_processor/importers/proto/heap_graph_walker.cc",
"src/trace_processor/importers/proto/heap_graph_walker.h",
"src/trace_processor/importers/proto/system_probes_module.cc",
"src/trace_processor/importers/proto/system_probes_module.h",
"src/trace_processor/importers/proto/system_probes_parser.cc",
"src/trace_processor/importers/proto/system_probes_parser.h",
"src/trace_processor/importers/proto/vulkan_memory_tracker.cc",
"src/trace_processor/importers/proto/vulkan_memory_tracker.h",
"src/trace_processor/importers/systrace/systrace_parser.cc",
"src/trace_processor/importers/systrace/systrace_parser.h",
"src/trace_processor/importers/systrace/systrace_trace_parser.cc",
"src/trace_processor/importers/systrace/systrace_trace_parser.h",
"src/trace_processor/register_additional_modules.cc",
"src/trace_processor/register_additional_modules.h",
"src/trace_processor/syscall_tracker.cc",
"src/trace_processor/syscalls_aarch32.h",
"src/trace_processor/syscalls_aarch64.h",
"src/trace_processor/syscalls_armeabi.h",
"src/trace_processor/syscalls_x86_64.h",
],
)
# GN target: //src/trace_processor:storage_minimal
filegroup(
name = "src_trace_processor_storage_minimal",
srcs = [
"src/trace_processor/args_tracker.cc",
"src/trace_processor/args_tracker.h",
"src/trace_processor/chunked_trace_reader.h",
"src/trace_processor/clock_tracker.cc",
"src/trace_processor/clock_tracker.h",
"src/trace_processor/destructible.cc",
"src/trace_processor/destructible.h",
"src/trace_processor/event_tracker.cc",
"src/trace_processor/event_tracker.h",
"src/trace_processor/forwarding_trace_parser.cc",
"src/trace_processor/forwarding_trace_parser.h",
"src/trace_processor/ftrace_utils.cc",
"src/trace_processor/ftrace_utils.h",
"src/trace_processor/global_args_tracker.cc",
"src/trace_processor/global_args_tracker.h",
"src/trace_processor/gzip_trace_parser.cc",
"src/trace_processor/gzip_trace_parser.h",
"src/trace_processor/heap_profile_tracker.cc",
"src/trace_processor/heap_profile_tracker.h",
"src/trace_processor/importers/ftrace/ftrace_module.cc",
"src/trace_processor/importers/ftrace/ftrace_module.h",
"src/trace_processor/importers/fuchsia/fuchsia_record.cc",
"src/trace_processor/importers/fuchsia/fuchsia_record.h",
"src/trace_processor/importers/fuchsia/fuchsia_trace_parser.cc",
"src/trace_processor/importers/fuchsia/fuchsia_trace_parser.h",
"src/trace_processor/importers/fuchsia/fuchsia_trace_tokenizer.cc",
"src/trace_processor/importers/fuchsia/fuchsia_trace_tokenizer.h",
"src/trace_processor/importers/fuchsia/fuchsia_trace_utils.cc",
"src/trace_processor/importers/fuchsia/fuchsia_trace_utils.h",
"src/trace_processor/importers/json/json_trace_parser.cc",
"src/trace_processor/importers/json/json_trace_parser.h",
"src/trace_processor/importers/json/json_trace_tokenizer.cc",
"src/trace_processor/importers/json/json_trace_tokenizer.h",
"src/trace_processor/importers/json/json_trace_utils.cc",
"src/trace_processor/importers/json/json_trace_utils.h",
"src/trace_processor/importers/proto/args_table_utils.cc",
"src/trace_processor/importers/proto/args_table_utils.h",
"src/trace_processor/importers/proto/chrome_compositor_scheduler_state.descriptor.h",
"src/trace_processor/importers/proto/packet_sequence_state.cc",
"src/trace_processor/importers/proto/packet_sequence_state.h",
"src/trace_processor/importers/proto/proto_importer_module.cc",
"src/trace_processor/importers/proto/proto_importer_module.h",
"src/trace_processor/importers/proto/proto_incremental_state.h",
"src/trace_processor/importers/proto/proto_trace_parser.cc",
"src/trace_processor/importers/proto/proto_trace_parser.h",
"src/trace_processor/importers/proto/proto_trace_tokenizer.cc",
"src/trace_processor/importers/proto/proto_trace_tokenizer.h",
"src/trace_processor/importers/proto/track_event_module.cc",
"src/trace_processor/importers/proto/track_event_module.h",
"src/trace_processor/importers/proto/track_event_parser.cc",
"src/trace_processor/importers/proto/track_event_parser.h",
"src/trace_processor/importers/proto/track_event_tokenizer.cc",
"src/trace_processor/importers/proto/track_event_tokenizer.h",
"src/trace_processor/metadata.h",
"src/trace_processor/metadata_tracker.cc",
"src/trace_processor/metadata_tracker.h",
"src/trace_processor/process_tracker.cc",
"src/trace_processor/process_tracker.h",
"src/trace_processor/slice_tracker.cc",
"src/trace_processor/slice_tracker.h",
"src/trace_processor/stack_profile_tracker.cc",
"src/trace_processor/stack_profile_tracker.h",
"src/trace_processor/stats.h",
"src/trace_processor/syscall_tracker.h",
"src/trace_processor/timestamped_trace_piece.h",
"src/trace_processor/trace_blob_view.h",
"src/trace_processor/trace_parser.h",
"src/trace_processor/trace_processor_context.cc",
"src/trace_processor/trace_processor_context.h",
"src/trace_processor/trace_processor_storage.cc",
"src/trace_processor/trace_processor_storage_impl.cc",
"src/trace_processor/trace_processor_storage_impl.h",
"src/trace_processor/trace_sorter.cc",
"src/trace_processor/trace_sorter.h",
"src/trace_processor/trace_storage.cc",
"src/trace_processor/trace_storage.h",
"src/trace_processor/track_tracker.cc",
"src/trace_processor/track_tracker.h",
"src/trace_processor/virtual_destructors.cc",
],
)
# GN target: //src/traced/probes/android_log:android_log
filegroup(
name = "src_traced_probes_android_log_android_log",
srcs = [
"src/traced/probes/android_log/android_log_data_source.cc",
"src/traced/probes/android_log/android_log_data_source.h",
],
)
# GN target: //src/traced/probes/filesystem:filesystem
filegroup(
name = "src_traced_probes_filesystem_filesystem",
srcs = [
"src/traced/probes/filesystem/file_scanner.cc",
"src/traced/probes/filesystem/file_scanner.h",
"src/traced/probes/filesystem/fs_mount.cc",
"src/traced/probes/filesystem/fs_mount.h",
"src/traced/probes/filesystem/inode_file_data_source.cc",
"src/traced/probes/filesystem/inode_file_data_source.h",
"src/traced/probes/filesystem/lru_inode_cache.cc",
"src/traced/probes/filesystem/lru_inode_cache.h",
"src/traced/probes/filesystem/prefix_finder.cc",
"src/traced/probes/filesystem/prefix_finder.h",
"src/traced/probes/filesystem/range_tree.cc",
"src/traced/probes/filesystem/range_tree.h",
],
)
# GN target: //src/traced/probes/ftrace:format_parser
filegroup(
name = "src_traced_probes_ftrace_format_parser",
srcs = [
"src/traced/probes/ftrace/format_parser.cc",
"src/traced/probes/ftrace/format_parser.h",
],
)
# GN target: //src/traced/probes/ftrace:ftrace
filegroup(
name = "src_traced_probes_ftrace_ftrace",
srcs = [
"src/traced/probes/ftrace/atrace_hal_wrapper.cc",
"src/traced/probes/ftrace/atrace_hal_wrapper.h",
"src/traced/probes/ftrace/atrace_wrapper.cc",
"src/traced/probes/ftrace/atrace_wrapper.h",
"src/traced/probes/ftrace/compact_sched.cc",
"src/traced/probes/ftrace/compact_sched.h",
"src/traced/probes/ftrace/cpu_reader.cc",
"src/traced/probes/ftrace/cpu_reader.h",
"src/traced/probes/ftrace/cpu_stats_parser.cc",
"src/traced/probes/ftrace/cpu_stats_parser.h",
"src/traced/probes/ftrace/event_info.cc",
"src/traced/probes/ftrace/event_info.h",
"src/traced/probes/ftrace/event_info_constants.cc",
"src/traced/probes/ftrace/event_info_constants.h",
"src/traced/probes/ftrace/ftrace_config_muxer.cc",
"src/traced/probes/ftrace/ftrace_config_muxer.h",
"src/traced/probes/ftrace/ftrace_config_utils.cc",
"src/traced/probes/ftrace/ftrace_config_utils.h",
"src/traced/probes/ftrace/ftrace_controller.cc",
"src/traced/probes/ftrace/ftrace_controller.h",
"src/traced/probes/ftrace/ftrace_data_source.cc",
"src/traced/probes/ftrace/ftrace_data_source.h",
"src/traced/probes/ftrace/ftrace_metadata.h",
"src/traced/probes/ftrace/ftrace_procfs.cc",
"src/traced/probes/ftrace/ftrace_procfs.h",
"src/traced/probes/ftrace/ftrace_stats.cc",
"src/traced/probes/ftrace/ftrace_stats.h",
"src/traced/probes/ftrace/proto_translation_table.cc",
"src/traced/probes/ftrace/proto_translation_table.h",
],
)
# GN target: //src/traced/probes/metatrace:metatrace
filegroup(
name = "src_traced_probes_metatrace_metatrace",
srcs = [
"src/traced/probes/metatrace/metatrace_data_source.cc",
"src/traced/probes/metatrace/metatrace_data_source.h",
],
)
# GN target: //src/traced/probes/packages_list:packages_list
filegroup(
name = "src_traced_probes_packages_list_packages_list",
srcs = [
"src/traced/probes/packages_list/packages_list_data_source.cc",
"src/traced/probes/packages_list/packages_list_data_source.h",
],
)
# GN target: //src/traced/probes/power:power
filegroup(
name = "src_traced_probes_power_power",
srcs = [
"src/traced/probes/power/android_power_data_source.cc",
"src/traced/probes/power/android_power_data_source.h",
],
)
# GN target: //src/traced/probes/ps:ps
filegroup(
name = "src_traced_probes_ps_ps",
srcs = [
"src/traced/probes/ps/process_stats_data_source.cc",
"src/traced/probes/ps/process_stats_data_source.h",
],
)
# GN target: //src/traced/probes/sys_stats:sys_stats
filegroup(
name = "src_traced_probes_sys_stats_sys_stats",
srcs = [
"src/traced/probes/sys_stats/sys_stats_data_source.cc",
"src/traced/probes/sys_stats/sys_stats_data_source.h",
],
)
# GN target: //src/traced/probes:data_source
filegroup(
name = "src_traced_probes_data_source",
srcs = [
"src/traced/probes/probes_data_source.cc",
"src/traced/probes/probes_data_source.h",
],
)
# GN target: //src/traced/probes:probes
filegroup(
name = "src_traced_probes_probes",
srcs = [
"src/traced/probes/probes.cc",
],
)
# GN target: //src/traced/probes:probes_src
filegroup(
name = "src_traced_probes_probes_src",
srcs = [
"src/traced/probes/probes_producer.cc",
"src/traced/probes/probes_producer.h",
],
)
# GN target: //src/traced/service:service
filegroup(
name = "src_traced_service_service",
srcs = [
"src/traced/service/builtin_producer.cc",
"src/traced/service/builtin_producer.h",
"src/traced/service/service.cc",
],
)
# GN target: //src/tracing/consumer_api_deprecated:consumer_api_deprecated
filegroup(
name = "src_tracing_consumer_api_deprecated_consumer_api_deprecated",
srcs = [
"src/tracing/consumer_api_deprecated/consumer_api_deprecated.cc",
],
)
# GN target: //src/tracing/core:core
filegroup(
name = "src_tracing_core_core",
srcs = [
"src/tracing/core/id_allocator.cc",
"src/tracing/core/id_allocator.h",
"src/tracing/core/null_trace_writer.cc",
"src/tracing/core/null_trace_writer.h",
"src/tracing/core/patch_list.h",
"src/tracing/core/shared_memory_abi.cc",
"src/tracing/core/shared_memory_arbiter_impl.cc",
"src/tracing/core/shared_memory_arbiter_impl.h",
"src/tracing/core/startup_trace_writer.cc",
"src/tracing/core/startup_trace_writer_registry.cc",
"src/tracing/core/trace_packet.cc",
"src/tracing/core/trace_writer_impl.cc",
"src/tracing/core/trace_writer_impl.h",
"src/tracing/core/virtual_destructors.cc",
],
)
# GN target: //src/tracing/core:service
filegroup(
name = "src_tracing_core_service",
srcs = [
"src/tracing/core/metatrace_writer.cc",
"src/tracing/core/metatrace_writer.h",
"src/tracing/core/packet_stream_validator.cc",
"src/tracing/core/packet_stream_validator.h",
"src/tracing/core/trace_buffer.cc",
"src/tracing/core/trace_buffer.h",
"src/tracing/core/tracing_service_impl.cc",
"src/tracing/core/tracing_service_impl.h",
],
)
# GN target: //src/tracing/ipc/consumer:consumer
filegroup(
name = "src_tracing_ipc_consumer_consumer",
srcs = [
"src/tracing/ipc/consumer/consumer_ipc_client_impl.cc",
"src/tracing/ipc/consumer/consumer_ipc_client_impl.h",
],
)
# GN target: //src/tracing/ipc/producer:producer
filegroup(
name = "src_tracing_ipc_producer_producer",
srcs = [
"src/tracing/ipc/producer/producer_ipc_client_impl.cc",
"src/tracing/ipc/producer/producer_ipc_client_impl.h",
],
)
# GN target: //src/tracing/ipc/service:service
filegroup(
name = "src_tracing_ipc_service_service",
srcs = [
"src/tracing/ipc/service/consumer_ipc_service.cc",
"src/tracing/ipc/service/consumer_ipc_service.h",
"src/tracing/ipc/service/producer_ipc_service.cc",
"src/tracing/ipc/service/producer_ipc_service.h",
"src/tracing/ipc/service/service_ipc_host_impl.cc",
"src/tracing/ipc/service/service_ipc_host_impl.h",
],
)
# GN target: //src/tracing/ipc:common
filegroup(
name = "src_tracing_ipc_common",
srcs = [
"src/tracing/ipc/default_socket.cc",
"src/tracing/ipc/posix_shared_memory.cc",
"src/tracing/ipc/posix_shared_memory.h",
],
)
# GN target: //src/tracing:client_api_base
filegroup(
name = "src_tracing_client_api_base",
srcs = [
"src/tracing/data_source.cc",
"src/tracing/debug_annotation.cc",
"src/tracing/event_context.cc",
"src/tracing/internal/in_process_tracing_backend.h",
"src/tracing/internal/system_tracing_backend.h",
"src/tracing/internal/tracing_muxer_impl.cc",
"src/tracing/internal/tracing_muxer_impl.h",
"src/tracing/internal/track_event_internal.cc",
"src/tracing/platform.cc",
"src/tracing/tracing.cc",
"src/tracing/track.cc",
"src/tracing/track_event_category_registry.cc",
"src/tracing/virtual_destructors.cc",
],
)
# GN target: //src/tracing:common
filegroup(
name = "src_tracing_common",
srcs = [
"src/tracing/trace_writer_base.cc",
],
)
# GN target: //src/tracing:in_process_backend
filegroup(
name = "src_tracing_in_process_backend",
srcs = [
"src/tracing/internal/in_process_tracing_backend.cc",
],
)
# GN target: //src/tracing:platform_posix
filegroup(
name = "src_tracing_platform_posix",
srcs = [
"src/tracing/platform_posix.cc",
],
)
# GN target: //src/tracing:system_process_backend
filegroup(
name = "src_tracing_system_process_backend",
srcs = [
"src/tracing/internal/system_tracing_backend.cc",
],
)
# GN target: //tools/trace_to_text:common
filegroup(
name = "tools_trace_to_text_common",
srcs = [
"tools/trace_to_text/deobfuscate_profile.cc",
"tools/trace_to_text/deobfuscate_profile.h",
"tools/trace_to_text/main.cc",
"tools/trace_to_text/symbolize_profile.cc",
"tools/trace_to_text/symbolize_profile.h",
"tools/trace_to_text/trace_to_json.cc",
"tools/trace_to_text/trace_to_json.h",
"tools/trace_to_text/trace_to_profile.cc",
"tools/trace_to_text/trace_to_profile.h",
"tools/trace_to_text/trace_to_systrace.cc",
"tools/trace_to_text/trace_to_systrace.h",
"tools/trace_to_text/trace_to_text.h",
],
)
# GN target: //tools/trace_to_text:full
filegroup(
name = "tools_trace_to_text_full",
srcs = [
"tools/trace_to_text/proto_full_utils.cc",
"tools/trace_to_text/proto_full_utils.h",
"tools/trace_to_text/trace_to_text.cc",
],
)
# GN target: //tools/trace_to_text:pprofbuilder
filegroup(
name = "tools_trace_to_text_pprofbuilder",
srcs = [
"tools/trace_to_text/pprof_builder.cc",
],
)
# GN target: //tools/trace_to_text:utils
filegroup(
name = "tools_trace_to_text_utils",
srcs = [
"tools/trace_to_text/utils.cc",
"tools/trace_to_text/utils.h",
],
)
# ##############################################################################
# Proto libraries
# ##############################################################################
# GN target: //protos/perfetto/common:cpp
perfetto_cc_protocpp_library(
name = "protos_perfetto_common_cpp",
deps = [
":protos_perfetto_common_protos",
],
)
# GN target: //protos/perfetto/common:lite
perfetto_cc_proto_library(
name = "protos_perfetto_common_lite",
deps = [
":protos_perfetto_common_protos",
],
)
# GN target: //protos/perfetto/common:zero
perfetto_proto_library(
name = "protos_perfetto_common_protos",
srcs = [
"protos/perfetto/common/android_log_constants.proto",
"protos/perfetto/common/commit_data_request.proto",
"protos/perfetto/common/data_source_descriptor.proto",
"protos/perfetto/common/descriptor.proto",
"protos/perfetto/common/gpu_counter_descriptor.proto",
"protos/perfetto/common/observable_events.proto",
"protos/perfetto/common/sys_stats_counters.proto",
"protos/perfetto/common/trace_stats.proto",
"protos/perfetto/common/tracing_service_state.proto",
"protos/perfetto/common/track_event_descriptor.proto",
],
visibility = [
PERFETTO_CONFIG.proto_library_visibility,
],
)
# GN target: //protos/perfetto/common:zero
perfetto_cc_protozero_library(
name = "protos_perfetto_common_zero",
deps = [
":protos_perfetto_common_protos",
],
)
# GN target: //protos/perfetto/config/android:cpp
perfetto_cc_protocpp_library(
name = "protos_perfetto_config_android_cpp",
deps = [
":protos_perfetto_config_android_protos",
":protos_perfetto_common_cpp",
],
)
# GN target: //protos/perfetto/config/android:lite
perfetto_cc_proto_library(
name = "protos_perfetto_config_android_lite",
deps = [
":protos_perfetto_config_android_protos",
],
)
# GN target: //protos/perfetto/config/android:zero
perfetto_proto_library(
name = "protos_perfetto_config_android_protos",
srcs = [
"protos/perfetto/config/android/android_log_config.proto",
"protos/perfetto/config/android/packages_list_config.proto",
],
visibility = [
PERFETTO_CONFIG.proto_library_visibility,
],
deps = [
":protos_perfetto_common_protos",
],
)
# GN target: //protos/perfetto/config/android:zero
perfetto_cc_protozero_library(
name = "protos_perfetto_config_android_zero",
deps = [
":protos_perfetto_config_android_protos",
],
)
# GN target: //protos/perfetto/config:cpp
perfetto_cc_protocpp_library(
name = "protos_perfetto_config_cpp",
deps = [
":protos_perfetto_config_protos",
":protos_perfetto_config_process_stats_cpp",
":protos_perfetto_config_android_cpp",
":protos_perfetto_config_inode_file_cpp",
":protos_perfetto_config_ftrace_cpp",
":protos_perfetto_config_profiling_cpp",
":protos_perfetto_config_gpu_cpp",
":protos_perfetto_config_power_cpp",
":protos_perfetto_common_cpp",
":protos_perfetto_config_sys_stats_cpp",
],
)
# GN target: //protos/perfetto/config/ftrace:cpp
perfetto_cc_protocpp_library(
name = "protos_perfetto_config_ftrace_cpp",
deps = [
":protos_perfetto_config_ftrace_protos",
],
)
# GN target: //protos/perfetto/config/ftrace:lite
perfetto_cc_proto_library(
name = "protos_perfetto_config_ftrace_lite",
deps = [
":protos_perfetto_config_ftrace_protos",
],
)
# GN target: //protos/perfetto/config/ftrace:zero
perfetto_proto_library(
name = "protos_perfetto_config_ftrace_protos",
srcs = [
"protos/perfetto/config/ftrace/ftrace_config.proto",
],
visibility = [
PERFETTO_CONFIG.proto_library_visibility,
],
)
# GN target: //protos/perfetto/config/ftrace:zero
perfetto_cc_protozero_library(
name = "protos_perfetto_config_ftrace_zero",
deps = [
":protos_perfetto_config_ftrace_protos",
],
)
# GN target: //protos/perfetto/config/gpu:cpp
perfetto_cc_protocpp_library(
name = "protos_perfetto_config_gpu_cpp",
deps = [
":protos_perfetto_config_gpu_protos",
],
)
# GN target: //protos/perfetto/config/gpu:lite
perfetto_cc_proto_library(
name = "protos_perfetto_config_gpu_lite",
deps = [
":protos_perfetto_config_gpu_protos",
],
)
# GN target: //protos/perfetto/config/gpu:zero
perfetto_proto_library(
name = "protos_perfetto_config_gpu_protos",
srcs = [
"protos/perfetto/config/gpu/gpu_counter_config.proto",
"protos/perfetto/config/gpu/vulkan_memory_config.proto",
],
visibility = [
PERFETTO_CONFIG.proto_library_visibility,
],
)
# GN target: //protos/perfetto/config/gpu:zero
perfetto_cc_protozero_library(
name = "protos_perfetto_config_gpu_zero",
deps = [
":protos_perfetto_config_gpu_protos",
],
)
# GN target: //protos/perfetto/config/inode_file:cpp
perfetto_cc_protocpp_library(
name = "protos_perfetto_config_inode_file_cpp",
deps = [
":protos_perfetto_config_inode_file_protos",
],
)
# GN target: //protos/perfetto/config/inode_file:lite
perfetto_cc_proto_library(
name = "protos_perfetto_config_inode_file_lite",
deps = [
":protos_perfetto_config_inode_file_protos",
],
)
# GN target: //protos/perfetto/config/inode_file:zero
perfetto_proto_library(
name = "protos_perfetto_config_inode_file_protos",
srcs = [
"protos/perfetto/config/inode_file/inode_file_config.proto",
],
visibility = [
PERFETTO_CONFIG.proto_library_visibility,
],
)
# GN target: //protos/perfetto/config/inode_file:zero
perfetto_cc_protozero_library(
name = "protos_perfetto_config_inode_file_zero",
deps = [
":protos_perfetto_config_inode_file_protos",
],
)
# GN target: //protos/perfetto/config:lite
perfetto_cc_proto_library(
name = "protos_perfetto_config_lite",
deps = [
":protos_perfetto_config_protos",
],
)
# GN target: //protos/perfetto/config:merged_config
perfetto_cc_proto_library(
name = "protos_perfetto_config_merged_config",
deps = [
":protos_perfetto_config_merged_config_protos",
],
)
# GN target: //protos/perfetto/config:merged_config
perfetto_proto_library(
name = "protos_perfetto_config_merged_config_protos",
srcs = [
"protos/perfetto/config/perfetto_config.proto",
],
visibility = PERFETTO_CONFIG.public_visibility,
)
# GN target: //protos/perfetto/config/power:cpp
perfetto_cc_protocpp_library(
name = "protos_perfetto_config_power_cpp",
deps = [
":protos_perfetto_config_power_protos",
],
)
# GN target: //protos/perfetto/config/power:lite
perfetto_cc_proto_library(
name = "protos_perfetto_config_power_lite",
deps = [
":protos_perfetto_config_power_protos",
],
)
# GN target: //protos/perfetto/config/power:zero
perfetto_proto_library(
name = "protos_perfetto_config_power_protos",
srcs = [
"protos/perfetto/config/power/android_power_config.proto",
],
visibility = [
PERFETTO_CONFIG.proto_library_visibility,
],
)
# GN target: //protos/perfetto/config/power:zero
perfetto_cc_protozero_library(
name = "protos_perfetto_config_power_zero",
deps = [
":protos_perfetto_config_power_protos",
],
)
# GN target: //protos/perfetto/config/process_stats:cpp
perfetto_cc_protocpp_library(
name = "protos_perfetto_config_process_stats_cpp",
deps = [
":protos_perfetto_config_process_stats_protos",
],
)
# GN target: //protos/perfetto/config/process_stats:lite
perfetto_cc_proto_library(
name = "protos_perfetto_config_process_stats_lite",
deps = [
":protos_perfetto_config_process_stats_protos",
],
)
# GN target: //protos/perfetto/config/process_stats:zero
perfetto_proto_library(
name = "protos_perfetto_config_process_stats_protos",
srcs = [
"protos/perfetto/config/process_stats/process_stats_config.proto",
],
visibility = [
PERFETTO_CONFIG.proto_library_visibility,
],
)
# GN target: //protos/perfetto/config/process_stats:zero
perfetto_cc_protozero_library(
name = "protos_perfetto_config_process_stats_zero",
deps = [
":protos_perfetto_config_process_stats_protos",
],
)
# GN target: //protos/perfetto/config/profiling:cpp
perfetto_cc_protocpp_library(
name = "protos_perfetto_config_profiling_cpp",
deps = [
":protos_perfetto_config_profiling_protos",
],
)
# GN target: //protos/perfetto/config/profiling:lite
perfetto_cc_proto_library(
name = "protos_perfetto_config_profiling_lite",
deps = [
":protos_perfetto_config_profiling_protos",
],
)
# GN target: //protos/perfetto/config/profiling:zero
perfetto_proto_library(
name = "protos_perfetto_config_profiling_protos",
srcs = [
"protos/perfetto/config/profiling/heapprofd_config.proto",
"protos/perfetto/config/profiling/java_hprof_config.proto",
"protos/perfetto/config/profiling/perf_event_config.proto",
],
visibility = [
PERFETTO_CONFIG.proto_library_visibility,
],
)
# GN target: //protos/perfetto/config/profiling:zero
perfetto_cc_protozero_library(
name = "protos_perfetto_config_profiling_zero",
deps = [
":protos_perfetto_config_profiling_protos",
],
)
# GN target: //protos/perfetto/config:zero
perfetto_proto_library(
name = "protos_perfetto_config_protos",
srcs = [
"protos/perfetto/config/chrome/chrome_config.proto",
"protos/perfetto/config/data_source_config.proto",
"protos/perfetto/config/test_config.proto",
"protos/perfetto/config/trace_config.proto",
],
visibility = PERFETTO_CONFIG.public_visibility,
deps = [
":protos_perfetto_common_protos",
":protos_perfetto_config_android_protos",
":protos_perfetto_config_ftrace_protos",
":protos_perfetto_config_gpu_protos",
":protos_perfetto_config_inode_file_protos",
":protos_perfetto_config_power_protos",
":protos_perfetto_config_process_stats_protos",
":protos_perfetto_config_profiling_protos",
":protos_perfetto_config_sys_stats_protos",
],
)
# GN target: //protos/perfetto/config/sys_stats:cpp
perfetto_cc_protocpp_library(
name = "protos_perfetto_config_sys_stats_cpp",
deps = [
":protos_perfetto_config_sys_stats_protos",
":protos_perfetto_common_cpp",
],
)
# GN target: //protos/perfetto/config/sys_stats:lite
perfetto_cc_proto_library(
name = "protos_perfetto_config_sys_stats_lite",
deps = [
":protos_perfetto_config_sys_stats_protos",
],
)
# GN target: //protos/perfetto/config/sys_stats:zero
perfetto_proto_library(
name = "protos_perfetto_config_sys_stats_protos",
srcs = [
"protos/perfetto/config/sys_stats/sys_stats_config.proto",
],
visibility = [
PERFETTO_CONFIG.proto_library_visibility,
],
deps = [
":protos_perfetto_common_protos",
],
)
# GN target: //protos/perfetto/config/sys_stats:zero
perfetto_cc_protozero_library(
name = "protos_perfetto_config_sys_stats_zero",
deps = [
":protos_perfetto_config_sys_stats_protos",
],
)
# GN target: //protos/perfetto/config:zero
perfetto_cc_protozero_library(
name = "protos_perfetto_config_zero",
deps = [
":protos_perfetto_config_protos",
],
)
# GN target: //protos/perfetto/ipc:cpp
perfetto_cc_protocpp_library(
name = "protos_perfetto_ipc_cpp",
deps = [
":protos_perfetto_ipc_protos",
":protos_perfetto_config_process_stats_cpp",
":protos_perfetto_config_android_cpp",
":protos_perfetto_config_inode_file_cpp",
":protos_perfetto_config_ftrace_cpp",
":protos_perfetto_config_profiling_cpp",
":protos_perfetto_config_gpu_cpp",
":protos_perfetto_config_cpp",
":protos_perfetto_config_power_cpp",
":protos_perfetto_common_cpp",
":protos_perfetto_config_sys_stats_cpp",
],
)
# GN target: //protos/perfetto/ipc:ipc
perfetto_cc_ipc_library(
name = "protos_perfetto_ipc_ipc",
deps = [
":protos_perfetto_ipc_protos",
":protos_perfetto_ipc_cpp",
":protos_perfetto_config_process_stats_cpp",
":protos_perfetto_config_android_cpp",
":protos_perfetto_config_inode_file_cpp",
":protos_perfetto_config_ftrace_cpp",
":protos_perfetto_config_profiling_cpp",
":protos_perfetto_ipc_wire_protocol_cpp",
":protos_perfetto_config_gpu_cpp",
":protos_perfetto_config_cpp",
":protos_perfetto_config_power_cpp",
":protos_perfetto_common_cpp",
":protos_perfetto_config_sys_stats_cpp",
],
)
# GN target: //protos/perfetto/ipc:ipc
perfetto_proto_library(
name = "protos_perfetto_ipc_protos",
srcs = [
"protos/perfetto/ipc/consumer_port.proto",
"protos/perfetto/ipc/producer_port.proto",
],
visibility = [
PERFETTO_CONFIG.proto_library_visibility,
],
deps = [
":protos_perfetto_common_protos",
":protos_perfetto_config_android_protos",
":protos_perfetto_config_ftrace_protos",
":protos_perfetto_config_gpu_protos",
":protos_perfetto_config_inode_file_protos",
":protos_perfetto_config_power_protos",
":protos_perfetto_config_process_stats_protos",
":protos_perfetto_config_profiling_protos",
":protos_perfetto_config_protos",
":protos_perfetto_config_sys_stats_protos",
":protos_perfetto_ipc_wire_protocol_protos",
],
)
# GN target: //protos/perfetto/ipc:wire_protocol_cpp
perfetto_cc_protocpp_library(
name = "protos_perfetto_ipc_wire_protocol_cpp",
deps = [
":protos_perfetto_ipc_wire_protocol_protos",
],
)
# GN target: //protos/perfetto/ipc:wire_protocol_cpp
perfetto_proto_library(
name = "protos_perfetto_ipc_wire_protocol_protos",
srcs = [
"protos/perfetto/ipc/wire_protocol.proto",
],
visibility = [
PERFETTO_CONFIG.proto_library_visibility,
],
)
# GN target: //protos/perfetto/metrics/android:lite
perfetto_cc_proto_library(
name = "protos_perfetto_metrics_android_lite",
deps = [
":protos_perfetto_metrics_android_protos",
],
)
# GN target: //protos/perfetto/metrics/android:zero
perfetto_proto_library(
name = "protos_perfetto_metrics_android_protos",
srcs = [
"protos/perfetto/metrics/android/batt_metric.proto",
"protos/perfetto/metrics/android/cpu_metric.proto",
"protos/perfetto/metrics/android/heap_profile_callsites.proto",
"protos/perfetto/metrics/android/hwui_metric.proto",
"protos/perfetto/metrics/android/ion_metric.proto",
"protos/perfetto/metrics/android/java_heap_stats.proto",
"protos/perfetto/metrics/android/lmk_metric.proto",
"protos/perfetto/metrics/android/lmk_reason_metric.proto",
"protos/perfetto/metrics/android/mem_metric.proto",
"protos/perfetto/metrics/android/mem_unagg_metric.proto",
"protos/perfetto/metrics/android/package_list.proto",
"protos/perfetto/metrics/android/powrails_metric.proto",
"protos/perfetto/metrics/android/process_metadata.proto",
"protos/perfetto/metrics/android/startup_metric.proto",
"protos/perfetto/metrics/android/unmapped_java_symbols.proto",
"protos/perfetto/metrics/android/unsymbolized_frames.proto",
],
visibility = PERFETTO_CONFIG.public_visibility,
)
# GN target: //protos/perfetto/metrics/android:zero
perfetto_cc_protozero_library(
name = "protos_perfetto_metrics_android_zero",
deps = [
":protos_perfetto_metrics_android_protos",
],
)
# GN target: //protos/perfetto/metrics:lite
perfetto_cc_proto_library(
name = "protos_perfetto_metrics_lite",
deps = [
":protos_perfetto_metrics_protos",
],
)
# GN target: //protos/perfetto/metrics:zero
perfetto_proto_library(
name = "protos_perfetto_metrics_protos",
srcs = [
"protos/perfetto/metrics/metrics.proto",
],
visibility = PERFETTO_CONFIG.public_visibility,
deps = [
":protos_perfetto_metrics_android_protos",
],
)
# GN target: //protos/perfetto/metrics:zero
perfetto_cc_protozero_library(
name = "protos_perfetto_metrics_zero",
deps = [
":protos_perfetto_metrics_protos",
],
)
# GN target: //protos/perfetto/trace/android:lite
perfetto_cc_proto_library(
name = "protos_perfetto_trace_android_lite",
deps = [
":protos_perfetto_trace_android_protos",
],
)
# GN target: //protos/perfetto/trace/android:zero
perfetto_proto_library(
name = "protos_perfetto_trace_android_protos",
srcs = [
"protos/perfetto/trace/android/android_log.proto",
"protos/perfetto/trace/android/graphics_frame_event.proto",
"protos/perfetto/trace/android/packages_list.proto",
],
visibility = [
PERFETTO_CONFIG.proto_library_visibility,
],
deps = [
":protos_perfetto_common_protos",
],
)
# GN target: //protos/perfetto/trace/android:zero
perfetto_cc_protozero_library(
name = "protos_perfetto_trace_android_zero",
deps = [
":protos_perfetto_trace_android_protos",
],
)
# GN target: //protos/perfetto/trace/chrome:lite
perfetto_cc_proto_library(
name = "protos_perfetto_trace_chrome_lite",
deps = [
":protos_perfetto_trace_chrome_protos",
],
)
# GN target: //protos/perfetto/trace/chrome:zero
perfetto_proto_library(
name = "protos_perfetto_trace_chrome_protos",
srcs = [
"protos/perfetto/trace/chrome/chrome_benchmark_metadata.proto",
"protos/perfetto/trace/chrome/chrome_metadata.proto",
"protos/perfetto/trace/chrome/chrome_trace_event.proto",
],
visibility = [
PERFETTO_CONFIG.proto_library_visibility,
],
)
# GN target: //protos/perfetto/trace/chrome:zero
perfetto_cc_protozero_library(
name = "protos_perfetto_trace_chrome_zero",
deps = [
":protos_perfetto_trace_chrome_protos",
],
)
# GN target: //protos/perfetto/trace/filesystem:lite
perfetto_cc_proto_library(
name = "protos_perfetto_trace_filesystem_lite",
deps = [
":protos_perfetto_trace_filesystem_protos",
],
)
# GN target: //protos/perfetto/trace/filesystem:zero
perfetto_proto_library(
name = "protos_perfetto_trace_filesystem_protos",
srcs = [
"protos/perfetto/trace/filesystem/inode_file_map.proto",
],
visibility = [
PERFETTO_CONFIG.proto_library_visibility,
],
)
# GN target: //protos/perfetto/trace/filesystem:zero
perfetto_cc_protozero_library(
name = "protos_perfetto_trace_filesystem_zero",
deps = [
":protos_perfetto_trace_filesystem_protos",
],
)
# GN target: //protos/perfetto/trace/ftrace:lite
perfetto_cc_proto_library(
name = "protos_perfetto_trace_ftrace_lite",
deps = [
":protos_perfetto_trace_ftrace_protos",
],
)
# GN target: //protos/perfetto/trace/ftrace:zero
perfetto_proto_library(
name = "protos_perfetto_trace_ftrace_protos",
srcs = [
"protos/perfetto/trace/ftrace/binder.proto",
"protos/perfetto/trace/ftrace/block.proto",
"protos/perfetto/trace/ftrace/cgroup.proto",
"protos/perfetto/trace/ftrace/clk.proto",
"protos/perfetto/trace/ftrace/compaction.proto",
"protos/perfetto/trace/ftrace/ext4.proto",
"protos/perfetto/trace/ftrace/f2fs.proto",
"protos/perfetto/trace/ftrace/fence.proto",
"protos/perfetto/trace/ftrace/filemap.proto",
"protos/perfetto/trace/ftrace/ftrace.proto",
"protos/perfetto/trace/ftrace/ftrace_event.proto",
"protos/perfetto/trace/ftrace/ftrace_event_bundle.proto",
"protos/perfetto/trace/ftrace/ftrace_stats.proto",
"protos/perfetto/trace/ftrace/generic.proto",
"protos/perfetto/trace/ftrace/i2c.proto",
"protos/perfetto/trace/ftrace/ipi.proto",
"protos/perfetto/trace/ftrace/irq.proto",
"protos/perfetto/trace/ftrace/kmem.proto",
"protos/perfetto/trace/ftrace/lowmemorykiller.proto",
"protos/perfetto/trace/ftrace/mdss.proto",
"protos/perfetto/trace/ftrace/mm_event.proto",
"protos/perfetto/trace/ftrace/oom.proto",
"protos/perfetto/trace/ftrace/power.proto",
"protos/perfetto/trace/ftrace/raw_syscalls.proto",
"protos/perfetto/trace/ftrace/regulator.proto",
"protos/perfetto/trace/ftrace/sched.proto",
"protos/perfetto/trace/ftrace/sde.proto",
"protos/perfetto/trace/ftrace/signal.proto",
"protos/perfetto/trace/ftrace/sync.proto",
"protos/perfetto/trace/ftrace/systrace.proto",
"protos/perfetto/trace/ftrace/task.proto",
"protos/perfetto/trace/ftrace/test_bundle_wrapper.proto",
"protos/perfetto/trace/ftrace/vmscan.proto",
"protos/perfetto/trace/ftrace/workqueue.proto",
],
visibility = [
PERFETTO_CONFIG.proto_library_visibility,
],
)
# GN target: //protos/perfetto/trace/ftrace:zero
perfetto_cc_protozero_library(
name = "protos_perfetto_trace_ftrace_zero",
deps = [
":protos_perfetto_trace_ftrace_protos",
],
)
# GN target: //protos/perfetto/trace/gpu:lite
perfetto_cc_proto_library(
name = "protos_perfetto_trace_gpu_lite",
deps = [
":protos_perfetto_trace_gpu_protos",
],
)
# GN target: //protos/perfetto/trace/gpu:zero
perfetto_proto_library(
name = "protos_perfetto_trace_gpu_protos",
srcs = [
"protos/perfetto/trace/gpu/gpu_counter_event.proto",
"protos/perfetto/trace/gpu/gpu_log.proto",
"protos/perfetto/trace/gpu/gpu_render_stage_event.proto",
"protos/perfetto/trace/gpu/vulkan_api_event.proto",
"protos/perfetto/trace/gpu/vulkan_memory_event.proto",
],
visibility = [
PERFETTO_CONFIG.proto_library_visibility,
],
deps = [
":protos_perfetto_common_protos",
],
)
# GN target: //protos/perfetto/trace/gpu:zero
perfetto_cc_protozero_library(
name = "protos_perfetto_trace_gpu_zero",
deps = [
":protos_perfetto_trace_gpu_protos",
],
)
# GN target: //protos/perfetto/trace/interned_data:lite
perfetto_cc_proto_library(
name = "protos_perfetto_trace_interned_data_lite",
deps = [
":protos_perfetto_trace_interned_data_protos",
],
)
# GN target: //protos/perfetto/trace/interned_data:zero
perfetto_proto_library(
name = "protos_perfetto_trace_interned_data_protos",
srcs = [
"protos/perfetto/trace/interned_data/interned_data.proto",
],
visibility = [
PERFETTO_CONFIG.proto_library_visibility,
],
deps = [
":protos_perfetto_trace_profiling_protos",
":protos_perfetto_trace_track_event_protos",
],
)
# GN target: //protos/perfetto/trace/interned_data:zero
perfetto_cc_protozero_library(
name = "protos_perfetto_trace_interned_data_zero",
deps = [
":protos_perfetto_trace_interned_data_protos",
],
)
# GN target: //protos/perfetto/trace:merged_trace
perfetto_cc_proto_library(
name = "protos_perfetto_trace_merged_trace",
deps = [
":protos_perfetto_trace_merged_trace_protos",
],
)
# GN target: //protos/perfetto/trace:merged_trace
perfetto_proto_library(
name = "protos_perfetto_trace_merged_trace_protos",
srcs = [
"protos/perfetto/trace/perfetto_trace.proto",
],
visibility = PERFETTO_CONFIG.public_visibility,
)
# GN target: //protos/perfetto/trace:minimal_lite
perfetto_cc_proto_library(
name = "protos_perfetto_trace_minimal_lite",
deps = [
":protos_perfetto_trace_minimal_protos",
],
)
# GN target: //protos/perfetto/trace:minimal_zero
perfetto_proto_library(
name = "protos_perfetto_trace_minimal_protos",
srcs = [
"protos/perfetto/trace/clock_snapshot.proto",
"protos/perfetto/trace/system_info.proto",
"protos/perfetto/trace/trigger.proto",
],
visibility = [
PERFETTO_CONFIG.proto_library_visibility,
],
deps = [
":protos_perfetto_common_protos",
":protos_perfetto_config_android_protos",
":protos_perfetto_config_ftrace_protos",
":protos_perfetto_config_gpu_protos",
":protos_perfetto_config_inode_file_protos",
":protos_perfetto_config_power_protos",
":protos_perfetto_config_process_stats_protos",
":protos_perfetto_config_profiling_protos",
":protos_perfetto_config_protos",
":protos_perfetto_config_sys_stats_protos",
],
)
# GN target: //protos/perfetto/trace:minimal_zero
perfetto_cc_protozero_library(
name = "protos_perfetto_trace_minimal_zero",
deps = [
":protos_perfetto_trace_minimal_protos",
],
)
# GN target: //protos/perfetto/trace:non_minimal_lite
perfetto_cc_proto_library(
name = "protos_perfetto_trace_non_minimal_lite",
deps = [
":protos_perfetto_trace_non_minimal_protos",
],
)
# GN target: //protos/perfetto/trace:non_minimal_zero
perfetto_proto_library(
name = "protos_perfetto_trace_non_minimal_protos",
srcs = [
"protos/perfetto/trace/test_event.proto",
"protos/perfetto/trace/trace.proto",
"protos/perfetto/trace/trace_packet.proto",
"protos/perfetto/trace/trace_packet_defaults.proto",
],
visibility = PERFETTO_CONFIG.public_visibility,
deps = [
":protos_perfetto_common_protos",
":protos_perfetto_config_android_protos",
":protos_perfetto_config_ftrace_protos",
":protos_perfetto_config_gpu_protos",
":protos_perfetto_config_inode_file_protos",
":protos_perfetto_config_power_protos",
":protos_perfetto_config_process_stats_protos",
":protos_perfetto_config_profiling_protos",
":protos_perfetto_config_protos",
":protos_perfetto_config_sys_stats_protos",
":protos_perfetto_trace_android_protos",
":protos_perfetto_trace_chrome_protos",
":protos_perfetto_trace_filesystem_protos",
":protos_perfetto_trace_ftrace_protos",
":protos_perfetto_trace_gpu_protos",
":protos_perfetto_trace_interned_data_protos",
":protos_perfetto_trace_minimal_protos",
":protos_perfetto_trace_perfetto_protos",
":protos_perfetto_trace_power_protos",
":protos_perfetto_trace_profiling_protos",
":protos_perfetto_trace_ps_protos",
":protos_perfetto_trace_sys_stats_protos",
":protos_perfetto_trace_track_event_protos",
],
)
# GN target: //protos/perfetto/trace:non_minimal_zero
perfetto_cc_protozero_library(
name = "protos_perfetto_trace_non_minimal_zero",
deps = [
":protos_perfetto_trace_non_minimal_protos",
],
)
# GN target: //protos/perfetto/trace/perfetto:lite
perfetto_cc_proto_library(
name = "protos_perfetto_trace_perfetto_lite",
deps = [
":protos_perfetto_trace_perfetto_protos",
],
)
# GN target: //protos/perfetto/trace/perfetto:zero
perfetto_proto_library(
name = "protos_perfetto_trace_perfetto_protos",
srcs = [
"protos/perfetto/trace/perfetto/perfetto_metatrace.proto",
],
visibility = [
PERFETTO_CONFIG.proto_library_visibility,
],
)
# GN target: //protos/perfetto/trace/perfetto:zero
perfetto_cc_protozero_library(
name = "protos_perfetto_trace_perfetto_zero",
deps = [
":protos_perfetto_trace_perfetto_protos",
],
)
# GN target: //protos/perfetto/trace/power:lite
perfetto_cc_proto_library(
name = "protos_perfetto_trace_power_lite",
deps = [
":protos_perfetto_trace_power_protos",
],
)
# GN target: //protos/perfetto/trace/power:zero
perfetto_proto_library(
name = "protos_perfetto_trace_power_protos",
srcs = [
"protos/perfetto/trace/power/battery_counters.proto",
"protos/perfetto/trace/power/power_rails.proto",
],
visibility = [
PERFETTO_CONFIG.proto_library_visibility,
],
)
# GN target: //protos/perfetto/trace/power:zero
perfetto_cc_protozero_library(
name = "protos_perfetto_trace_power_zero",
deps = [
":protos_perfetto_trace_power_protos",
],
)
# GN target: //protos/perfetto/trace_processor:metrics_impl_zero
perfetto_proto_library(
name = "protos_perfetto_trace_processor_metrics_impl_protos",
srcs = [
"protos/perfetto/trace_processor/metrics_impl.proto",
],
visibility = [
PERFETTO_CONFIG.proto_library_visibility,
],
)
# GN target: //protos/perfetto/trace_processor:metrics_impl_zero
perfetto_cc_protozero_library(
name = "protos_perfetto_trace_processor_metrics_impl_zero",
deps = [
":protos_perfetto_trace_processor_metrics_impl_protos",
],
)
# GN target: //protos/perfetto/trace_processor:zero
perfetto_proto_library(
name = "protos_perfetto_trace_processor_protos",
srcs = [
"protos/perfetto/trace_processor/trace_processor.proto",
],
visibility = [
PERFETTO_CONFIG.proto_library_visibility,
],
)
# GN target: //protos/perfetto/trace_processor:zero
perfetto_cc_protozero_library(
name = "protos_perfetto_trace_processor_zero",
deps = [
":protos_perfetto_trace_processor_protos",
],
)
# GN target: //protos/perfetto/trace/profiling:lite
perfetto_cc_proto_library(
name = "protos_perfetto_trace_profiling_lite",
deps = [
":protos_perfetto_trace_profiling_protos",
],
)
# GN target: //protos/perfetto/trace/profiling:zero
perfetto_proto_library(
name = "protos_perfetto_trace_profiling_protos",
srcs = [
"protos/perfetto/trace/profiling/heap_graph.proto",
"protos/perfetto/trace/profiling/profile_common.proto",
"protos/perfetto/trace/profiling/profile_packet.proto",
],
visibility = [
PERFETTO_CONFIG.proto_library_visibility,
],
)
# GN target: //protos/perfetto/trace/profiling:zero
perfetto_cc_protozero_library(
name = "protos_perfetto_trace_profiling_zero",
deps = [
":protos_perfetto_trace_profiling_protos",
],
)
# GN target: //protos/perfetto/trace/ps:lite
perfetto_cc_proto_library(
name = "protos_perfetto_trace_ps_lite",
deps = [
":protos_perfetto_trace_ps_protos",
],
)
# GN target: //protos/perfetto/trace/ps:zero
perfetto_proto_library(
name = "protos_perfetto_trace_ps_protos",
srcs = [
"protos/perfetto/trace/ps/process_stats.proto",
"protos/perfetto/trace/ps/process_tree.proto",
],
visibility = [
PERFETTO_CONFIG.proto_library_visibility,
],
)
# GN target: //protos/perfetto/trace/ps:zero
perfetto_cc_protozero_library(
name = "protos_perfetto_trace_ps_zero",
deps = [
":protos_perfetto_trace_ps_protos",
],
)
# GN target: //protos/perfetto/trace/sys_stats:lite
perfetto_cc_proto_library(
name = "protos_perfetto_trace_sys_stats_lite",
deps = [
":protos_perfetto_trace_sys_stats_protos",
],
)
# GN target: //protos/perfetto/trace/sys_stats:zero
perfetto_proto_library(
name = "protos_perfetto_trace_sys_stats_protos",
srcs = [
"protos/perfetto/trace/sys_stats/sys_stats.proto",
],
visibility = [
PERFETTO_CONFIG.proto_library_visibility,
],
deps = [
":protos_perfetto_common_protos",
],
)
# GN target: //protos/perfetto/trace/sys_stats:zero
perfetto_cc_protozero_library(
name = "protos_perfetto_trace_sys_stats_zero",
deps = [
":protos_perfetto_trace_sys_stats_protos",
],
)
# GN target: //protos/perfetto/trace/track_event:lite
perfetto_cc_proto_library(
name = "protos_perfetto_trace_track_event_lite",
deps = [
":protos_perfetto_trace_track_event_protos",
],
)
# GN target: //protos/perfetto/trace/track_event:zero
perfetto_proto_library(
name = "protos_perfetto_trace_track_event_protos",
srcs = [
"protos/perfetto/trace/track_event/chrome_compositor_scheduler_state.proto",
"protos/perfetto/trace/track_event/chrome_histogram_sample.proto",
"protos/perfetto/trace/track_event/chrome_keyed_service.proto",
"protos/perfetto/trace/track_event/chrome_legacy_ipc.proto",
"protos/perfetto/trace/track_event/chrome_process_descriptor.proto",
"protos/perfetto/trace/track_event/chrome_thread_descriptor.proto",
"protos/perfetto/trace/track_event/chrome_user_event.proto",
"protos/perfetto/trace/track_event/debug_annotation.proto",
"protos/perfetto/trace/track_event/log_message.proto",
"protos/perfetto/trace/track_event/process_descriptor.proto",
"protos/perfetto/trace/track_event/source_location.proto",
"protos/perfetto/trace/track_event/task_execution.proto",
"protos/perfetto/trace/track_event/thread_descriptor.proto",
"protos/perfetto/trace/track_event/track_descriptor.proto",
"protos/perfetto/trace/track_event/track_event.proto",
],
visibility = [
PERFETTO_CONFIG.proto_library_visibility,
],
)
# GN target: //protos/perfetto/trace/track_event:zero
perfetto_cc_protozero_library(
name = "protos_perfetto_trace_track_event_zero",
deps = [
":protos_perfetto_trace_track_event_protos",
],
)
# GN target: //protos/third_party/pprof:zero
perfetto_proto_library(
name = "protos_third_party_pprof_protos",
srcs = [
"protos/third_party/pprof/profile.proto",
],
visibility = [
PERFETTO_CONFIG.proto_library_visibility,
],
)
# GN target: //protos/third_party/pprof:zero
perfetto_cc_protozero_library(
name = "protos_third_party_pprof_zero",
deps = [
":protos_third_party_pprof_protos",
],
)
# GN target: //src/perfetto_cmd:protos
perfetto_cc_protocpp_library(
name = "src_perfetto_cmd_protos",
deps = [
":src_perfetto_cmd_protos_protos",
],
)
# GN target: //src/perfetto_cmd:protos
perfetto_proto_library(
name = "src_perfetto_cmd_protos_protos",
srcs = [
"src/perfetto_cmd/perfetto_cmd_state.proto",
],
visibility = [
PERFETTO_CONFIG.proto_library_visibility,
],
)
# ##############################################################################
# Public targets
# ##############################################################################
# GN target: //:libperfetto_client_experimental
perfetto_cc_library(
name = "libperfetto_client_experimental",
srcs = [
":src_base_base",
":src_base_unix_socket",
":src_ipc_client",
":src_ipc_common",
":src_ipc_host",
":src_protozero_protozero",
":src_tracing_client_api_base",
":src_tracing_common",
":src_tracing_core_core",
":src_tracing_core_service",
":src_tracing_in_process_backend",
":src_tracing_ipc_common",
":src_tracing_ipc_consumer_consumer",
":src_tracing_ipc_producer_producer",
":src_tracing_ipc_service_service",
":src_tracing_platform_posix",
":src_tracing_system_process_backend",
],
hdrs = [
":include_perfetto_base_base",
":include_perfetto_ext_base_base",
":include_perfetto_ext_ipc_ipc",
":include_perfetto_ext_tracing_core_core",
":include_perfetto_ext_tracing_ipc_ipc",
":include_perfetto_protozero_protozero",
":include_perfetto_tracing_core_core",
":include_perfetto_tracing_core_forward_decls",
":include_perfetto_tracing_tracing",
"include/perfetto/tracing.h",
],
visibility = [
"//visibility:public",
],
deps = [
":protos_perfetto_common_cpp",
":protos_perfetto_common_zero",
":protos_perfetto_config_android_cpp",
":protos_perfetto_config_android_zero",
":protos_perfetto_config_cpp",
":protos_perfetto_config_ftrace_cpp",
":protos_perfetto_config_ftrace_zero",
":protos_perfetto_config_gpu_cpp",
":protos_perfetto_config_gpu_zero",
":protos_perfetto_config_inode_file_cpp",
":protos_perfetto_config_inode_file_zero",
":protos_perfetto_config_power_cpp",
":protos_perfetto_config_power_zero",
":protos_perfetto_config_process_stats_cpp",
":protos_perfetto_config_process_stats_zero",
":protos_perfetto_config_profiling_cpp",
":protos_perfetto_config_profiling_zero",
":protos_perfetto_config_sys_stats_cpp",
":protos_perfetto_config_sys_stats_zero",
":protos_perfetto_config_zero",
":protos_perfetto_ipc_cpp",
":protos_perfetto_ipc_ipc",
":protos_perfetto_ipc_wire_protocol_cpp",
":protos_perfetto_trace_android_zero",
":protos_perfetto_trace_chrome_zero",
":protos_perfetto_trace_filesystem_zero",
":protos_perfetto_trace_ftrace_zero",
":protos_perfetto_trace_gpu_zero",
":protos_perfetto_trace_interned_data_zero",
":protos_perfetto_trace_minimal_zero",
":protos_perfetto_trace_non_minimal_zero",
":protos_perfetto_trace_perfetto_zero",
":protos_perfetto_trace_power_zero",
":protos_perfetto_trace_profiling_zero",
":protos_perfetto_trace_ps_zero",
":protos_perfetto_trace_sys_stats_zero",
":protos_perfetto_trace_track_event_zero",
],
linkstatic = True,
)
# GN target: //src/perfetto_cmd:perfetto
perfetto_cc_binary(
name = "perfetto",
srcs = [
"src/perfetto_cmd/main.cc",
":include_perfetto_base_base",
":include_perfetto_ext_base_base",
":include_perfetto_ext_ipc_ipc",
":include_perfetto_ext_traced_traced",
":include_perfetto_ext_tracing_core_core",
":include_perfetto_ext_tracing_ipc_ipc",
":include_perfetto_protozero_protozero",
":include_perfetto_tracing_core_core",
":include_perfetto_tracing_core_forward_decls",
":include_perfetto_tracing_tracing",
":src_android_internal_headers",
":src_android_internal_lazy_library_loader",
":src_base_base",
":src_base_unix_socket",
":src_ipc_client",
":src_ipc_common",
":src_perfetto_cmd_perfetto_atoms",
":src_perfetto_cmd_perfetto_cmd",
":src_perfetto_cmd_trigger_producer",
":src_protozero_protozero",
":src_tracing_common",
":src_tracing_core_core",
":src_tracing_ipc_common",
":src_tracing_ipc_consumer_consumer",
":src_tracing_ipc_producer_producer",
],
visibility = [
"//visibility:public",
],
deps = [
":protos_perfetto_common_cpp",
":protos_perfetto_common_zero",
":protos_perfetto_config_android_cpp",
":protos_perfetto_config_android_zero",
":protos_perfetto_config_cpp",
":protos_perfetto_config_ftrace_cpp",
":protos_perfetto_config_ftrace_zero",
":protos_perfetto_config_gpu_cpp",
":protos_perfetto_config_gpu_zero",
":protos_perfetto_config_inode_file_cpp",
":protos_perfetto_config_inode_file_zero",
":protos_perfetto_config_power_cpp",
":protos_perfetto_config_power_zero",
":protos_perfetto_config_process_stats_cpp",
":protos_perfetto_config_process_stats_zero",
":protos_perfetto_config_profiling_cpp",
":protos_perfetto_config_profiling_zero",
":protos_perfetto_config_sys_stats_cpp",
":protos_perfetto_config_sys_stats_zero",
":protos_perfetto_config_zero",
":protos_perfetto_ipc_cpp",
":protos_perfetto_ipc_ipc",
":protos_perfetto_ipc_wire_protocol_cpp",
":protos_perfetto_trace_android_zero",
":protos_perfetto_trace_chrome_zero",
":protos_perfetto_trace_filesystem_zero",
":protos_perfetto_trace_ftrace_zero",
":protos_perfetto_trace_gpu_zero",
":protos_perfetto_trace_interned_data_zero",
":protos_perfetto_trace_minimal_zero",
":protos_perfetto_trace_non_minimal_zero",
":protos_perfetto_trace_perfetto_zero",
":protos_perfetto_trace_power_zero",
":protos_perfetto_trace_profiling_zero",
":protos_perfetto_trace_ps_zero",
":protos_perfetto_trace_sys_stats_zero",
":protos_perfetto_trace_track_event_zero",
":src_perfetto_cmd_protos",
] + PERFETTO_CONFIG.deps.zlib,
)
# GN target: //src/trace_processor:trace_processor
perfetto_cc_library(
name = "trace_processor",
srcs = [
":src_base_base",
":src_protozero_protozero",
":src_trace_processor_containers_containers",
":src_trace_processor_db_lib",
":src_trace_processor_descriptors",
":src_trace_processor_export_json",
":src_trace_processor_lib",
":src_trace_processor_metrics_lib",
":src_trace_processor_sqlite_sqlite",
":src_trace_processor_storage_full",
":src_trace_processor_storage_minimal",
":src_trace_processor_tables_tables",
":src_trace_processor_types_types",
],
hdrs = [
":include_perfetto_base_base",
":include_perfetto_ext_base_base",
":include_perfetto_ext_trace_processor_export_json",
":include_perfetto_ext_traced_sys_stats_counters",
":include_perfetto_protozero_protozero",
":include_perfetto_trace_processor_basic_types",
":include_perfetto_trace_processor_storage",
":include_perfetto_trace_processor_trace_processor",
],
visibility = [
"//visibility:public",
],
deps = [
":protos_perfetto_common_zero",
":protos_perfetto_config_android_zero",
":protos_perfetto_config_ftrace_zero",
":protos_perfetto_config_gpu_zero",
":protos_perfetto_config_inode_file_zero",
":protos_perfetto_config_power_zero",
":protos_perfetto_config_process_stats_zero",
":protos_perfetto_config_profiling_zero",
":protos_perfetto_config_sys_stats_zero",
":protos_perfetto_config_zero",
":protos_perfetto_metrics_android_zero",
":protos_perfetto_metrics_zero",
":protos_perfetto_trace_android_zero",
":protos_perfetto_trace_chrome_zero",
":protos_perfetto_trace_filesystem_zero",
":protos_perfetto_trace_ftrace_zero",
":protos_perfetto_trace_gpu_zero",
":protos_perfetto_trace_interned_data_zero",
":protos_perfetto_trace_minimal_zero",
":protos_perfetto_trace_non_minimal_zero",
":protos_perfetto_trace_perfetto_zero",
":protos_perfetto_trace_power_zero",
":protos_perfetto_trace_processor_metrics_impl_zero",
":protos_perfetto_trace_profiling_zero",
":protos_perfetto_trace_ps_zero",
":protos_perfetto_trace_sys_stats_zero",
":protos_perfetto_trace_track_event_zero",
] + PERFETTO_CONFIG.deps.jsoncpp +
PERFETTO_CONFIG.deps.sqlite +
PERFETTO_CONFIG.deps.sqlite_ext_percentile +
PERFETTO_CONFIG.deps.zlib + [
":cc_merged_sql_metrics",
],
linkstatic = True,
)
# GN target: //src/trace_processor:trace_processor_shell
perfetto_cc_binary(
name = "trace_processor_shell",
srcs = [
"src/trace_processor/proto_to_json.cc",
"src/trace_processor/proto_to_json.h",
"src/trace_processor/trace_processor_shell.cc",
":include_perfetto_base_base",
":include_perfetto_ext_base_base",
":include_perfetto_ext_trace_processor_export_json",
":include_perfetto_ext_traced_sys_stats_counters",
":include_perfetto_protozero_protozero",
":include_perfetto_trace_processor_basic_types",
":include_perfetto_trace_processor_storage",
":include_perfetto_trace_processor_trace_processor",
":src_base_base",
":src_base_unix_socket",
":src_profiling_symbolizer_symbolize_database",
":src_profiling_symbolizer_symbolizer",
":src_protozero_protozero",
":src_trace_processor_containers_containers",
":src_trace_processor_db_lib",
":src_trace_processor_descriptors",
":src_trace_processor_export_json",
":src_trace_processor_lib",
":src_trace_processor_metrics_lib",
":src_trace_processor_rpc_httpd",
":src_trace_processor_rpc_rpc",
":src_trace_processor_sqlite_sqlite",
":src_trace_processor_storage_full",
":src_trace_processor_storage_minimal",
":src_trace_processor_tables_tables",
":src_trace_processor_types_types",
],
visibility = [
"//visibility:public",
],
deps = [
":protos_perfetto_common_zero",
":protos_perfetto_config_android_zero",
":protos_perfetto_config_ftrace_zero",
":protos_perfetto_config_gpu_zero",
":protos_perfetto_config_inode_file_zero",
":protos_perfetto_config_power_zero",
":protos_perfetto_config_process_stats_zero",
":protos_perfetto_config_profiling_zero",
":protos_perfetto_config_sys_stats_zero",
":protos_perfetto_config_zero",
":protos_perfetto_metrics_android_zero",
":protos_perfetto_metrics_zero",
":protos_perfetto_trace_android_zero",
":protos_perfetto_trace_chrome_zero",
":protos_perfetto_trace_filesystem_zero",
":protos_perfetto_trace_ftrace_zero",
":protos_perfetto_trace_gpu_zero",
":protos_perfetto_trace_interned_data_zero",
":protos_perfetto_trace_minimal_zero",
":protos_perfetto_trace_non_minimal_zero",
":protos_perfetto_trace_perfetto_zero",
":protos_perfetto_trace_power_zero",
":protos_perfetto_trace_processor_metrics_impl_zero",
":protos_perfetto_trace_processor_zero",
":protos_perfetto_trace_profiling_zero",
":protos_perfetto_trace_ps_zero",
":protos_perfetto_trace_sys_stats_zero",
":protos_perfetto_trace_track_event_zero",
] + PERFETTO_CONFIG.deps.jsoncpp +
PERFETTO_CONFIG.deps.linenoise +
PERFETTO_CONFIG.deps.protoc_lib +
PERFETTO_CONFIG.deps.sqlite +
PERFETTO_CONFIG.deps.sqlite_ext_percentile +
PERFETTO_CONFIG.deps.zlib + [
":cc_merged_sql_metrics",
],
)
# GN target: //src/traced/probes:traced_probes
perfetto_cc_binary(
name = "traced_probes",
srcs = [
"src/traced/probes/main.cc",
":include_perfetto_ext_traced_traced",
],
visibility = [
"//visibility:public",
],
deps = [
":libperfetto",
],
)
# GN target: //src/traced/service:traced
perfetto_cc_binary(
name = "traced",
srcs = [
"src/traced/service/main.cc",
":include_perfetto_ext_traced_traced",
],
visibility = [
"//visibility:public",
],
deps = [
":libperfetto",
],
)
# GN target: //tools/trace_to_text:libpprofbuilder
perfetto_cc_library(
name = "libpprofbuilder",
srcs = [
":src_profiling_deobfuscator",
":src_profiling_symbolizer_symbolize_database",
":src_profiling_symbolizer_symbolizer",
":tools_trace_to_text_pprofbuilder",
":tools_trace_to_text_utils",
],
hdrs = [
":include_perfetto_base_base",
":include_perfetto_ext_base_base",
":include_perfetto_profiling_deobfuscator",
":include_perfetto_profiling_pprof_builder",
":include_perfetto_protozero_protozero",
":include_perfetto_trace_processor_basic_types",
":include_perfetto_trace_processor_storage",
":include_perfetto_trace_processor_trace_processor",
],
visibility = [
"//visibility:public",
],
deps = [
":protos_perfetto_common_zero",
":protos_perfetto_config_android_zero",
":protos_perfetto_config_ftrace_zero",
":protos_perfetto_config_gpu_zero",
":protos_perfetto_config_inode_file_zero",
":protos_perfetto_config_power_zero",
":protos_perfetto_config_process_stats_zero",
":protos_perfetto_config_profiling_zero",
":protos_perfetto_config_sys_stats_zero",
":protos_perfetto_config_zero",
":protos_perfetto_trace_android_zero",
":protos_perfetto_trace_chrome_zero",
":protos_perfetto_trace_filesystem_zero",
":protos_perfetto_trace_ftrace_zero",
":protos_perfetto_trace_gpu_zero",
":protos_perfetto_trace_interned_data_zero",
":protos_perfetto_trace_minimal_zero",
":protos_perfetto_trace_non_minimal_zero",
":protos_perfetto_trace_perfetto_zero",
":protos_perfetto_trace_power_zero",
":protos_perfetto_trace_profiling_zero",
":protos_perfetto_trace_ps_zero",
":protos_perfetto_trace_sys_stats_zero",
":protos_perfetto_trace_track_event_zero",
":protos_third_party_pprof_zero",
] + PERFETTO_CONFIG.deps.zlib,
linkstatic = True,
)
# GN target: //tools/trace_to_text:trace_to_text
perfetto_cc_binary(
name = "trace_to_text",
srcs = [
":include_perfetto_base_base",
":include_perfetto_ext_base_base",
":include_perfetto_ext_trace_processor_export_json",
":include_perfetto_ext_traced_sys_stats_counters",
":include_perfetto_profiling_deobfuscator",
":include_perfetto_profiling_pprof_builder",
":include_perfetto_protozero_protozero",
":include_perfetto_trace_processor_basic_types",
":include_perfetto_trace_processor_storage",
":include_perfetto_trace_processor_trace_processor",
":src_base_base",
":src_profiling_deobfuscator",
":src_profiling_symbolizer_symbolize_database",
":src_profiling_symbolizer_symbolizer",
":src_protozero_protozero",
":src_trace_processor_containers_containers",
":src_trace_processor_db_lib",
":src_trace_processor_descriptors",
":src_trace_processor_export_json",
":src_trace_processor_lib",
":src_trace_processor_metrics_lib",
":src_trace_processor_sqlite_sqlite",
":src_trace_processor_storage_full",
":src_trace_processor_storage_minimal",
":src_trace_processor_tables_tables",
":src_trace_processor_types_types",
":tools_trace_to_text_common",
":tools_trace_to_text_full",
":tools_trace_to_text_pprofbuilder",
":tools_trace_to_text_utils",
],
visibility = [
"//visibility:public",
],
deps = [
":protos_perfetto_common_zero",
":protos_perfetto_config_android_zero",
":protos_perfetto_config_ftrace_zero",
":protos_perfetto_config_gpu_zero",
":protos_perfetto_config_inode_file_zero",
":protos_perfetto_config_power_zero",
":protos_perfetto_config_process_stats_zero",
":protos_perfetto_config_profiling_zero",
":protos_perfetto_config_sys_stats_zero",
":protos_perfetto_config_zero",
":protos_perfetto_metrics_android_zero",
":protos_perfetto_metrics_zero",
":protos_perfetto_trace_android_zero",
":protos_perfetto_trace_chrome_zero",
":protos_perfetto_trace_filesystem_zero",
":protos_perfetto_trace_ftrace_zero",
":protos_perfetto_trace_gpu_zero",
":protos_perfetto_trace_interned_data_zero",
":protos_perfetto_trace_minimal_zero",
":protos_perfetto_trace_non_minimal_zero",
":protos_perfetto_trace_perfetto_zero",
":protos_perfetto_trace_power_zero",
":protos_perfetto_trace_processor_metrics_impl_zero",
":protos_perfetto_trace_profiling_zero",
":protos_perfetto_trace_ps_zero",
":protos_perfetto_trace_sys_stats_zero",
":protos_perfetto_trace_track_event_zero",
":protos_third_party_pprof_zero",
] + PERFETTO_CONFIG.deps.jsoncpp +
PERFETTO_CONFIG.deps.protobuf_full +
PERFETTO_CONFIG.deps.sqlite +
PERFETTO_CONFIG.deps.sqlite_ext_percentile +
PERFETTO_CONFIG.deps.zlib + [
":cc_merged_sql_metrics",
],
)
# Content from BUILD.extras
build_config_dir_ = "include/perfetto/base/build_configs/bazel"
# Deliberately NOT a perfetto_cc_library, to avoid cyclic deps.
# This is pulled as a default dep by all targets.
cc_library(
name = "build_config_hdr",
hdrs = [build_config_dir_ + "/perfetto_build_flags.h"],
includes = [build_config_dir_],
)
perfetto_cc_library(
name = "cc_merged_sql_metrics",
hdrs = ["src/trace_processor/metrics/sql_metrics.h"],
)
perfetto_py_binary(
name = "gen_merged_sql_metrics_py",
srcs = [
"tools/gen_merged_sql_metrics.py",
],
main = "tools/gen_merged_sql_metrics.py",
python_version = "PY2",
)
perfetto_java_proto_library(
name = "protos_perfetto_metrics_java",
deps = [
":protos_perfetto_metrics_protos",
],
)
perfetto_java_proto_library(
name = "protos_perfetto_metrics_android_java",
deps = [
":protos_perfetto_metrics_android_protos",
],
)
perfetto_java_proto_library(
name = "protos_perfetto_trace_merged_trace_java",
deps = [
":protos_perfetto_trace_merged_trace_protos",
],
)
perfetto_gensignature_internal_only(
name = "trace_processor_sig",
srcs = [
":trace_processor_shell",
":trace_to_text",
],
tags = [
"__TRACE_PROCESSOR_SIG_TAG1",
"__TRACE_PROCESSOR_SIG_TAG2",
],
)