blob: 6b350ebc0906f7ce855e62858b32e26cba4fb7cc [file] [log] [blame]
// Copyright (C) 2017 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_android_bp. Do not edit.
// GN target: //:libtraced_shared
cc_library_shared {
name: "libtraced_shared",
srcs: [
":perfetto_protos_perfetto_config_config_gen",
":perfetto_protos_perfetto_ipc_ipc_gen",
":perfetto_protos_perfetto_trace_ftrace_lite_gen",
":perfetto_protos_perfetto_trace_ftrace_zero_gen",
":perfetto_protos_perfetto_trace_lite_gen",
":perfetto_protos_perfetto_trace_zero_gen",
":perfetto_src_ipc_wire_protocol_gen",
"src/base/page_allocator.cc",
"src/base/thread_checker.cc",
"src/base/unix_task_runner.cc",
"src/base/watchdog.cc",
"src/ftrace_reader/cpu_reader.cc",
"src/ftrace_reader/event_info.cc",
"src/ftrace_reader/event_info_constants.cc",
"src/ftrace_reader/format_parser.cc",
"src/ftrace_reader/ftrace_controller.cc",
"src/ftrace_reader/ftrace_procfs.cc",
"src/ftrace_reader/proto_translation_table.cc",
"src/ipc/buffered_frame_deserializer.cc",
"src/ipc/client_impl.cc",
"src/ipc/deferred.cc",
"src/ipc/host_impl.cc",
"src/ipc/service_proxy.cc",
"src/ipc/unix_socket.cc",
"src/protozero/proto_utils.cc",
"src/protozero/protozero_message.cc",
"src/protozero/protozero_message_handle.cc",
"src/protozero/scattered_stream_writer.cc",
"src/traced/probes/ftrace_producer.cc",
"src/traced/probes/probes.cc",
"src/traced/service/service.cc",
"src/tracing/core/chunked_protobuf_input_stream.cc",
"src/tracing/core/data_source_config.cc",
"src/tracing/core/data_source_descriptor.cc",
"src/tracing/core/id_allocator.cc",
"src/tracing/core/service_impl.cc",
"src/tracing/core/shared_memory_abi.cc",
"src/tracing/core/shared_memory_arbiter_impl.cc",
"src/tracing/core/trace_config.cc",
"src/tracing/core/trace_packet.cc",
"src/tracing/core/trace_writer_impl.cc",
],
shared_libs: [
"liblog",
"libprotobuf-cpp-lite",
],
static_libs: [
"libgtest_prod",
"perfetto_src_tracing_ipc",
],
generated_headers: [
"perfetto_protos_perfetto_config_config_gen_headers",
"perfetto_protos_perfetto_ipc_ipc_gen_headers",
"perfetto_protos_perfetto_trace_ftrace_lite_gen_headers",
"perfetto_protos_perfetto_trace_ftrace_zero_gen_headers",
"perfetto_protos_perfetto_trace_lite_gen_headers",
"perfetto_protos_perfetto_trace_zero_gen_headers",
"perfetto_src_ipc_wire_protocol_gen_headers",
],
defaults: [
"perfetto_defaults",
],
cflags: [
"-DGOOGLE_PROTOBUF_NO_RTTI",
"-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
],
}
// GN target: //:perfetto
cc_binary {
name: "perfetto",
srcs: [
":perfetto_protos_perfetto_config_config_gen",
":perfetto_protos_perfetto_ipc_ipc_gen",
":perfetto_protos_perfetto_trace_ftrace_lite_gen",
":perfetto_protos_perfetto_trace_ftrace_zero_gen",
":perfetto_protos_perfetto_trace_lite_gen",
":perfetto_protos_perfetto_trace_zero_gen",
":perfetto_src_ipc_wire_protocol_gen",
"src/base/android_task_runner.cc",
"src/base/page_allocator.cc",
"src/base/thread_checker.cc",
"src/base/unix_task_runner.cc",
"src/base/watchdog.cc",
"src/ipc/buffered_frame_deserializer.cc",
"src/ipc/client_impl.cc",
"src/ipc/deferred.cc",
"src/ipc/host_impl.cc",
"src/ipc/service_proxy.cc",
"src/ipc/unix_socket.cc",
"src/protozero/proto_utils.cc",
"src/protozero/protozero_message.cc",
"src/protozero/protozero_message_handle.cc",
"src/protozero/scattered_stream_writer.cc",
"src/traced/perfetto_cmd/main.cc",
"src/traced/perfetto_cmd/perfetto_cmd.cc",
"src/tracing/core/chunked_protobuf_input_stream.cc",
"src/tracing/core/data_source_config.cc",
"src/tracing/core/data_source_descriptor.cc",
"src/tracing/core/id_allocator.cc",
"src/tracing/core/service_impl.cc",
"src/tracing/core/shared_memory_abi.cc",
"src/tracing/core/shared_memory_arbiter_impl.cc",
"src/tracing/core/trace_config.cc",
"src/tracing/core/trace_packet.cc",
"src/tracing/core/trace_writer_impl.cc",
"src/tracing/ipc/consumer/consumer_ipc_client_impl.cc",
"src/tracing/ipc/posix_shared_memory.cc",
],
shared_libs: [
"libandroid",
"libbinder",
"liblog",
"libprotobuf-cpp-lite",
"libservices",
"libutils",
],
static_libs: [
"libgtest_prod",
],
generated_headers: [
"perfetto_protos_perfetto_config_config_gen_headers",
"perfetto_protos_perfetto_ipc_ipc_gen_headers",
"perfetto_protos_perfetto_trace_ftrace_lite_gen_headers",
"perfetto_protos_perfetto_trace_ftrace_zero_gen_headers",
"perfetto_protos_perfetto_trace_lite_gen_headers",
"perfetto_protos_perfetto_trace_zero_gen_headers",
"perfetto_src_ipc_wire_protocol_gen_headers",
],
defaults: [
"perfetto_defaults",
],
cflags: [
"-DGOOGLE_PROTOBUF_NO_RTTI",
"-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
"-DPERFETTO_BUILD_WITH_ANDROID",
],
}
cc_defaults {
name: "perfetto_defaults",
cflags: [
"-Oz",
"-Wno-error=return-type",
"-Wno-sign-compare",
"-Wno-sign-promo",
"-Wno-unused-parameter",
"-fvisibility=hidden",
],
local_include_dirs: [
"include",
],
}
// GN target: //:perfetto_integrationtests
cc_test {
name: "perfetto_integrationtests",
srcs: [
":perfetto_protos_perfetto_config_config_gen",
":perfetto_protos_perfetto_ipc_ipc_gen",
":perfetto_protos_perfetto_trace_ftrace_lite_gen",
":perfetto_protos_perfetto_trace_ftrace_zero_gen",
":perfetto_protos_perfetto_trace_lite_gen",
":perfetto_protos_perfetto_trace_zero_gen",
":perfetto_src_ipc_wire_protocol_gen",
"src/base/android_task_runner.cc",
"src/base/page_allocator.cc",
"src/base/test/test_task_runner.cc",
"src/base/test/vm_test_utils.cc",
"src/base/thread_checker.cc",
"src/base/unix_task_runner.cc",
"src/base/watchdog.cc",
"src/ftrace_reader/cpu_reader.cc",
"src/ftrace_reader/end_to_end_integrationtest.cc",
"src/ftrace_reader/event_info.cc",
"src/ftrace_reader/event_info_constants.cc",
"src/ftrace_reader/format_parser.cc",
"src/ftrace_reader/ftrace_controller.cc",
"src/ftrace_reader/ftrace_procfs.cc",
"src/ftrace_reader/ftrace_procfs_integrationtest.cc",
"src/ftrace_reader/proto_translation_table.cc",
"src/ftrace_reader/test/cpu_reader_support.cc",
"src/ftrace_reader/test/scattered_stream_delegate_for_testing.cc",
"src/ftrace_reader/test/scattered_stream_null_delegate.cc",
"src/ipc/buffered_frame_deserializer.cc",
"src/ipc/client_impl.cc",
"src/ipc/deferred.cc",
"src/ipc/host_impl.cc",
"src/ipc/service_proxy.cc",
"src/ipc/unix_socket.cc",
"src/protozero/proto_utils.cc",
"src/protozero/protozero_message.cc",
"src/protozero/protozero_message_handle.cc",
"src/protozero/scattered_stream_writer.cc",
"src/traced/probes/ftrace_producer.cc",
"src/tracing/core/chunked_protobuf_input_stream.cc",
"src/tracing/core/data_source_config.cc",
"src/tracing/core/data_source_descriptor.cc",
"src/tracing/core/id_allocator.cc",
"src/tracing/core/service_impl.cc",
"src/tracing/core/shared_memory_abi.cc",
"src/tracing/core/shared_memory_arbiter_impl.cc",
"src/tracing/core/trace_config.cc",
"src/tracing/core/trace_packet.cc",
"src/tracing/core/trace_writer_impl.cc",
"test/end_to_end_integrationtest.cc",
"test/fake_consumer.cc",
"test/fake_producer.cc",
"test/task_runner_thread.cc",
],
shared_libs: [
"libandroid",
"liblog",
"libprotobuf-cpp-lite",
],
static_libs: [
"libgmock",
"libgtest_prod",
"perfetto_src_tracing_ipc",
],
generated_headers: [
"perfetto_protos_perfetto_config_config_gen_headers",
"perfetto_protos_perfetto_ipc_ipc_gen_headers",
"perfetto_protos_perfetto_trace_ftrace_lite_gen_headers",
"perfetto_protos_perfetto_trace_ftrace_zero_gen_headers",
"perfetto_protos_perfetto_trace_lite_gen_headers",
"perfetto_protos_perfetto_trace_zero_gen_headers",
"perfetto_src_ipc_wire_protocol_gen_headers",
],
defaults: [
"perfetto_defaults",
],
cflags: [
"-DGOOGLE_PROTOBUF_NO_RTTI",
"-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
"-DPERFETTO_BUILD_WITH_ANDROID",
],
}
// GN target: //protos/perfetto/config:config_gen
genrule {
name: "perfetto_protos_perfetto_config_config_gen",
srcs: [
"protos/perfetto/config/data_source_config.proto",
"protos/perfetto/config/data_source_descriptor.proto",
"protos/perfetto/config/trace_config.proto",
],
tools: [
"aprotoc",
],
cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos $(in)",
out: [
"external/perfetto/protos/perfetto/config/data_source_config.pb.cc",
"external/perfetto/protos/perfetto/config/data_source_descriptor.pb.cc",
"external/perfetto/protos/perfetto/config/trace_config.pb.cc",
],
}
// GN target: //protos/perfetto/config:config_gen
genrule {
name: "perfetto_protos_perfetto_config_config_gen_headers",
srcs: [
"protos/perfetto/config/data_source_config.proto",
"protos/perfetto/config/data_source_descriptor.proto",
"protos/perfetto/config/trace_config.proto",
],
tools: [
"aprotoc",
],
cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos $(in)",
out: [
"external/perfetto/protos/perfetto/config/data_source_config.pb.h",
"external/perfetto/protos/perfetto/config/data_source_descriptor.pb.h",
"external/perfetto/protos/perfetto/config/trace_config.pb.h",
],
export_include_dirs: [
"protos",
],
}
// GN target: //protos/perfetto/ipc:ipc_gen
genrule {
name: "perfetto_protos_perfetto_ipc_ipc_gen",
srcs: [
"protos/perfetto/ipc/consumer_port.proto",
"protos/perfetto/ipc/producer_port.proto",
],
tools: [
"aprotoc",
"perfetto_src_ipc_protoc_plugin_ipc_plugin___gn_standalone_toolchain_gcc_like_host_",
],
cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos --plugin=protoc-gen-plugin=$(location perfetto_src_ipc_protoc_plugin_ipc_plugin___gn_standalone_toolchain_gcc_like_host_) --plugin_out=:$(genDir)/external/perfetto/protos $(in)",
out: [
"external/perfetto/protos/perfetto/ipc/consumer_port.ipc.cc",
"external/perfetto/protos/perfetto/ipc/consumer_port.pb.cc",
"external/perfetto/protos/perfetto/ipc/producer_port.ipc.cc",
"external/perfetto/protos/perfetto/ipc/producer_port.pb.cc",
],
}
// GN target: //protos/perfetto/ipc:ipc_gen
genrule {
name: "perfetto_protos_perfetto_ipc_ipc_gen_headers",
srcs: [
"protos/perfetto/ipc/consumer_port.proto",
"protos/perfetto/ipc/producer_port.proto",
],
tools: [
"aprotoc",
"perfetto_src_ipc_protoc_plugin_ipc_plugin___gn_standalone_toolchain_gcc_like_host_",
],
cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos --plugin=protoc-gen-plugin=$(location perfetto_src_ipc_protoc_plugin_ipc_plugin___gn_standalone_toolchain_gcc_like_host_) --plugin_out=:$(genDir)/external/perfetto/protos $(in)",
out: [
"external/perfetto/protos/perfetto/ipc/consumer_port.ipc.h",
"external/perfetto/protos/perfetto/ipc/consumer_port.pb.h",
"external/perfetto/protos/perfetto/ipc/producer_port.ipc.h",
"external/perfetto/protos/perfetto/ipc/producer_port.pb.h",
],
export_include_dirs: [
"protos",
],
}
// GN target: //protos/perfetto/trace/ftrace:lite_gen
genrule {
name: "perfetto_protos_perfetto_trace_ftrace_lite_gen",
srcs: [
"protos/perfetto/trace/ftrace/binder_lock.proto",
"protos/perfetto/trace/ftrace/binder_locked.proto",
"protos/perfetto/trace/ftrace/binder_set_priority.proto",
"protos/perfetto/trace/ftrace/binder_transaction.proto",
"protos/perfetto/trace/ftrace/binder_transaction_received.proto",
"protos/perfetto/trace/ftrace/binder_unlock.proto",
"protos/perfetto/trace/ftrace/block_rq_issue.proto",
"protos/perfetto/trace/ftrace/cgroup_attach_task.proto",
"protos/perfetto/trace/ftrace/cgroup_destroy_root.proto",
"protos/perfetto/trace/ftrace/cgroup_mkdir.proto",
"protos/perfetto/trace/ftrace/cgroup_release.proto",
"protos/perfetto/trace/ftrace/cgroup_remount.proto",
"protos/perfetto/trace/ftrace/cgroup_rename.proto",
"protos/perfetto/trace/ftrace/cgroup_rmdir.proto",
"protos/perfetto/trace/ftrace/cgroup_setup_root.proto",
"protos/perfetto/trace/ftrace/cgroup_transfer_tasks.proto",
"protos/perfetto/trace/ftrace/clock_disable.proto",
"protos/perfetto/trace/ftrace/clock_enable.proto",
"protos/perfetto/trace/ftrace/clock_set_rate.proto",
"protos/perfetto/trace/ftrace/cpu_frequency.proto",
"protos/perfetto/trace/ftrace/cpu_frequency_limits.proto",
"protos/perfetto/trace/ftrace/cpu_idle.proto",
"protos/perfetto/trace/ftrace/cpufreq_interactive_already.proto",
"protos/perfetto/trace/ftrace/cpufreq_interactive_boost.proto",
"protos/perfetto/trace/ftrace/cpufreq_interactive_notyet.proto",
"protos/perfetto/trace/ftrace/cpufreq_interactive_setspeed.proto",
"protos/perfetto/trace/ftrace/cpufreq_interactive_target.proto",
"protos/perfetto/trace/ftrace/cpufreq_interactive_unboost.proto",
"protos/perfetto/trace/ftrace/ext4_da_write_begin.proto",
"protos/perfetto/trace/ftrace/ext4_da_write_end.proto",
"protos/perfetto/trace/ftrace/ext4_sync_file_enter.proto",
"protos/perfetto/trace/ftrace/ext4_sync_file_exit.proto",
"protos/perfetto/trace/ftrace/ftrace_event.proto",
"protos/perfetto/trace/ftrace/ftrace_event_bundle.proto",
"protos/perfetto/trace/ftrace/i2c_read.proto",
"protos/perfetto/trace/ftrace/i2c_reply.proto",
"protos/perfetto/trace/ftrace/i2c_result.proto",
"protos/perfetto/trace/ftrace/i2c_write.proto",
"protos/perfetto/trace/ftrace/ipi_entry.proto",
"protos/perfetto/trace/ftrace/ipi_exit.proto",
"protos/perfetto/trace/ftrace/ipi_raise.proto",
"protos/perfetto/trace/ftrace/irq_handler_entry.proto",
"protos/perfetto/trace/ftrace/irq_handler_exit.proto",
"protos/perfetto/trace/ftrace/lowmemory_kill.proto",
"protos/perfetto/trace/ftrace/mdp_cmd_kickoff.proto",
"protos/perfetto/trace/ftrace/mdp_cmd_pingpong_done.proto",
"protos/perfetto/trace/ftrace/mdp_cmd_readptr_done.proto",
"protos/perfetto/trace/ftrace/mdp_cmd_release_bw.proto",
"protos/perfetto/trace/ftrace/mdp_cmd_wait_pingpong.proto",
"protos/perfetto/trace/ftrace/mdp_commit.proto",
"protos/perfetto/trace/ftrace/mdp_compare_bw.proto",
"protos/perfetto/trace/ftrace/mdp_misr_crc.proto",
"protos/perfetto/trace/ftrace/mdp_mixer_update.proto",
"protos/perfetto/trace/ftrace/mdp_perf_prefill_calc.proto",
"protos/perfetto/trace/ftrace/mdp_perf_set_ot.proto",
"protos/perfetto/trace/ftrace/mdp_perf_set_panic_luts.proto",
"protos/perfetto/trace/ftrace/mdp_perf_set_qos_luts.proto",
"protos/perfetto/trace/ftrace/mdp_perf_set_wm_levels.proto",
"protos/perfetto/trace/ftrace/mdp_perf_update_bus.proto",
"protos/perfetto/trace/ftrace/mdp_sspp_change.proto",
"protos/perfetto/trace/ftrace/mdp_sspp_set.proto",
"protos/perfetto/trace/ftrace/mdp_trace_counter.proto",
"protos/perfetto/trace/ftrace/mdp_video_underrun_done.proto",
"protos/perfetto/trace/ftrace/mm_filemap_add_to_page_cache.proto",
"protos/perfetto/trace/ftrace/mm_filemap_delete_from_page_cache.proto",
"protos/perfetto/trace/ftrace/mm_vmscan_direct_reclaim_begin.proto",
"protos/perfetto/trace/ftrace/mm_vmscan_direct_reclaim_end.proto",
"protos/perfetto/trace/ftrace/mm_vmscan_kswapd_sleep.proto",
"protos/perfetto/trace/ftrace/mm_vmscan_kswapd_wake.proto",
"protos/perfetto/trace/ftrace/print.proto",
"protos/perfetto/trace/ftrace/regulator_disable.proto",
"protos/perfetto/trace/ftrace/regulator_disable_complete.proto",
"protos/perfetto/trace/ftrace/regulator_enable.proto",
"protos/perfetto/trace/ftrace/regulator_enable_complete.proto",
"protos/perfetto/trace/ftrace/regulator_enable_delay.proto",
"protos/perfetto/trace/ftrace/regulator_set_voltage.proto",
"protos/perfetto/trace/ftrace/regulator_set_voltage_complete.proto",
"protos/perfetto/trace/ftrace/rotator_bw_ao_as_context.proto",
"protos/perfetto/trace/ftrace/sched_blocked_reason.proto",
"protos/perfetto/trace/ftrace/sched_cpu_hotplug.proto",
"protos/perfetto/trace/ftrace/sched_switch.proto",
"protos/perfetto/trace/ftrace/sched_wakeup.proto",
"protos/perfetto/trace/ftrace/sched_waking.proto",
"protos/perfetto/trace/ftrace/smbus_read.proto",
"protos/perfetto/trace/ftrace/smbus_reply.proto",
"protos/perfetto/trace/ftrace/smbus_result.proto",
"protos/perfetto/trace/ftrace/smbus_write.proto",
"protos/perfetto/trace/ftrace/softirq_entry.proto",
"protos/perfetto/trace/ftrace/softirq_exit.proto",
"protos/perfetto/trace/ftrace/softirq_raise.proto",
"protos/perfetto/trace/ftrace/sync_pt.proto",
"protos/perfetto/trace/ftrace/sync_timeline.proto",
"protos/perfetto/trace/ftrace/sync_wait.proto",
"protos/perfetto/trace/ftrace/test_bundle_wrapper.proto",
"protos/perfetto/trace/ftrace/tracing_mark_write.proto",
"protos/perfetto/trace/ftrace/workqueue_activate_work.proto",
"protos/perfetto/trace/ftrace/workqueue_execute_end.proto",
"protos/perfetto/trace/ftrace/workqueue_execute_start.proto",
"protos/perfetto/trace/ftrace/workqueue_queue_work.proto",
],
tools: [
"aprotoc",
],
cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos $(in)",
out: [
"external/perfetto/protos/perfetto/trace/ftrace/binder_lock.pb.cc",
"external/perfetto/protos/perfetto/trace/ftrace/binder_locked.pb.cc",
"external/perfetto/protos/perfetto/trace/ftrace/binder_set_priority.pb.cc",
"external/perfetto/protos/perfetto/trace/ftrace/binder_transaction.pb.cc",
"external/perfetto/protos/perfetto/trace/ftrace/binder_transaction_received.pb.cc",
"external/perfetto/protos/perfetto/trace/ftrace/binder_unlock.pb.cc",
"external/perfetto/protos/perfetto/trace/ftrace/block_rq_issue.pb.cc",
"external/perfetto/protos/perfetto/trace/ftrace/cgroup_attach_task.pb.cc",
"external/perfetto/protos/perfetto/trace/ftrace/cgroup_destroy_root.pb.cc",
"external/perfetto/protos/perfetto/trace/ftrace/cgroup_mkdir.pb.cc",
"external/perfetto/protos/perfetto/trace/ftrace/cgroup_release.pb.cc",
"external/perfetto/protos/perfetto/trace/ftrace/cgroup_remount.pb.cc",
"external/perfetto/protos/perfetto/trace/ftrace/cgroup_rename.pb.cc",
"external/perfetto/protos/perfetto/trace/ftrace/cgroup_rmdir.pb.cc",
"external/perfetto/protos/perfetto/trace/ftrace/cgroup_setup_root.pb.cc",
"external/perfetto/protos/perfetto/trace/ftrace/cgroup_transfer_tasks.pb.cc",
"external/perfetto/protos/perfetto/trace/ftrace/clock_disable.pb.cc",
"external/perfetto/protos/perfetto/trace/ftrace/clock_enable.pb.cc",
"external/perfetto/protos/perfetto/trace/ftrace/clock_set_rate.pb.cc",
"external/perfetto/protos/perfetto/trace/ftrace/cpu_frequency.pb.cc",
"external/perfetto/protos/perfetto/trace/ftrace/cpu_frequency_limits.pb.cc",
"external/perfetto/protos/perfetto/trace/ftrace/cpu_idle.pb.cc",
"external/perfetto/protos/perfetto/trace/ftrace/cpufreq_interactive_already.pb.cc",
"external/perfetto/protos/perfetto/trace/ftrace/cpufreq_interactive_boost.pb.cc",
"external/perfetto/protos/perfetto/trace/ftrace/cpufreq_interactive_notyet.pb.cc",
"external/perfetto/protos/perfetto/trace/ftrace/cpufreq_interactive_setspeed.pb.cc",
"external/perfetto/protos/perfetto/trace/ftrace/cpufreq_interactive_target.pb.cc",
"external/perfetto/protos/perfetto/trace/ftrace/cpufreq_interactive_unboost.pb.cc",
"external/perfetto/protos/perfetto/trace/ftrace/ext4_da_write_begin.pb.cc",
"external/perfetto/protos/perfetto/trace/ftrace/ext4_da_write_end.pb.cc",
"external/perfetto/protos/perfetto/trace/ftrace/ext4_sync_file_enter.pb.cc",
"external/perfetto/protos/perfetto/trace/ftrace/ext4_sync_file_exit.pb.cc",
"external/perfetto/protos/perfetto/trace/ftrace/ftrace_event.pb.cc",
"external/perfetto/protos/perfetto/trace/ftrace/ftrace_event_bundle.pb.cc",
"external/perfetto/protos/perfetto/trace/ftrace/i2c_read.pb.cc",
"external/perfetto/protos/perfetto/trace/ftrace/i2c_reply.pb.cc",
"external/perfetto/protos/perfetto/trace/ftrace/i2c_result.pb.cc",
"external/perfetto/protos/perfetto/trace/ftrace/i2c_write.pb.cc",
"external/perfetto/protos/perfetto/trace/ftrace/ipi_entry.pb.cc",
"external/perfetto/protos/perfetto/trace/ftrace/ipi_exit.pb.cc",
"external/perfetto/protos/perfetto/trace/ftrace/ipi_raise.pb.cc",
"external/perfetto/protos/perfetto/trace/ftrace/irq_handler_entry.pb.cc",
"external/perfetto/protos/perfetto/trace/ftrace/irq_handler_exit.pb.cc",
"external/perfetto/protos/perfetto/trace/ftrace/lowmemory_kill.pb.cc",
"external/perfetto/protos/perfetto/trace/ftrace/mdp_cmd_kickoff.pb.cc",
"external/perfetto/protos/perfetto/trace/ftrace/mdp_cmd_pingpong_done.pb.cc",
"external/perfetto/protos/perfetto/trace/ftrace/mdp_cmd_readptr_done.pb.cc",
"external/perfetto/protos/perfetto/trace/ftrace/mdp_cmd_release_bw.pb.cc",
"external/perfetto/protos/perfetto/trace/ftrace/mdp_cmd_wait_pingpong.pb.cc",
"external/perfetto/protos/perfetto/trace/ftrace/mdp_commit.pb.cc",
"external/perfetto/protos/perfetto/trace/ftrace/mdp_compare_bw.pb.cc",
"external/perfetto/protos/perfetto/trace/ftrace/mdp_misr_crc.pb.cc",
"external/perfetto/protos/perfetto/trace/ftrace/mdp_mixer_update.pb.cc",
"external/perfetto/protos/perfetto/trace/ftrace/mdp_perf_prefill_calc.pb.cc",
"external/perfetto/protos/perfetto/trace/ftrace/mdp_perf_set_ot.pb.cc",
"external/perfetto/protos/perfetto/trace/ftrace/mdp_perf_set_panic_luts.pb.cc",
"external/perfetto/protos/perfetto/trace/ftrace/mdp_perf_set_qos_luts.pb.cc",
"external/perfetto/protos/perfetto/trace/ftrace/mdp_perf_set_wm_levels.pb.cc",
"external/perfetto/protos/perfetto/trace/ftrace/mdp_perf_update_bus.pb.cc",
"external/perfetto/protos/perfetto/trace/ftrace/mdp_sspp_change.pb.cc",
"external/perfetto/protos/perfetto/trace/ftrace/mdp_sspp_set.pb.cc",
"external/perfetto/protos/perfetto/trace/ftrace/mdp_trace_counter.pb.cc",
"external/perfetto/protos/perfetto/trace/ftrace/mdp_video_underrun_done.pb.cc",
"external/perfetto/protos/perfetto/trace/ftrace/mm_filemap_add_to_page_cache.pb.cc",
"external/perfetto/protos/perfetto/trace/ftrace/mm_filemap_delete_from_page_cache.pb.cc",
"external/perfetto/protos/perfetto/trace/ftrace/mm_vmscan_direct_reclaim_begin.pb.cc",
"external/perfetto/protos/perfetto/trace/ftrace/mm_vmscan_direct_reclaim_end.pb.cc",
"external/perfetto/protos/perfetto/trace/ftrace/mm_vmscan_kswapd_sleep.pb.cc",
"external/perfetto/protos/perfetto/trace/ftrace/mm_vmscan_kswapd_wake.pb.cc",
"external/perfetto/protos/perfetto/trace/ftrace/print.pb.cc",
"external/perfetto/protos/perfetto/trace/ftrace/regulator_disable.pb.cc",
"external/perfetto/protos/perfetto/trace/ftrace/regulator_disable_complete.pb.cc",
"external/perfetto/protos/perfetto/trace/ftrace/regulator_enable.pb.cc",
"external/perfetto/protos/perfetto/trace/ftrace/regulator_enable_complete.pb.cc",
"external/perfetto/protos/perfetto/trace/ftrace/regulator_enable_delay.pb.cc",
"external/perfetto/protos/perfetto/trace/ftrace/regulator_set_voltage.pb.cc",
"external/perfetto/protos/perfetto/trace/ftrace/regulator_set_voltage_complete.pb.cc",
"external/perfetto/protos/perfetto/trace/ftrace/rotator_bw_ao_as_context.pb.cc",
"external/perfetto/protos/perfetto/trace/ftrace/sched_blocked_reason.pb.cc",
"external/perfetto/protos/perfetto/trace/ftrace/sched_cpu_hotplug.pb.cc",
"external/perfetto/protos/perfetto/trace/ftrace/sched_switch.pb.cc",
"external/perfetto/protos/perfetto/trace/ftrace/sched_wakeup.pb.cc",
"external/perfetto/protos/perfetto/trace/ftrace/sched_waking.pb.cc",
"external/perfetto/protos/perfetto/trace/ftrace/smbus_read.pb.cc",
"external/perfetto/protos/perfetto/trace/ftrace/smbus_reply.pb.cc",
"external/perfetto/protos/perfetto/trace/ftrace/smbus_result.pb.cc",
"external/perfetto/protos/perfetto/trace/ftrace/smbus_write.pb.cc",
"external/perfetto/protos/perfetto/trace/ftrace/softirq_entry.pb.cc",
"external/perfetto/protos/perfetto/trace/ftrace/softirq_exit.pb.cc",
"external/perfetto/protos/perfetto/trace/ftrace/softirq_raise.pb.cc",
"external/perfetto/protos/perfetto/trace/ftrace/sync_pt.pb.cc",
"external/perfetto/protos/perfetto/trace/ftrace/sync_timeline.pb.cc",
"external/perfetto/protos/perfetto/trace/ftrace/sync_wait.pb.cc",
"external/perfetto/protos/perfetto/trace/ftrace/test_bundle_wrapper.pb.cc",
"external/perfetto/protos/perfetto/trace/ftrace/tracing_mark_write.pb.cc",
"external/perfetto/protos/perfetto/trace/ftrace/workqueue_activate_work.pb.cc",
"external/perfetto/protos/perfetto/trace/ftrace/workqueue_execute_end.pb.cc",
"external/perfetto/protos/perfetto/trace/ftrace/workqueue_execute_start.pb.cc",
"external/perfetto/protos/perfetto/trace/ftrace/workqueue_queue_work.pb.cc",
],
}
// GN target: //protos/perfetto/trace/ftrace:lite_gen
genrule {
name: "perfetto_protos_perfetto_trace_ftrace_lite_gen_headers",
srcs: [
"protos/perfetto/trace/ftrace/binder_lock.proto",
"protos/perfetto/trace/ftrace/binder_locked.proto",
"protos/perfetto/trace/ftrace/binder_set_priority.proto",
"protos/perfetto/trace/ftrace/binder_transaction.proto",
"protos/perfetto/trace/ftrace/binder_transaction_received.proto",
"protos/perfetto/trace/ftrace/binder_unlock.proto",
"protos/perfetto/trace/ftrace/block_rq_issue.proto",
"protos/perfetto/trace/ftrace/cgroup_attach_task.proto",
"protos/perfetto/trace/ftrace/cgroup_destroy_root.proto",
"protos/perfetto/trace/ftrace/cgroup_mkdir.proto",
"protos/perfetto/trace/ftrace/cgroup_release.proto",
"protos/perfetto/trace/ftrace/cgroup_remount.proto",
"protos/perfetto/trace/ftrace/cgroup_rename.proto",
"protos/perfetto/trace/ftrace/cgroup_rmdir.proto",
"protos/perfetto/trace/ftrace/cgroup_setup_root.proto",
"protos/perfetto/trace/ftrace/cgroup_transfer_tasks.proto",
"protos/perfetto/trace/ftrace/clock_disable.proto",
"protos/perfetto/trace/ftrace/clock_enable.proto",
"protos/perfetto/trace/ftrace/clock_set_rate.proto",
"protos/perfetto/trace/ftrace/cpu_frequency.proto",
"protos/perfetto/trace/ftrace/cpu_frequency_limits.proto",
"protos/perfetto/trace/ftrace/cpu_idle.proto",
"protos/perfetto/trace/ftrace/cpufreq_interactive_already.proto",
"protos/perfetto/trace/ftrace/cpufreq_interactive_boost.proto",
"protos/perfetto/trace/ftrace/cpufreq_interactive_notyet.proto",
"protos/perfetto/trace/ftrace/cpufreq_interactive_setspeed.proto",
"protos/perfetto/trace/ftrace/cpufreq_interactive_target.proto",
"protos/perfetto/trace/ftrace/cpufreq_interactive_unboost.proto",
"protos/perfetto/trace/ftrace/ext4_da_write_begin.proto",
"protos/perfetto/trace/ftrace/ext4_da_write_end.proto",
"protos/perfetto/trace/ftrace/ext4_sync_file_enter.proto",
"protos/perfetto/trace/ftrace/ext4_sync_file_exit.proto",
"protos/perfetto/trace/ftrace/ftrace_event.proto",
"protos/perfetto/trace/ftrace/ftrace_event_bundle.proto",
"protos/perfetto/trace/ftrace/i2c_read.proto",
"protos/perfetto/trace/ftrace/i2c_reply.proto",
"protos/perfetto/trace/ftrace/i2c_result.proto",
"protos/perfetto/trace/ftrace/i2c_write.proto",
"protos/perfetto/trace/ftrace/ipi_entry.proto",
"protos/perfetto/trace/ftrace/ipi_exit.proto",
"protos/perfetto/trace/ftrace/ipi_raise.proto",
"protos/perfetto/trace/ftrace/irq_handler_entry.proto",
"protos/perfetto/trace/ftrace/irq_handler_exit.proto",
"protos/perfetto/trace/ftrace/lowmemory_kill.proto",
"protos/perfetto/trace/ftrace/mdp_cmd_kickoff.proto",
"protos/perfetto/trace/ftrace/mdp_cmd_pingpong_done.proto",
"protos/perfetto/trace/ftrace/mdp_cmd_readptr_done.proto",
"protos/perfetto/trace/ftrace/mdp_cmd_release_bw.proto",
"protos/perfetto/trace/ftrace/mdp_cmd_wait_pingpong.proto",
"protos/perfetto/trace/ftrace/mdp_commit.proto",
"protos/perfetto/trace/ftrace/mdp_compare_bw.proto",
"protos/perfetto/trace/ftrace/mdp_misr_crc.proto",
"protos/perfetto/trace/ftrace/mdp_mixer_update.proto",
"protos/perfetto/trace/ftrace/mdp_perf_prefill_calc.proto",
"protos/perfetto/trace/ftrace/mdp_perf_set_ot.proto",
"protos/perfetto/trace/ftrace/mdp_perf_set_panic_luts.proto",
"protos/perfetto/trace/ftrace/mdp_perf_set_qos_luts.proto",
"protos/perfetto/trace/ftrace/mdp_perf_set_wm_levels.proto",
"protos/perfetto/trace/ftrace/mdp_perf_update_bus.proto",
"protos/perfetto/trace/ftrace/mdp_sspp_change.proto",
"protos/perfetto/trace/ftrace/mdp_sspp_set.proto",
"protos/perfetto/trace/ftrace/mdp_trace_counter.proto",
"protos/perfetto/trace/ftrace/mdp_video_underrun_done.proto",
"protos/perfetto/trace/ftrace/mm_filemap_add_to_page_cache.proto",
"protos/perfetto/trace/ftrace/mm_filemap_delete_from_page_cache.proto",
"protos/perfetto/trace/ftrace/mm_vmscan_direct_reclaim_begin.proto",
"protos/perfetto/trace/ftrace/mm_vmscan_direct_reclaim_end.proto",
"protos/perfetto/trace/ftrace/mm_vmscan_kswapd_sleep.proto",
"protos/perfetto/trace/ftrace/mm_vmscan_kswapd_wake.proto",
"protos/perfetto/trace/ftrace/print.proto",
"protos/perfetto/trace/ftrace/regulator_disable.proto",
"protos/perfetto/trace/ftrace/regulator_disable_complete.proto",
"protos/perfetto/trace/ftrace/regulator_enable.proto",
"protos/perfetto/trace/ftrace/regulator_enable_complete.proto",
"protos/perfetto/trace/ftrace/regulator_enable_delay.proto",
"protos/perfetto/trace/ftrace/regulator_set_voltage.proto",
"protos/perfetto/trace/ftrace/regulator_set_voltage_complete.proto",
"protos/perfetto/trace/ftrace/rotator_bw_ao_as_context.proto",
"protos/perfetto/trace/ftrace/sched_blocked_reason.proto",
"protos/perfetto/trace/ftrace/sched_cpu_hotplug.proto",
"protos/perfetto/trace/ftrace/sched_switch.proto",
"protos/perfetto/trace/ftrace/sched_wakeup.proto",
"protos/perfetto/trace/ftrace/sched_waking.proto",
"protos/perfetto/trace/ftrace/smbus_read.proto",
"protos/perfetto/trace/ftrace/smbus_reply.proto",
"protos/perfetto/trace/ftrace/smbus_result.proto",
"protos/perfetto/trace/ftrace/smbus_write.proto",
"protos/perfetto/trace/ftrace/softirq_entry.proto",
"protos/perfetto/trace/ftrace/softirq_exit.proto",
"protos/perfetto/trace/ftrace/softirq_raise.proto",
"protos/perfetto/trace/ftrace/sync_pt.proto",
"protos/perfetto/trace/ftrace/sync_timeline.proto",
"protos/perfetto/trace/ftrace/sync_wait.proto",
"protos/perfetto/trace/ftrace/test_bundle_wrapper.proto",
"protos/perfetto/trace/ftrace/tracing_mark_write.proto",
"protos/perfetto/trace/ftrace/workqueue_activate_work.proto",
"protos/perfetto/trace/ftrace/workqueue_execute_end.proto",
"protos/perfetto/trace/ftrace/workqueue_execute_start.proto",
"protos/perfetto/trace/ftrace/workqueue_queue_work.proto",
],
tools: [
"aprotoc",
],
cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos $(in)",
out: [
"external/perfetto/protos/perfetto/trace/ftrace/binder_lock.pb.h",
"external/perfetto/protos/perfetto/trace/ftrace/binder_locked.pb.h",
"external/perfetto/protos/perfetto/trace/ftrace/binder_set_priority.pb.h",
"external/perfetto/protos/perfetto/trace/ftrace/binder_transaction.pb.h",
"external/perfetto/protos/perfetto/trace/ftrace/binder_transaction_received.pb.h",
"external/perfetto/protos/perfetto/trace/ftrace/binder_unlock.pb.h",
"external/perfetto/protos/perfetto/trace/ftrace/block_rq_issue.pb.h",
"external/perfetto/protos/perfetto/trace/ftrace/cgroup_attach_task.pb.h",
"external/perfetto/protos/perfetto/trace/ftrace/cgroup_destroy_root.pb.h",
"external/perfetto/protos/perfetto/trace/ftrace/cgroup_mkdir.pb.h",
"external/perfetto/protos/perfetto/trace/ftrace/cgroup_release.pb.h",
"external/perfetto/protos/perfetto/trace/ftrace/cgroup_remount.pb.h",
"external/perfetto/protos/perfetto/trace/ftrace/cgroup_rename.pb.h",
"external/perfetto/protos/perfetto/trace/ftrace/cgroup_rmdir.pb.h",
"external/perfetto/protos/perfetto/trace/ftrace/cgroup_setup_root.pb.h",
"external/perfetto/protos/perfetto/trace/ftrace/cgroup_transfer_tasks.pb.h",
"external/perfetto/protos/perfetto/trace/ftrace/clock_disable.pb.h",
"external/perfetto/protos/perfetto/trace/ftrace/clock_enable.pb.h",
"external/perfetto/protos/perfetto/trace/ftrace/clock_set_rate.pb.h",
"external/perfetto/protos/perfetto/trace/ftrace/cpu_frequency.pb.h",
"external/perfetto/protos/perfetto/trace/ftrace/cpu_frequency_limits.pb.h",
"external/perfetto/protos/perfetto/trace/ftrace/cpu_idle.pb.h",
"external/perfetto/protos/perfetto/trace/ftrace/cpufreq_interactive_already.pb.h",
"external/perfetto/protos/perfetto/trace/ftrace/cpufreq_interactive_boost.pb.h",
"external/perfetto/protos/perfetto/trace/ftrace/cpufreq_interactive_notyet.pb.h",
"external/perfetto/protos/perfetto/trace/ftrace/cpufreq_interactive_setspeed.pb.h",
"external/perfetto/protos/perfetto/trace/ftrace/cpufreq_interactive_target.pb.h",
"external/perfetto/protos/perfetto/trace/ftrace/cpufreq_interactive_unboost.pb.h",
"external/perfetto/protos/perfetto/trace/ftrace/ext4_da_write_begin.pb.h",
"external/perfetto/protos/perfetto/trace/ftrace/ext4_da_write_end.pb.h",
"external/perfetto/protos/perfetto/trace/ftrace/ext4_sync_file_enter.pb.h",
"external/perfetto/protos/perfetto/trace/ftrace/ext4_sync_file_exit.pb.h",
"external/perfetto/protos/perfetto/trace/ftrace/ftrace_event.pb.h",
"external/perfetto/protos/perfetto/trace/ftrace/ftrace_event_bundle.pb.h",
"external/perfetto/protos/perfetto/trace/ftrace/i2c_read.pb.h",
"external/perfetto/protos/perfetto/trace/ftrace/i2c_reply.pb.h",
"external/perfetto/protos/perfetto/trace/ftrace/i2c_result.pb.h",
"external/perfetto/protos/perfetto/trace/ftrace/i2c_write.pb.h",
"external/perfetto/protos/perfetto/trace/ftrace/ipi_entry.pb.h",
"external/perfetto/protos/perfetto/trace/ftrace/ipi_exit.pb.h",
"external/perfetto/protos/perfetto/trace/ftrace/ipi_raise.pb.h",
"external/perfetto/protos/perfetto/trace/ftrace/irq_handler_entry.pb.h",
"external/perfetto/protos/perfetto/trace/ftrace/irq_handler_exit.pb.h",
"external/perfetto/protos/perfetto/trace/ftrace/lowmemory_kill.pb.h",
"external/perfetto/protos/perfetto/trace/ftrace/mdp_cmd_kickoff.pb.h",
"external/perfetto/protos/perfetto/trace/ftrace/mdp_cmd_pingpong_done.pb.h",
"external/perfetto/protos/perfetto/trace/ftrace/mdp_cmd_readptr_done.pb.h",
"external/perfetto/protos/perfetto/trace/ftrace/mdp_cmd_release_bw.pb.h",
"external/perfetto/protos/perfetto/trace/ftrace/mdp_cmd_wait_pingpong.pb.h",
"external/perfetto/protos/perfetto/trace/ftrace/mdp_commit.pb.h",
"external/perfetto/protos/perfetto/trace/ftrace/mdp_compare_bw.pb.h",
"external/perfetto/protos/perfetto/trace/ftrace/mdp_misr_crc.pb.h",
"external/perfetto/protos/perfetto/trace/ftrace/mdp_mixer_update.pb.h",
"external/perfetto/protos/perfetto/trace/ftrace/mdp_perf_prefill_calc.pb.h",
"external/perfetto/protos/perfetto/trace/ftrace/mdp_perf_set_ot.pb.h",
"external/perfetto/protos/perfetto/trace/ftrace/mdp_perf_set_panic_luts.pb.h",
"external/perfetto/protos/perfetto/trace/ftrace/mdp_perf_set_qos_luts.pb.h",
"external/perfetto/protos/perfetto/trace/ftrace/mdp_perf_set_wm_levels.pb.h",
"external/perfetto/protos/perfetto/trace/ftrace/mdp_perf_update_bus.pb.h",
"external/perfetto/protos/perfetto/trace/ftrace/mdp_sspp_change.pb.h",
"external/perfetto/protos/perfetto/trace/ftrace/mdp_sspp_set.pb.h",
"external/perfetto/protos/perfetto/trace/ftrace/mdp_trace_counter.pb.h",
"external/perfetto/protos/perfetto/trace/ftrace/mdp_video_underrun_done.pb.h",
"external/perfetto/protos/perfetto/trace/ftrace/mm_filemap_add_to_page_cache.pb.h",
"external/perfetto/protos/perfetto/trace/ftrace/mm_filemap_delete_from_page_cache.pb.h",
"external/perfetto/protos/perfetto/trace/ftrace/mm_vmscan_direct_reclaim_begin.pb.h",
"external/perfetto/protos/perfetto/trace/ftrace/mm_vmscan_direct_reclaim_end.pb.h",
"external/perfetto/protos/perfetto/trace/ftrace/mm_vmscan_kswapd_sleep.pb.h",
"external/perfetto/protos/perfetto/trace/ftrace/mm_vmscan_kswapd_wake.pb.h",
"external/perfetto/protos/perfetto/trace/ftrace/print.pb.h",
"external/perfetto/protos/perfetto/trace/ftrace/regulator_disable.pb.h",
"external/perfetto/protos/perfetto/trace/ftrace/regulator_disable_complete.pb.h",
"external/perfetto/protos/perfetto/trace/ftrace/regulator_enable.pb.h",
"external/perfetto/protos/perfetto/trace/ftrace/regulator_enable_complete.pb.h",
"external/perfetto/protos/perfetto/trace/ftrace/regulator_enable_delay.pb.h",
"external/perfetto/protos/perfetto/trace/ftrace/regulator_set_voltage.pb.h",
"external/perfetto/protos/perfetto/trace/ftrace/regulator_set_voltage_complete.pb.h",
"external/perfetto/protos/perfetto/trace/ftrace/rotator_bw_ao_as_context.pb.h",
"external/perfetto/protos/perfetto/trace/ftrace/sched_blocked_reason.pb.h",
"external/perfetto/protos/perfetto/trace/ftrace/sched_cpu_hotplug.pb.h",
"external/perfetto/protos/perfetto/trace/ftrace/sched_switch.pb.h",
"external/perfetto/protos/perfetto/trace/ftrace/sched_wakeup.pb.h",
"external/perfetto/protos/perfetto/trace/ftrace/sched_waking.pb.h",
"external/perfetto/protos/perfetto/trace/ftrace/smbus_read.pb.h",
"external/perfetto/protos/perfetto/trace/ftrace/smbus_reply.pb.h",
"external/perfetto/protos/perfetto/trace/ftrace/smbus_result.pb.h",
"external/perfetto/protos/perfetto/trace/ftrace/smbus_write.pb.h",
"external/perfetto/protos/perfetto/trace/ftrace/softirq_entry.pb.h",
"external/perfetto/protos/perfetto/trace/ftrace/softirq_exit.pb.h",
"external/perfetto/protos/perfetto/trace/ftrace/softirq_raise.pb.h",
"external/perfetto/protos/perfetto/trace/ftrace/sync_pt.pb.h",
"external/perfetto/protos/perfetto/trace/ftrace/sync_timeline.pb.h",
"external/perfetto/protos/perfetto/trace/ftrace/sync_wait.pb.h",
"external/perfetto/protos/perfetto/trace/ftrace/test_bundle_wrapper.pb.h",
"external/perfetto/protos/perfetto/trace/ftrace/tracing_mark_write.pb.h",
"external/perfetto/protos/perfetto/trace/ftrace/workqueue_activate_work.pb.h",
"external/perfetto/protos/perfetto/trace/ftrace/workqueue_execute_end.pb.h",
"external/perfetto/protos/perfetto/trace/ftrace/workqueue_execute_start.pb.h",
"external/perfetto/protos/perfetto/trace/ftrace/workqueue_queue_work.pb.h",
],
export_include_dirs: [
"protos",
],
}
// GN target: //protos/perfetto/trace/ftrace:zero_gen
genrule {
name: "perfetto_protos_perfetto_trace_ftrace_zero_gen",
srcs: [
"protos/perfetto/trace/ftrace/binder_lock.proto",
"protos/perfetto/trace/ftrace/binder_locked.proto",
"protos/perfetto/trace/ftrace/binder_set_priority.proto",
"protos/perfetto/trace/ftrace/binder_transaction.proto",
"protos/perfetto/trace/ftrace/binder_transaction_received.proto",
"protos/perfetto/trace/ftrace/binder_unlock.proto",
"protos/perfetto/trace/ftrace/block_rq_issue.proto",
"protos/perfetto/trace/ftrace/cgroup_attach_task.proto",
"protos/perfetto/trace/ftrace/cgroup_destroy_root.proto",
"protos/perfetto/trace/ftrace/cgroup_mkdir.proto",
"protos/perfetto/trace/ftrace/cgroup_release.proto",
"protos/perfetto/trace/ftrace/cgroup_remount.proto",
"protos/perfetto/trace/ftrace/cgroup_rename.proto",
"protos/perfetto/trace/ftrace/cgroup_rmdir.proto",
"protos/perfetto/trace/ftrace/cgroup_setup_root.proto",
"protos/perfetto/trace/ftrace/cgroup_transfer_tasks.proto",
"protos/perfetto/trace/ftrace/clock_disable.proto",
"protos/perfetto/trace/ftrace/clock_enable.proto",
"protos/perfetto/trace/ftrace/clock_set_rate.proto",
"protos/perfetto/trace/ftrace/cpu_frequency.proto",
"protos/perfetto/trace/ftrace/cpu_frequency_limits.proto",
"protos/perfetto/trace/ftrace/cpu_idle.proto",
"protos/perfetto/trace/ftrace/cpufreq_interactive_already.proto",
"protos/perfetto/trace/ftrace/cpufreq_interactive_boost.proto",
"protos/perfetto/trace/ftrace/cpufreq_interactive_notyet.proto",
"protos/perfetto/trace/ftrace/cpufreq_interactive_setspeed.proto",
"protos/perfetto/trace/ftrace/cpufreq_interactive_target.proto",
"protos/perfetto/trace/ftrace/cpufreq_interactive_unboost.proto",
"protos/perfetto/trace/ftrace/ext4_da_write_begin.proto",
"protos/perfetto/trace/ftrace/ext4_da_write_end.proto",
"protos/perfetto/trace/ftrace/ext4_sync_file_enter.proto",
"protos/perfetto/trace/ftrace/ext4_sync_file_exit.proto",
"protos/perfetto/trace/ftrace/ftrace_event.proto",
"protos/perfetto/trace/ftrace/ftrace_event_bundle.proto",
"protos/perfetto/trace/ftrace/i2c_read.proto",
"protos/perfetto/trace/ftrace/i2c_reply.proto",
"protos/perfetto/trace/ftrace/i2c_result.proto",
"protos/perfetto/trace/ftrace/i2c_write.proto",
"protos/perfetto/trace/ftrace/ipi_entry.proto",
"protos/perfetto/trace/ftrace/ipi_exit.proto",
"protos/perfetto/trace/ftrace/ipi_raise.proto",
"protos/perfetto/trace/ftrace/irq_handler_entry.proto",
"protos/perfetto/trace/ftrace/irq_handler_exit.proto",
"protos/perfetto/trace/ftrace/lowmemory_kill.proto",
"protos/perfetto/trace/ftrace/mdp_cmd_kickoff.proto",
"protos/perfetto/trace/ftrace/mdp_cmd_pingpong_done.proto",
"protos/perfetto/trace/ftrace/mdp_cmd_readptr_done.proto",
"protos/perfetto/trace/ftrace/mdp_cmd_release_bw.proto",
"protos/perfetto/trace/ftrace/mdp_cmd_wait_pingpong.proto",
"protos/perfetto/trace/ftrace/mdp_commit.proto",
"protos/perfetto/trace/ftrace/mdp_compare_bw.proto",
"protos/perfetto/trace/ftrace/mdp_misr_crc.proto",
"protos/perfetto/trace/ftrace/mdp_mixer_update.proto",
"protos/perfetto/trace/ftrace/mdp_perf_prefill_calc.proto",
"protos/perfetto/trace/ftrace/mdp_perf_set_ot.proto",
"protos/perfetto/trace/ftrace/mdp_perf_set_panic_luts.proto",
"protos/perfetto/trace/ftrace/mdp_perf_set_qos_luts.proto",
"protos/perfetto/trace/ftrace/mdp_perf_set_wm_levels.proto",
"protos/perfetto/trace/ftrace/mdp_perf_update_bus.proto",
"protos/perfetto/trace/ftrace/mdp_sspp_change.proto",
"protos/perfetto/trace/ftrace/mdp_sspp_set.proto",
"protos/perfetto/trace/ftrace/mdp_trace_counter.proto",
"protos/perfetto/trace/ftrace/mdp_video_underrun_done.proto",
"protos/perfetto/trace/ftrace/mm_filemap_add_to_page_cache.proto",
"protos/perfetto/trace/ftrace/mm_filemap_delete_from_page_cache.proto",
"protos/perfetto/trace/ftrace/mm_vmscan_direct_reclaim_begin.proto",
"protos/perfetto/trace/ftrace/mm_vmscan_direct_reclaim_end.proto",
"protos/perfetto/trace/ftrace/mm_vmscan_kswapd_sleep.proto",
"protos/perfetto/trace/ftrace/mm_vmscan_kswapd_wake.proto",
"protos/perfetto/trace/ftrace/print.proto",
"protos/perfetto/trace/ftrace/regulator_disable.proto",
"protos/perfetto/trace/ftrace/regulator_disable_complete.proto",
"protos/perfetto/trace/ftrace/regulator_enable.proto",
"protos/perfetto/trace/ftrace/regulator_enable_complete.proto",
"protos/perfetto/trace/ftrace/regulator_enable_delay.proto",
"protos/perfetto/trace/ftrace/regulator_set_voltage.proto",
"protos/perfetto/trace/ftrace/regulator_set_voltage_complete.proto",
"protos/perfetto/trace/ftrace/rotator_bw_ao_as_context.proto",
"protos/perfetto/trace/ftrace/sched_blocked_reason.proto",
"protos/perfetto/trace/ftrace/sched_cpu_hotplug.proto",
"protos/perfetto/trace/ftrace/sched_switch.proto",
"protos/perfetto/trace/ftrace/sched_wakeup.proto",
"protos/perfetto/trace/ftrace/sched_waking.proto",
"protos/perfetto/trace/ftrace/smbus_read.proto",
"protos/perfetto/trace/ftrace/smbus_reply.proto",
"protos/perfetto/trace/ftrace/smbus_result.proto",
"protos/perfetto/trace/ftrace/smbus_write.proto",
"protos/perfetto/trace/ftrace/softirq_entry.proto",
"protos/perfetto/trace/ftrace/softirq_exit.proto",
"protos/perfetto/trace/ftrace/softirq_raise.proto",
"protos/perfetto/trace/ftrace/sync_pt.proto",
"protos/perfetto/trace/ftrace/sync_timeline.proto",
"protos/perfetto/trace/ftrace/sync_wait.proto",
"protos/perfetto/trace/ftrace/test_bundle_wrapper.proto",
"protos/perfetto/trace/ftrace/tracing_mark_write.proto",
"protos/perfetto/trace/ftrace/workqueue_activate_work.proto",
"protos/perfetto/trace/ftrace/workqueue_execute_end.proto",
"protos/perfetto/trace/ftrace/workqueue_execute_start.proto",
"protos/perfetto/trace/ftrace/workqueue_queue_work.proto",
],
tools: [
"aprotoc",
"perfetto_src_protozero_protoc_plugin_protoc_plugin___gn_standalone_toolchain_gcc_like_host_",
],
cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_protoc_plugin___gn_standalone_toolchain_gcc_like_host_) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/protos $(in)",
out: [
"external/perfetto/protos/perfetto/trace/ftrace/binder_lock.pbzero.cc",
"external/perfetto/protos/perfetto/trace/ftrace/binder_locked.pbzero.cc",
"external/perfetto/protos/perfetto/trace/ftrace/binder_set_priority.pbzero.cc",
"external/perfetto/protos/perfetto/trace/ftrace/binder_transaction.pbzero.cc",
"external/perfetto/protos/perfetto/trace/ftrace/binder_transaction_received.pbzero.cc",
"external/perfetto/protos/perfetto/trace/ftrace/binder_unlock.pbzero.cc",
"external/perfetto/protos/perfetto/trace/ftrace/block_rq_issue.pbzero.cc",
"external/perfetto/protos/perfetto/trace/ftrace/cgroup_attach_task.pbzero.cc",
"external/perfetto/protos/perfetto/trace/ftrace/cgroup_destroy_root.pbzero.cc",
"external/perfetto/protos/perfetto/trace/ftrace/cgroup_mkdir.pbzero.cc",
"external/perfetto/protos/perfetto/trace/ftrace/cgroup_release.pbzero.cc",
"external/perfetto/protos/perfetto/trace/ftrace/cgroup_remount.pbzero.cc",
"external/perfetto/protos/perfetto/trace/ftrace/cgroup_rename.pbzero.cc",
"external/perfetto/protos/perfetto/trace/ftrace/cgroup_rmdir.pbzero.cc",
"external/perfetto/protos/perfetto/trace/ftrace/cgroup_setup_root.pbzero.cc",
"external/perfetto/protos/perfetto/trace/ftrace/cgroup_transfer_tasks.pbzero.cc",
"external/perfetto/protos/perfetto/trace/ftrace/clock_disable.pbzero.cc",
"external/perfetto/protos/perfetto/trace/ftrace/clock_enable.pbzero.cc",
"external/perfetto/protos/perfetto/trace/ftrace/clock_set_rate.pbzero.cc",
"external/perfetto/protos/perfetto/trace/ftrace/cpu_frequency.pbzero.cc",
"external/perfetto/protos/perfetto/trace/ftrace/cpu_frequency_limits.pbzero.cc",
"external/perfetto/protos/perfetto/trace/ftrace/cpu_idle.pbzero.cc",
"external/perfetto/protos/perfetto/trace/ftrace/cpufreq_interactive_already.pbzero.cc",
"external/perfetto/protos/perfetto/trace/ftrace/cpufreq_interactive_boost.pbzero.cc",
"external/perfetto/protos/perfetto/trace/ftrace/cpufreq_interactive_notyet.pbzero.cc",
"external/perfetto/protos/perfetto/trace/ftrace/cpufreq_interactive_setspeed.pbzero.cc",
"external/perfetto/protos/perfetto/trace/ftrace/cpufreq_interactive_target.pbzero.cc",
"external/perfetto/protos/perfetto/trace/ftrace/cpufreq_interactive_unboost.pbzero.cc",
"external/perfetto/protos/perfetto/trace/ftrace/ext4_da_write_begin.pbzero.cc",
"external/perfetto/protos/perfetto/trace/ftrace/ext4_da_write_end.pbzero.cc",
"external/perfetto/protos/perfetto/trace/ftrace/ext4_sync_file_enter.pbzero.cc",
"external/perfetto/protos/perfetto/trace/ftrace/ext4_sync_file_exit.pbzero.cc",
"external/perfetto/protos/perfetto/trace/ftrace/ftrace_event.pbzero.cc",
"external/perfetto/protos/perfetto/trace/ftrace/ftrace_event_bundle.pbzero.cc",
"external/perfetto/protos/perfetto/trace/ftrace/i2c_read.pbzero.cc",
"external/perfetto/protos/perfetto/trace/ftrace/i2c_reply.pbzero.cc",
"external/perfetto/protos/perfetto/trace/ftrace/i2c_result.pbzero.cc",
"external/perfetto/protos/perfetto/trace/ftrace/i2c_write.pbzero.cc",
"external/perfetto/protos/perfetto/trace/ftrace/ipi_entry.pbzero.cc",
"external/perfetto/protos/perfetto/trace/ftrace/ipi_exit.pbzero.cc",
"external/perfetto/protos/perfetto/trace/ftrace/ipi_raise.pbzero.cc",
"external/perfetto/protos/perfetto/trace/ftrace/irq_handler_entry.pbzero.cc",
"external/perfetto/protos/perfetto/trace/ftrace/irq_handler_exit.pbzero.cc",
"external/perfetto/protos/perfetto/trace/ftrace/lowmemory_kill.pbzero.cc",
"external/perfetto/protos/perfetto/trace/ftrace/mdp_cmd_kickoff.pbzero.cc",
"external/perfetto/protos/perfetto/trace/ftrace/mdp_cmd_pingpong_done.pbzero.cc",
"external/perfetto/protos/perfetto/trace/ftrace/mdp_cmd_readptr_done.pbzero.cc",
"external/perfetto/protos/perfetto/trace/ftrace/mdp_cmd_release_bw.pbzero.cc",
"external/perfetto/protos/perfetto/trace/ftrace/mdp_cmd_wait_pingpong.pbzero.cc",
"external/perfetto/protos/perfetto/trace/ftrace/mdp_commit.pbzero.cc",
"external/perfetto/protos/perfetto/trace/ftrace/mdp_compare_bw.pbzero.cc",
"external/perfetto/protos/perfetto/trace/ftrace/mdp_misr_crc.pbzero.cc",
"external/perfetto/protos/perfetto/trace/ftrace/mdp_mixer_update.pbzero.cc",
"external/perfetto/protos/perfetto/trace/ftrace/mdp_perf_prefill_calc.pbzero.cc",
"external/perfetto/protos/perfetto/trace/ftrace/mdp_perf_set_ot.pbzero.cc",
"external/perfetto/protos/perfetto/trace/ftrace/mdp_perf_set_panic_luts.pbzero.cc",
"external/perfetto/protos/perfetto/trace/ftrace/mdp_perf_set_qos_luts.pbzero.cc",
"external/perfetto/protos/perfetto/trace/ftrace/mdp_perf_set_wm_levels.pbzero.cc",
"external/perfetto/protos/perfetto/trace/ftrace/mdp_perf_update_bus.pbzero.cc",
"external/perfetto/protos/perfetto/trace/ftrace/mdp_sspp_change.pbzero.cc",
"external/perfetto/protos/perfetto/trace/ftrace/mdp_sspp_set.pbzero.cc",
"external/perfetto/protos/perfetto/trace/ftrace/mdp_trace_counter.pbzero.cc",
"external/perfetto/protos/perfetto/trace/ftrace/mdp_video_underrun_done.pbzero.cc",
"external/perfetto/protos/perfetto/trace/ftrace/mm_filemap_add_to_page_cache.pbzero.cc",
"external/perfetto/protos/perfetto/trace/ftrace/mm_filemap_delete_from_page_cache.pbzero.cc",
"external/perfetto/protos/perfetto/trace/ftrace/mm_vmscan_direct_reclaim_begin.pbzero.cc",
"external/perfetto/protos/perfetto/trace/ftrace/mm_vmscan_direct_reclaim_end.pbzero.cc",
"external/perfetto/protos/perfetto/trace/ftrace/mm_vmscan_kswapd_sleep.pbzero.cc",
"external/perfetto/protos/perfetto/trace/ftrace/mm_vmscan_kswapd_wake.pbzero.cc",
"external/perfetto/protos/perfetto/trace/ftrace/print.pbzero.cc",
"external/perfetto/protos/perfetto/trace/ftrace/regulator_disable.pbzero.cc",
"external/perfetto/protos/perfetto/trace/ftrace/regulator_disable_complete.pbzero.cc",
"external/perfetto/protos/perfetto/trace/ftrace/regulator_enable.pbzero.cc",
"external/perfetto/protos/perfetto/trace/ftrace/regulator_enable_complete.pbzero.cc",
"external/perfetto/protos/perfetto/trace/ftrace/regulator_enable_delay.pbzero.cc",
"external/perfetto/protos/perfetto/trace/ftrace/regulator_set_voltage.pbzero.cc",
"external/perfetto/protos/perfetto/trace/ftrace/regulator_set_voltage_complete.pbzero.cc",
"external/perfetto/protos/perfetto/trace/ftrace/rotator_bw_ao_as_context.pbzero.cc",
"external/perfetto/protos/perfetto/trace/ftrace/sched_blocked_reason.pbzero.cc",
"external/perfetto/protos/perfetto/trace/ftrace/sched_cpu_hotplug.pbzero.cc",
"external/perfetto/protos/perfetto/trace/ftrace/sched_switch.pbzero.cc",
"external/perfetto/protos/perfetto/trace/ftrace/sched_wakeup.pbzero.cc",
"external/perfetto/protos/perfetto/trace/ftrace/sched_waking.pbzero.cc",
"external/perfetto/protos/perfetto/trace/ftrace/smbus_read.pbzero.cc",
"external/perfetto/protos/perfetto/trace/ftrace/smbus_reply.pbzero.cc",
"external/perfetto/protos/perfetto/trace/ftrace/smbus_result.pbzero.cc",
"external/perfetto/protos/perfetto/trace/ftrace/smbus_write.pbzero.cc",
"external/perfetto/protos/perfetto/trace/ftrace/softirq_entry.pbzero.cc",
"external/perfetto/protos/perfetto/trace/ftrace/softirq_exit.pbzero.cc",
"external/perfetto/protos/perfetto/trace/ftrace/softirq_raise.pbzero.cc",
"external/perfetto/protos/perfetto/trace/ftrace/sync_pt.pbzero.cc",
"external/perfetto/protos/perfetto/trace/ftrace/sync_timeline.pbzero.cc",
"external/perfetto/protos/perfetto/trace/ftrace/sync_wait.pbzero.cc",
"external/perfetto/protos/perfetto/trace/ftrace/test_bundle_wrapper.pbzero.cc",
"external/perfetto/protos/perfetto/trace/ftrace/tracing_mark_write.pbzero.cc",
"external/perfetto/protos/perfetto/trace/ftrace/workqueue_activate_work.pbzero.cc",
"external/perfetto/protos/perfetto/trace/ftrace/workqueue_execute_end.pbzero.cc",
"external/perfetto/protos/perfetto/trace/ftrace/workqueue_execute_start.pbzero.cc",
"external/perfetto/protos/perfetto/trace/ftrace/workqueue_queue_work.pbzero.cc",
],
}
// GN target: //protos/perfetto/trace/ftrace:zero_gen
genrule {
name: "perfetto_protos_perfetto_trace_ftrace_zero_gen_headers",
srcs: [
"protos/perfetto/trace/ftrace/binder_lock.proto",
"protos/perfetto/trace/ftrace/binder_locked.proto",
"protos/perfetto/trace/ftrace/binder_set_priority.proto",
"protos/perfetto/trace/ftrace/binder_transaction.proto",
"protos/perfetto/trace/ftrace/binder_transaction_received.proto",
"protos/perfetto/trace/ftrace/binder_unlock.proto",
"protos/perfetto/trace/ftrace/block_rq_issue.proto",
"protos/perfetto/trace/ftrace/cgroup_attach_task.proto",
"protos/perfetto/trace/ftrace/cgroup_destroy_root.proto",
"protos/perfetto/trace/ftrace/cgroup_mkdir.proto",
"protos/perfetto/trace/ftrace/cgroup_release.proto",
"protos/perfetto/trace/ftrace/cgroup_remount.proto",
"protos/perfetto/trace/ftrace/cgroup_rename.proto",
"protos/perfetto/trace/ftrace/cgroup_rmdir.proto",
"protos/perfetto/trace/ftrace/cgroup_setup_root.proto",
"protos/perfetto/trace/ftrace/cgroup_transfer_tasks.proto",
"protos/perfetto/trace/ftrace/clock_disable.proto",
"protos/perfetto/trace/ftrace/clock_enable.proto",
"protos/perfetto/trace/ftrace/clock_set_rate.proto",
"protos/perfetto/trace/ftrace/cpu_frequency.proto",
"protos/perfetto/trace/ftrace/cpu_frequency_limits.proto",
"protos/perfetto/trace/ftrace/cpu_idle.proto",
"protos/perfetto/trace/ftrace/cpufreq_interactive_already.proto",
"protos/perfetto/trace/ftrace/cpufreq_interactive_boost.proto",
"protos/perfetto/trace/ftrace/cpufreq_interactive_notyet.proto",
"protos/perfetto/trace/ftrace/cpufreq_interactive_setspeed.proto",
"protos/perfetto/trace/ftrace/cpufreq_interactive_target.proto",
"protos/perfetto/trace/ftrace/cpufreq_interactive_unboost.proto",
"protos/perfetto/trace/ftrace/ext4_da_write_begin.proto",
"protos/perfetto/trace/ftrace/ext4_da_write_end.proto",
"protos/perfetto/trace/ftrace/ext4_sync_file_enter.proto",
"protos/perfetto/trace/ftrace/ext4_sync_file_exit.proto",
"protos/perfetto/trace/ftrace/ftrace_event.proto",
"protos/perfetto/trace/ftrace/ftrace_event_bundle.proto",
"protos/perfetto/trace/ftrace/i2c_read.proto",
"protos/perfetto/trace/ftrace/i2c_reply.proto",
"protos/perfetto/trace/ftrace/i2c_result.proto",
"protos/perfetto/trace/ftrace/i2c_write.proto",
"protos/perfetto/trace/ftrace/ipi_entry.proto",
"protos/perfetto/trace/ftrace/ipi_exit.proto",
"protos/perfetto/trace/ftrace/ipi_raise.proto",
"protos/perfetto/trace/ftrace/irq_handler_entry.proto",
"protos/perfetto/trace/ftrace/irq_handler_exit.proto",
"protos/perfetto/trace/ftrace/lowmemory_kill.proto",
"protos/perfetto/trace/ftrace/mdp_cmd_kickoff.proto",
"protos/perfetto/trace/ftrace/mdp_cmd_pingpong_done.proto",
"protos/perfetto/trace/ftrace/mdp_cmd_readptr_done.proto",
"protos/perfetto/trace/ftrace/mdp_cmd_release_bw.proto",
"protos/perfetto/trace/ftrace/mdp_cmd_wait_pingpong.proto",
"protos/perfetto/trace/ftrace/mdp_commit.proto",
"protos/perfetto/trace/ftrace/mdp_compare_bw.proto",
"protos/perfetto/trace/ftrace/mdp_misr_crc.proto",
"protos/perfetto/trace/ftrace/mdp_mixer_update.proto",
"protos/perfetto/trace/ftrace/mdp_perf_prefill_calc.proto",
"protos/perfetto/trace/ftrace/mdp_perf_set_ot.proto",
"protos/perfetto/trace/ftrace/mdp_perf_set_panic_luts.proto",
"protos/perfetto/trace/ftrace/mdp_perf_set_qos_luts.proto",
"protos/perfetto/trace/ftrace/mdp_perf_set_wm_levels.proto",
"protos/perfetto/trace/ftrace/mdp_perf_update_bus.proto",
"protos/perfetto/trace/ftrace/mdp_sspp_change.proto",
"protos/perfetto/trace/ftrace/mdp_sspp_set.proto",
"protos/perfetto/trace/ftrace/mdp_trace_counter.proto",
"protos/perfetto/trace/ftrace/mdp_video_underrun_done.proto",
"protos/perfetto/trace/ftrace/mm_filemap_add_to_page_cache.proto",
"protos/perfetto/trace/ftrace/mm_filemap_delete_from_page_cache.proto",
"protos/perfetto/trace/ftrace/mm_vmscan_direct_reclaim_begin.proto",
"protos/perfetto/trace/ftrace/mm_vmscan_direct_reclaim_end.proto",
"protos/perfetto/trace/ftrace/mm_vmscan_kswapd_sleep.proto",
"protos/perfetto/trace/ftrace/mm_vmscan_kswapd_wake.proto",
"protos/perfetto/trace/ftrace/print.proto",
"protos/perfetto/trace/ftrace/regulator_disable.proto",
"protos/perfetto/trace/ftrace/regulator_disable_complete.proto",
"protos/perfetto/trace/ftrace/regulator_enable.proto",
"protos/perfetto/trace/ftrace/regulator_enable_complete.proto",
"protos/perfetto/trace/ftrace/regulator_enable_delay.proto",
"protos/perfetto/trace/ftrace/regulator_set_voltage.proto",
"protos/perfetto/trace/ftrace/regulator_set_voltage_complete.proto",
"protos/perfetto/trace/ftrace/rotator_bw_ao_as_context.proto",
"protos/perfetto/trace/ftrace/sched_blocked_reason.proto",
"protos/perfetto/trace/ftrace/sched_cpu_hotplug.proto",
"protos/perfetto/trace/ftrace/sched_switch.proto",
"protos/perfetto/trace/ftrace/sched_wakeup.proto",
"protos/perfetto/trace/ftrace/sched_waking.proto",
"protos/perfetto/trace/ftrace/smbus_read.proto",
"protos/perfetto/trace/ftrace/smbus_reply.proto",
"protos/perfetto/trace/ftrace/smbus_result.proto",
"protos/perfetto/trace/ftrace/smbus_write.proto",
"protos/perfetto/trace/ftrace/softirq_entry.proto",
"protos/perfetto/trace/ftrace/softirq_exit.proto",
"protos/perfetto/trace/ftrace/softirq_raise.proto",
"protos/perfetto/trace/ftrace/sync_pt.proto",
"protos/perfetto/trace/ftrace/sync_timeline.proto",
"protos/perfetto/trace/ftrace/sync_wait.proto",
"protos/perfetto/trace/ftrace/test_bundle_wrapper.proto",
"protos/perfetto/trace/ftrace/tracing_mark_write.proto",
"protos/perfetto/trace/ftrace/workqueue_activate_work.proto",
"protos/perfetto/trace/ftrace/workqueue_execute_end.proto",
"protos/perfetto/trace/ftrace/workqueue_execute_start.proto",
"protos/perfetto/trace/ftrace/workqueue_queue_work.proto",
],
tools: [
"aprotoc",
"perfetto_src_protozero_protoc_plugin_protoc_plugin___gn_standalone_toolchain_gcc_like_host_",
],
cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_protoc_plugin___gn_standalone_toolchain_gcc_like_host_) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/protos $(in)",
out: [
"external/perfetto/protos/perfetto/trace/ftrace/binder_lock.pbzero.h",
"external/perfetto/protos/perfetto/trace/ftrace/binder_locked.pbzero.h",
"external/perfetto/protos/perfetto/trace/ftrace/binder_set_priority.pbzero.h",
"external/perfetto/protos/perfetto/trace/ftrace/binder_transaction.pbzero.h",
"external/perfetto/protos/perfetto/trace/ftrace/binder_transaction_received.pbzero.h",
"external/perfetto/protos/perfetto/trace/ftrace/binder_unlock.pbzero.h",
"external/perfetto/protos/perfetto/trace/ftrace/block_rq_issue.pbzero.h",
"external/perfetto/protos/perfetto/trace/ftrace/cgroup_attach_task.pbzero.h",
"external/perfetto/protos/perfetto/trace/ftrace/cgroup_destroy_root.pbzero.h",
"external/perfetto/protos/perfetto/trace/ftrace/cgroup_mkdir.pbzero.h",
"external/perfetto/protos/perfetto/trace/ftrace/cgroup_release.pbzero.h",
"external/perfetto/protos/perfetto/trace/ftrace/cgroup_remount.pbzero.h",
"external/perfetto/protos/perfetto/trace/ftrace/cgroup_rename.pbzero.h",
"external/perfetto/protos/perfetto/trace/ftrace/cgroup_rmdir.pbzero.h",
"external/perfetto/protos/perfetto/trace/ftrace/cgroup_setup_root.pbzero.h",
"external/perfetto/protos/perfetto/trace/ftrace/cgroup_transfer_tasks.pbzero.h",
"external/perfetto/protos/perfetto/trace/ftrace/clock_disable.pbzero.h",
"external/perfetto/protos/perfetto/trace/ftrace/clock_enable.pbzero.h",
"external/perfetto/protos/perfetto/trace/ftrace/clock_set_rate.pbzero.h",
"external/perfetto/protos/perfetto/trace/ftrace/cpu_frequency.pbzero.h",
"external/perfetto/protos/perfetto/trace/ftrace/cpu_frequency_limits.pbzero.h",
"external/perfetto/protos/perfetto/trace/ftrace/cpu_idle.pbzero.h",
"external/perfetto/protos/perfetto/trace/ftrace/cpufreq_interactive_already.pbzero.h",
"external/perfetto/protos/perfetto/trace/ftrace/cpufreq_interactive_boost.pbzero.h",
"external/perfetto/protos/perfetto/trace/ftrace/cpufreq_interactive_notyet.pbzero.h",
"external/perfetto/protos/perfetto/trace/ftrace/cpufreq_interactive_setspeed.pbzero.h",
"external/perfetto/protos/perfetto/trace/ftrace/cpufreq_interactive_target.pbzero.h",
"external/perfetto/protos/perfetto/trace/ftrace/cpufreq_interactive_unboost.pbzero.h",
"external/perfetto/protos/perfetto/trace/ftrace/ext4_da_write_begin.pbzero.h",
"external/perfetto/protos/perfetto/trace/ftrace/ext4_da_write_end.pbzero.h",
"external/perfetto/protos/perfetto/trace/ftrace/ext4_sync_file_enter.pbzero.h",
"external/perfetto/protos/perfetto/trace/ftrace/ext4_sync_file_exit.pbzero.h",
"external/perfetto/protos/perfetto/trace/ftrace/ftrace_event.pbzero.h",
"external/perfetto/protos/perfetto/trace/ftrace/ftrace_event_bundle.pbzero.h",
"external/perfetto/protos/perfetto/trace/ftrace/i2c_read.pbzero.h",
"external/perfetto/protos/perfetto/trace/ftrace/i2c_reply.pbzero.h",
"external/perfetto/protos/perfetto/trace/ftrace/i2c_result.pbzero.h",
"external/perfetto/protos/perfetto/trace/ftrace/i2c_write.pbzero.h",
"external/perfetto/protos/perfetto/trace/ftrace/ipi_entry.pbzero.h",
"external/perfetto/protos/perfetto/trace/ftrace/ipi_exit.pbzero.h",
"external/perfetto/protos/perfetto/trace/ftrace/ipi_raise.pbzero.h",
"external/perfetto/protos/perfetto/trace/ftrace/irq_handler_entry.pbzero.h",
"external/perfetto/protos/perfetto/trace/ftrace/irq_handler_exit.pbzero.h",
"external/perfetto/protos/perfetto/trace/ftrace/lowmemory_kill.pbzero.h",
"external/perfetto/protos/perfetto/trace/ftrace/mdp_cmd_kickoff.pbzero.h",
"external/perfetto/protos/perfetto/trace/ftrace/mdp_cmd_pingpong_done.pbzero.h",
"external/perfetto/protos/perfetto/trace/ftrace/mdp_cmd_readptr_done.pbzero.h",
"external/perfetto/protos/perfetto/trace/ftrace/mdp_cmd_release_bw.pbzero.h",
"external/perfetto/protos/perfetto/trace/ftrace/mdp_cmd_wait_pingpong.pbzero.h",
"external/perfetto/protos/perfetto/trace/ftrace/mdp_commit.pbzero.h",
"external/perfetto/protos/perfetto/trace/ftrace/mdp_compare_bw.pbzero.h",
"external/perfetto/protos/perfetto/trace/ftrace/mdp_misr_crc.pbzero.h",
"external/perfetto/protos/perfetto/trace/ftrace/mdp_mixer_update.pbzero.h",
"external/perfetto/protos/perfetto/trace/ftrace/mdp_perf_prefill_calc.pbzero.h",
"external/perfetto/protos/perfetto/trace/ftrace/mdp_perf_set_ot.pbzero.h",
"external/perfetto/protos/perfetto/trace/ftrace/mdp_perf_set_panic_luts.pbzero.h",
"external/perfetto/protos/perfetto/trace/ftrace/mdp_perf_set_qos_luts.pbzero.h",
"external/perfetto/protos/perfetto/trace/ftrace/mdp_perf_set_wm_levels.pbzero.h",
"external/perfetto/protos/perfetto/trace/ftrace/mdp_perf_update_bus.pbzero.h",
"external/perfetto/protos/perfetto/trace/ftrace/mdp_sspp_change.pbzero.h",
"external/perfetto/protos/perfetto/trace/ftrace/mdp_sspp_set.pbzero.h",
"external/perfetto/protos/perfetto/trace/ftrace/mdp_trace_counter.pbzero.h",
"external/perfetto/protos/perfetto/trace/ftrace/mdp_video_underrun_done.pbzero.h",
"external/perfetto/protos/perfetto/trace/ftrace/mm_filemap_add_to_page_cache.pbzero.h",
"external/perfetto/protos/perfetto/trace/ftrace/mm_filemap_delete_from_page_cache.pbzero.h",
"external/perfetto/protos/perfetto/trace/ftrace/mm_vmscan_direct_reclaim_begin.pbzero.h",
"external/perfetto/protos/perfetto/trace/ftrace/mm_vmscan_direct_reclaim_end.pbzero.h",
"external/perfetto/protos/perfetto/trace/ftrace/mm_vmscan_kswapd_sleep.pbzero.h",
"external/perfetto/protos/perfetto/trace/ftrace/mm_vmscan_kswapd_wake.pbzero.h",
"external/perfetto/protos/perfetto/trace/ftrace/print.pbzero.h",
"external/perfetto/protos/perfetto/trace/ftrace/regulator_disable.pbzero.h",
"external/perfetto/protos/perfetto/trace/ftrace/regulator_disable_complete.pbzero.h",
"external/perfetto/protos/perfetto/trace/ftrace/regulator_enable.pbzero.h",
"external/perfetto/protos/perfetto/trace/ftrace/regulator_enable_complete.pbzero.h",
"external/perfetto/protos/perfetto/trace/ftrace/regulator_enable_delay.pbzero.h",
"external/perfetto/protos/perfetto/trace/ftrace/regulator_set_voltage.pbzero.h",
"external/perfetto/protos/perfetto/trace/ftrace/regulator_set_voltage_complete.pbzero.h",
"external/perfetto/protos/perfetto/trace/ftrace/rotator_bw_ao_as_context.pbzero.h",
"external/perfetto/protos/perfetto/trace/ftrace/sched_blocked_reason.pbzero.h",
"external/perfetto/protos/perfetto/trace/ftrace/sched_cpu_hotplug.pbzero.h",
"external/perfetto/protos/perfetto/trace/ftrace/sched_switch.pbzero.h",
"external/perfetto/protos/perfetto/trace/ftrace/sched_wakeup.pbzero.h",
"external/perfetto/protos/perfetto/trace/ftrace/sched_waking.pbzero.h",
"external/perfetto/protos/perfetto/trace/ftrace/smbus_read.pbzero.h",
"external/perfetto/protos/perfetto/trace/ftrace/smbus_reply.pbzero.h",
"external/perfetto/protos/perfetto/trace/ftrace/smbus_result.pbzero.h",
"external/perfetto/protos/perfetto/trace/ftrace/smbus_write.pbzero.h",
"external/perfetto/protos/perfetto/trace/ftrace/softirq_entry.pbzero.h",
"external/perfetto/protos/perfetto/trace/ftrace/softirq_exit.pbzero.h",
"external/perfetto/protos/perfetto/trace/ftrace/softirq_raise.pbzero.h",
"external/perfetto/protos/perfetto/trace/ftrace/sync_pt.pbzero.h",
"external/perfetto/protos/perfetto/trace/ftrace/sync_timeline.pbzero.h",
"external/perfetto/protos/perfetto/trace/ftrace/sync_wait.pbzero.h",
"external/perfetto/protos/perfetto/trace/ftrace/test_bundle_wrapper.pbzero.h",
"external/perfetto/protos/perfetto/trace/ftrace/tracing_mark_write.pbzero.h",
"external/perfetto/protos/perfetto/trace/ftrace/workqueue_activate_work.pbzero.h",
"external/perfetto/protos/perfetto/trace/ftrace/workqueue_execute_end.pbzero.h",
"external/perfetto/protos/perfetto/trace/ftrace/workqueue_execute_start.pbzero.h",
"external/perfetto/protos/perfetto/trace/ftrace/workqueue_queue_work.pbzero.h",
],
export_include_dirs: [
"protos",
],
}
// GN target: //protos/perfetto/trace:lite_gen
genrule {
name: "perfetto_protos_perfetto_trace_lite_gen",
srcs: [
"protos/perfetto/trace/test_event.proto",
"protos/perfetto/trace/trace.proto",
"protos/perfetto/trace/trace_packet.proto",
],
tools: [
"aprotoc",
],
cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos $(in)",
out: [
"external/perfetto/protos/perfetto/trace/test_event.pb.cc",
"external/perfetto/protos/perfetto/trace/trace.pb.cc",
"external/perfetto/protos/perfetto/trace/trace_packet.pb.cc",
],
}
// GN target: //protos/perfetto/trace:lite_gen
genrule {
name: "perfetto_protos_perfetto_trace_lite_gen_headers",
srcs: [
"protos/perfetto/trace/test_event.proto",
"protos/perfetto/trace/trace.proto",
"protos/perfetto/trace/trace_packet.proto",
],
tools: [
"aprotoc",
],
cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos $(in)",
out: [
"external/perfetto/protos/perfetto/trace/test_event.pb.h",
"external/perfetto/protos/perfetto/trace/trace.pb.h",
"external/perfetto/protos/perfetto/trace/trace_packet.pb.h",
],
export_include_dirs: [
"protos",
],
}
// GN target: //protos/perfetto/trace:zero_gen
genrule {
name: "perfetto_protos_perfetto_trace_zero_gen",
srcs: [
"protos/perfetto/trace/test_event.proto",
"protos/perfetto/trace/trace.proto",
"protos/perfetto/trace/trace_packet.proto",
],
tools: [
"aprotoc",
"perfetto_src_protozero_protoc_plugin_protoc_plugin___gn_standalone_toolchain_gcc_like_host_",
],
cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_protoc_plugin___gn_standalone_toolchain_gcc_like_host_) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/protos $(in)",
out: [
"external/perfetto/protos/perfetto/trace/test_event.pbzero.cc",
"external/perfetto/protos/perfetto/trace/trace.pbzero.cc",
"external/perfetto/protos/perfetto/trace/trace_packet.pbzero.cc",
],
}
// GN target: //protos/perfetto/trace:zero_gen
genrule {
name: "perfetto_protos_perfetto_trace_zero_gen_headers",
srcs: [
"protos/perfetto/trace/test_event.proto",
"protos/perfetto/trace/trace.proto",
"protos/perfetto/trace/trace_packet.proto",
],
tools: [
"aprotoc",
"perfetto_src_protozero_protoc_plugin_protoc_plugin___gn_standalone_toolchain_gcc_like_host_",
],
cmd: "mkdir -p $(genDir)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --proto_path=external/perfetto/protos --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_protoc_plugin___gn_standalone_toolchain_gcc_like_host_) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto/protos $(in)",
out: [
"external/perfetto/protos/perfetto/trace/test_event.pbzero.h",
"external/perfetto/protos/perfetto/trace/trace.pbzero.h",
"external/perfetto/protos/perfetto/trace/trace_packet.pbzero.h",
],
export_include_dirs: [
"protos",
],
}
// GN target: //src/ftrace_reader:ftrace_reader_test_messages_lite_gen
genrule {
name: "perfetto_src_ftrace_reader_ftrace_reader_test_messages_lite_gen",
srcs: [
"src/ftrace_reader/test/test_messages.proto",
],
tools: [
"aprotoc",
],
cmd: "mkdir -p $(genDir)/external/perfetto && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto --proto_path=external/perfetto/ $(in)",
out: [
"external/perfetto/src/ftrace_reader/test/test_messages.pb.cc",
],
}
// GN target: //src/ftrace_reader:ftrace_reader_test_messages_lite_gen
genrule {
name: "perfetto_src_ftrace_reader_ftrace_reader_test_messages_lite_gen_headers",
srcs: [
"src/ftrace_reader/test/test_messages.proto",
],
tools: [
"aprotoc",
],
cmd: "mkdir -p $(genDir)/external/perfetto && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto --proto_path=external/perfetto/ $(in)",
out: [
"external/perfetto/src/ftrace_reader/test/test_messages.pb.h",
],
export_include_dirs: [
".",
],
}
// GN target: //src/ftrace_reader:ftrace_reader_test_messages_zero_gen
genrule {
name: "perfetto_src_ftrace_reader_ftrace_reader_test_messages_zero_gen",
srcs: [
"src/ftrace_reader/test/test_messages.proto",
],
tools: [
"aprotoc",
"perfetto_src_protozero_protoc_plugin_protoc_plugin___gn_standalone_toolchain_gcc_like_host_",
],
cmd: "mkdir -p $(genDir)/external/perfetto && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto --proto_path=external/perfetto/ --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_protoc_plugin___gn_standalone_toolchain_gcc_like_host_) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto $(in)",
out: [
"external/perfetto/src/ftrace_reader/test/test_messages.pbzero.cc",
],
}
// GN target: //src/ftrace_reader:ftrace_reader_test_messages_zero_gen
genrule {
name: "perfetto_src_ftrace_reader_ftrace_reader_test_messages_zero_gen_headers",
srcs: [
"src/ftrace_reader/test/test_messages.proto",
],
tools: [
"aprotoc",
"perfetto_src_protozero_protoc_plugin_protoc_plugin___gn_standalone_toolchain_gcc_like_host_",
],
cmd: "mkdir -p $(genDir)/external/perfetto && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto --proto_path=external/perfetto/ --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_protoc_plugin___gn_standalone_toolchain_gcc_like_host_) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto $(in)",
out: [
"external/perfetto/src/ftrace_reader/test/test_messages.pbzero.h",
],
export_include_dirs: [
".",
],
}
// GN target: //src/ipc/protoc_plugin:ipc_plugin(//gn/standalone/toolchain:gcc_like_host)
cc_binary_host {
name: "perfetto_src_ipc_protoc_plugin_ipc_plugin___gn_standalone_toolchain_gcc_like_host_",
srcs: [
"src/ipc/protoc_plugin/ipc_generator.cc",
"src/ipc/protoc_plugin/ipc_plugin.cc",
],
shared_libs: [
"libprotoc",
],
defaults: [
"perfetto_defaults",
],
cflags: [
"-DGOOGLE_PROTOBUF_NO_RTTI",
"-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
],
}
// GN target: //src/ipc:test_messages_gen
genrule {
name: "perfetto_src_ipc_test_messages_gen",
srcs: [
"src/ipc/test/client_unittest_messages.proto",
"src/ipc/test/deferred_unittest_messages.proto",
"src/ipc/test/greeter_service.proto",
],
tools: [
"aprotoc",
"perfetto_src_ipc_protoc_plugin_ipc_plugin___gn_standalone_toolchain_gcc_like_host_",
],
cmd: "mkdir -p $(genDir)/external/perfetto && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto --proto_path=external/perfetto/ --plugin=protoc-gen-plugin=$(location perfetto_src_ipc_protoc_plugin_ipc_plugin___gn_standalone_toolchain_gcc_like_host_) --plugin_out=:$(genDir)/external/perfetto $(in)",
out: [
"external/perfetto/src/ipc/test/client_unittest_messages.ipc.cc",
"external/perfetto/src/ipc/test/client_unittest_messages.pb.cc",
"external/perfetto/src/ipc/test/deferred_unittest_messages.ipc.cc",
"external/perfetto/src/ipc/test/deferred_unittest_messages.pb.cc",
"external/perfetto/src/ipc/test/greeter_service.ipc.cc",
"external/perfetto/src/ipc/test/greeter_service.pb.cc",
],
}
// GN target: //src/ipc:test_messages_gen
genrule {
name: "perfetto_src_ipc_test_messages_gen_headers",
srcs: [
"src/ipc/test/client_unittest_messages.proto",
"src/ipc/test/deferred_unittest_messages.proto",
"src/ipc/test/greeter_service.proto",
],
tools: [
"aprotoc",
"perfetto_src_ipc_protoc_plugin_ipc_plugin___gn_standalone_toolchain_gcc_like_host_",
],
cmd: "mkdir -p $(genDir)/external/perfetto && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto --proto_path=external/perfetto/ --plugin=protoc-gen-plugin=$(location perfetto_src_ipc_protoc_plugin_ipc_plugin___gn_standalone_toolchain_gcc_like_host_) --plugin_out=:$(genDir)/external/perfetto $(in)",
out: [
"external/perfetto/src/ipc/test/client_unittest_messages.ipc.h",
"external/perfetto/src/ipc/test/client_unittest_messages.pb.h",
"external/perfetto/src/ipc/test/deferred_unittest_messages.ipc.h",
"external/perfetto/src/ipc/test/deferred_unittest_messages.pb.h",
"external/perfetto/src/ipc/test/greeter_service.ipc.h",
"external/perfetto/src/ipc/test/greeter_service.pb.h",
],
export_include_dirs: [
".",
],
}
// GN target: //src/ipc:wire_protocol_gen
genrule {
name: "perfetto_src_ipc_wire_protocol_gen",
srcs: [
"src/ipc/wire_protocol.proto",
],
tools: [
"aprotoc",
],
cmd: "mkdir -p $(genDir)/external/perfetto && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto --proto_path=external/perfetto/ $(in)",
out: [
"external/perfetto/src/ipc/wire_protocol.pb.cc",
],
}
// GN target: //src/ipc:wire_protocol_gen
genrule {
name: "perfetto_src_ipc_wire_protocol_gen_headers",
srcs: [
"src/ipc/wire_protocol.proto",
],
tools: [
"aprotoc",
],
cmd: "mkdir -p $(genDir)/external/perfetto && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto --proto_path=external/perfetto/ $(in)",
out: [
"external/perfetto/src/ipc/wire_protocol.pb.h",
],
export_include_dirs: [
".",
],
}
// GN target: //src/protozero/protoc_plugin:protoc_plugin(//gn/standalone/toolchain:gcc_like_host)
cc_binary_host {
name: "perfetto_src_protozero_protoc_plugin_protoc_plugin___gn_standalone_toolchain_gcc_like_host_",
srcs: [
"src/protozero/protoc_plugin/protozero_generator.cc",
"src/protozero/protoc_plugin/protozero_plugin.cc",
],
shared_libs: [
"libprotoc",
],
defaults: [
"perfetto_defaults",
],
cflags: [
"-DGOOGLE_PROTOBUF_NO_RTTI",
"-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
],
}
// GN target: //src/protozero:testing_messages_lite_gen
genrule {
name: "perfetto_src_protozero_testing_messages_lite_gen",
srcs: [
"src/protozero/test/example_proto/library.proto",
"src/protozero/test/example_proto/library_internals/galaxies.proto",
"src/protozero/test/example_proto/test_messages.proto",
"src/protozero/test/example_proto/upper_import.proto",
],
tools: [
"aprotoc",
],
cmd: "mkdir -p $(genDir)/external/perfetto && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto --proto_path=external/perfetto/ $(in)",
out: [
"external/perfetto/src/protozero/test/example_proto/library.pb.cc",
"external/perfetto/src/protozero/test/example_proto/library_internals/galaxies.pb.cc",
"external/perfetto/src/protozero/test/example_proto/test_messages.pb.cc",
"external/perfetto/src/protozero/test/example_proto/upper_import.pb.cc",
],
}
// GN target: //src/protozero:testing_messages_lite_gen
genrule {
name: "perfetto_src_protozero_testing_messages_lite_gen_headers",
srcs: [
"src/protozero/test/example_proto/library.proto",
"src/protozero/test/example_proto/library_internals/galaxies.proto",
"src/protozero/test/example_proto/test_messages.proto",
"src/protozero/test/example_proto/upper_import.proto",
],
tools: [
"aprotoc",
],
cmd: "mkdir -p $(genDir)/external/perfetto && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto --proto_path=external/perfetto/ $(in)",
out: [
"external/perfetto/src/protozero/test/example_proto/library.pb.h",
"external/perfetto/src/protozero/test/example_proto/library_internals/galaxies.pb.h",
"external/perfetto/src/protozero/test/example_proto/test_messages.pb.h",
"external/perfetto/src/protozero/test/example_proto/upper_import.pb.h",
],
export_include_dirs: [
".",
],
}
// GN target: //src/protozero:testing_messages_zero_gen
genrule {
name: "perfetto_src_protozero_testing_messages_zero_gen",
srcs: [
"src/protozero/test/example_proto/library.proto",
"src/protozero/test/example_proto/library_internals/galaxies.proto",
"src/protozero/test/example_proto/test_messages.proto",
"src/protozero/test/example_proto/upper_import.proto",
],
tools: [
"aprotoc",
"perfetto_src_protozero_protoc_plugin_protoc_plugin___gn_standalone_toolchain_gcc_like_host_",
],
cmd: "mkdir -p $(genDir)/external/perfetto && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto --proto_path=external/perfetto/ --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_protoc_plugin___gn_standalone_toolchain_gcc_like_host_) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto $(in)",
out: [
"external/perfetto/src/protozero/test/example_proto/library.pbzero.cc",
"external/perfetto/src/protozero/test/example_proto/library_internals/galaxies.pbzero.cc",
"external/perfetto/src/protozero/test/example_proto/test_messages.pbzero.cc",
"external/perfetto/src/protozero/test/example_proto/upper_import.pbzero.cc",
],
}
// GN target: //src/protozero:testing_messages_zero_gen
genrule {
name: "perfetto_src_protozero_testing_messages_zero_gen_headers",
srcs: [
"src/protozero/test/example_proto/library.proto",
"src/protozero/test/example_proto/library_internals/galaxies.proto",
"src/protozero/test/example_proto/test_messages.proto",
"src/protozero/test/example_proto/upper_import.proto",
],
tools: [
"aprotoc",
"perfetto_src_protozero_protoc_plugin_protoc_plugin___gn_standalone_toolchain_gcc_like_host_",
],
cmd: "mkdir -p $(genDir)/external/perfetto && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto --proto_path=external/perfetto/ --plugin=protoc-gen-plugin=$(location perfetto_src_protozero_protoc_plugin_protoc_plugin___gn_standalone_toolchain_gcc_like_host_) --plugin_out=wrapper_namespace=pbzero:$(genDir)/external/perfetto $(in)",
out: [
"external/perfetto/src/protozero/test/example_proto/library.pbzero.h",
"external/perfetto/src/protozero/test/example_proto/library_internals/galaxies.pbzero.h",
"external/perfetto/src/protozero/test/example_proto/test_messages.pbzero.h",
"external/perfetto/src/protozero/test/example_proto/upper_import.pbzero.h",
],
export_include_dirs: [
".",
],
}
// GN target: //src/tracing:ipc
cc_library_static {
name: "perfetto_src_tracing_ipc",
srcs: [
":perfetto_protos_perfetto_config_config_gen",
":perfetto_protos_perfetto_ipc_ipc_gen",
":perfetto_protos_perfetto_trace_ftrace_lite_gen",
":perfetto_protos_perfetto_trace_ftrace_zero_gen",
":perfetto_protos_perfetto_trace_lite_gen",
":perfetto_protos_perfetto_trace_zero_gen",
":perfetto_src_ipc_wire_protocol_gen",
"src/base/page_allocator.cc",
"src/base/thread_checker.cc",
"src/base/unix_task_runner.cc",
"src/base/watchdog.cc",
"src/ipc/buffered_frame_deserializer.cc",
"src/ipc/client_impl.cc",
"src/ipc/deferred.cc",
"src/ipc/host_impl.cc",
"src/ipc/service_proxy.cc",
"src/ipc/unix_socket.cc",
"src/protozero/proto_utils.cc",
"src/protozero/protozero_message.cc",
"src/protozero/protozero_message_handle.cc",
"src/protozero/scattered_stream_writer.cc",
"src/tracing/core/chunked_protobuf_input_stream.cc",
"src/tracing/core/data_source_config.cc",
"src/tracing/core/data_source_descriptor.cc",
"src/tracing/core/id_allocator.cc",
"src/tracing/core/service_impl.cc",
"src/tracing/core/shared_memory_abi.cc",
"src/tracing/core/shared_memory_arbiter_impl.cc",
"src/tracing/core/trace_config.cc",
"src/tracing/core/trace_packet.cc",
"src/tracing/core/trace_writer_impl.cc",
"src/tracing/ipc/consumer/consumer_ipc_client_impl.cc",
"src/tracing/ipc/posix_shared_memory.cc",
"src/tracing/ipc/producer/producer_ipc_client_impl.cc",
"src/tracing/ipc/service/consumer_ipc_service.cc",
"src/tracing/ipc/service/producer_ipc_service.cc",
"src/tracing/ipc/service/service_ipc_host_impl.cc",
],
shared_libs: [
"liblog",
"libprotobuf-cpp-lite",
],
static_libs: [
"libgtest_prod",
],
export_include_dirs: [
"include",
],
generated_headers: [
"perfetto_protos_perfetto_config_config_gen_headers",
"perfetto_protos_perfetto_ipc_ipc_gen_headers",
"perfetto_protos_perfetto_trace_ftrace_lite_gen_headers",
"perfetto_protos_perfetto_trace_ftrace_zero_gen_headers",
"perfetto_protos_perfetto_trace_lite_gen_headers",
"perfetto_protos_perfetto_trace_zero_gen_headers",
"perfetto_src_ipc_wire_protocol_gen_headers",
],
export_generated_headers: [
"perfetto_protos_perfetto_config_config_gen_headers",
"perfetto_protos_perfetto_ipc_ipc_gen_headers",
"perfetto_protos_perfetto_trace_ftrace_lite_gen_headers",
"perfetto_protos_perfetto_trace_ftrace_zero_gen_headers",
"perfetto_protos_perfetto_trace_lite_gen_headers",
"perfetto_protos_perfetto_trace_zero_gen_headers",
"perfetto_src_ipc_wire_protocol_gen_headers",
],
defaults: [
"perfetto_defaults",
],
cflags: [
"-DGOOGLE_PROTOBUF_NO_RTTI",
"-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
],
}
// GN target: //:perfetto_unittests
cc_test {
name: "perfetto_unittests",
srcs: [
":perfetto_protos_perfetto_config_config_gen",
":perfetto_protos_perfetto_ipc_ipc_gen",
":perfetto_protos_perfetto_trace_ftrace_lite_gen",
":perfetto_protos_perfetto_trace_ftrace_zero_gen",
":perfetto_protos_perfetto_trace_lite_gen",
":perfetto_protos_perfetto_trace_zero_gen",
":perfetto_src_ftrace_reader_ftrace_reader_test_messages_lite_gen",
":perfetto_src_ftrace_reader_ftrace_reader_test_messages_zero_gen",
":perfetto_src_ipc_test_messages_gen",
":perfetto_src_ipc_wire_protocol_gen",
":perfetto_src_protozero_testing_messages_lite_gen",
":perfetto_src_protozero_testing_messages_zero_gen",
"src/base/android_task_runner.cc",
"src/base/page_allocator.cc",
"src/base/page_allocator_unittest.cc",
"src/base/scoped_file_unittest.cc",
"src/base/task_runner_unittest.cc",
"src/base/test/test_task_runner.cc",
"src/base/test/vm_test_utils.cc",
"src/base/thread_checker.cc",
"src/base/thread_checker_unittest.cc",
"src/base/unix_task_runner.cc",
"src/base/utils_unittest.cc",
"src/base/watchdog.cc",
"src/base/watchdog_unittest.cc",
"src/base/weak_ptr_unittest.cc",
"src/ftrace_reader/cpu_reader.cc",
"src/ftrace_reader/cpu_reader_unittest.cc",
"src/ftrace_reader/event_info.cc",
"src/ftrace_reader/event_info_constants.cc",
"src/ftrace_reader/event_info_unittest.cc",
"src/ftrace_reader/format_parser.cc",
"src/ftrace_reader/format_parser_unittest.cc",
"src/ftrace_reader/ftrace_controller.cc",
"src/ftrace_reader/ftrace_controller_unittest.cc",
"src/ftrace_reader/ftrace_procfs.cc",
"src/ftrace_reader/proto_translation_table.cc",
"src/ftrace_reader/proto_translation_table_unittest.cc",
"src/ftrace_reader/test/cpu_reader_support.cc",
"src/ftrace_reader/test/scattered_stream_delegate_for_testing.cc",
"src/ftrace_reader/test/scattered_stream_null_delegate.cc",
"src/ipc/buffered_frame_deserializer.cc",
"src/ipc/buffered_frame_deserializer_unittest.cc",
"src/ipc/client_impl.cc",
"src/ipc/client_impl_unittest.cc",
"src/ipc/deferred.cc",
"src/ipc/deferred_unittest.cc",
"src/ipc/host_impl.cc",
"src/ipc/host_impl_unittest.cc",
"src/ipc/service_proxy.cc",
"src/ipc/test/ipc_integrationtest.cc",
"src/ipc/unix_socket.cc",
"src/ipc/unix_socket_unittest.cc",
"src/protozero/proto_utils.cc",
"src/protozero/proto_utils_unittest.cc",
"src/protozero/protozero_message.cc",
"src/protozero/protozero_message_handle.cc",
"src/protozero/protozero_message_handle_unittest.cc",
"src/protozero/protozero_message_unittest.cc",
"src/protozero/scattered_stream_writer.cc",
"src/protozero/scattered_stream_writer_unittest.cc",
"src/protozero/test/fake_scattered_buffer.cc",
"src/protozero/test/protozero_conformance_unittest.cc",
"src/tracing/core/chunked_protobuf_input_stream.cc",
"src/tracing/core/chunked_protobuf_input_stream_unittest.cc",
"src/tracing/core/data_source_config.cc",
"src/tracing/core/data_source_descriptor.cc",
"src/tracing/core/id_allocator.cc",
"src/tracing/core/id_allocator_unittest.cc",
"src/tracing/core/service_impl.cc",
"src/tracing/core/service_impl_unittest.cc",
"src/tracing/core/shared_memory_abi.cc",
"src/tracing/core/shared_memory_abi_unittest.cc",
"src/tracing/core/shared_memory_arbiter_impl.cc",
"src/tracing/core/shared_memory_arbiter_impl_unittest.cc",
"src/tracing/core/trace_config.cc",
"src/tracing/core/trace_packet.cc",
"src/tracing/core/trace_packet_unittest.cc",
"src/tracing/core/trace_writer_impl.cc",
"src/tracing/core/trace_writer_impl_unittest.cc",
"src/tracing/ipc/posix_shared_memory_unittest.cc",
"src/tracing/test/aligned_buffer_test.cc",
"src/tracing/test/test_shared_memory.cc",
"src/tracing/test/tracing_integration_test.cc",
"tools/ftrace_proto_gen/ftrace_proto_gen.cc",
"tools/ftrace_proto_gen/ftrace_proto_gen_unittest.cc",
"tools/sanitizers_unittests/sanitizers_unittest.cc",
],
shared_libs: [
"libandroid",
"liblog",
"libprotobuf-cpp-lite",
],
static_libs: [
"libgmock",
"libgtest_prod",
"perfetto_src_tracing_ipc",
],
generated_headers: [
"perfetto_protos_perfetto_config_config_gen_headers",
"perfetto_protos_perfetto_ipc_ipc_gen_headers",
"perfetto_protos_perfetto_trace_ftrace_lite_gen_headers",
"perfetto_protos_perfetto_trace_ftrace_zero_gen_headers",
"perfetto_protos_perfetto_trace_lite_gen_headers",
"perfetto_protos_perfetto_trace_zero_gen_headers",
"perfetto_src_ftrace_reader_ftrace_reader_test_messages_lite_gen_headers",
"perfetto_src_ftrace_reader_ftrace_reader_test_messages_zero_gen_headers",
"perfetto_src_ipc_test_messages_gen_headers",
"perfetto_src_ipc_wire_protocol_gen_headers",
"perfetto_src_protozero_testing_messages_lite_gen_headers",
"perfetto_src_protozero_testing_messages_zero_gen_headers",
],
defaults: [
"perfetto_defaults",
],
cflags: [
"-DGOOGLE_PROTOBUF_NO_RTTI",
"-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
],
}
// GN target: //:traced
cc_binary {
name: "traced",
srcs: [
"src/traced/service/main.cc",
],
shared_libs: [
"liblog",
"libtraced_shared",
],
init_rc: [
"perfetto.rc",
],
defaults: [
"perfetto_defaults",
],
}
// GN target: //:traced_probes
cc_binary {
name: "traced_probes",
srcs: [
"src/traced/probes/main.cc",
],
shared_libs: [
"liblog",
"libtraced_shared",
],
defaults: [
"perfetto_defaults",
],
}
// These targets are appended to the autogenerated Android.bp by tools/gen_android_bp.
// TODO(lalitm): find a better way to do this sharing.
// TODO(lalitm): uncomment these when the CTS tests are to be enabled.
/*
cc_test {
name: "CtsPerfettoTestCases",
srcs: [
"src/base/android_task_runner.cc",
"src/base/test/test_task_runner.cc",
"src/ftrace_reader/cpu_reader.cc",
"src/ftrace_reader/event_info.cc",
"src/ftrace_reader/format_parser.cc",
"src/ftrace_reader/ftrace_controller.cc",
"src/ftrace_reader/ftrace_procfs.cc",
"src/ftrace_reader/proto_translation_table.cc",
"src/traced/probes/ftrace_producer.cc",
"test/fake_consumer.cc",
"test/end_to_end_integrationtest.cc",
"test/end_to_end_integrationtest_cts.cc",
],
static_libs: [
"libgmock",
"libgtest",
"libgtest_main",
"perfetto_src_tracing_ipc",
],
shared_libs: [
"libandroid",
"liblog",
"libprotobuf-cpp-lite",
],
test_suites: [
"cts",
"vts",
"general-tests",
],
compile_multilib: "both",
multilib: {
lib32: {
suffix: "32",
},
lib64: {
suffix: "64",
},
},
cflags: [
"-DPERFETTO_BUILD_WITH_ANDROID",
],
}
cc_library_shared {
name: "libperfettocts_jni",
srcs: [
"src/base/android_task_runner.cc",
"src/base/test/test_task_runner.cc",
"test/fake_producer.cc",
"test/cts/producer/jni/fake_producer_jni.cc",
],
static_libs: [
"libprotobuf-cpp-lite",
"perfetto_src_tracing_ipc",
],
shared_libs: [
"libandroid",
"liblog",
"libnativehelper_compat_libc++",
],
compile_multilib: "both",
stl: "libc++_static",
cflags: [
"-DPERFETTO_BUILD_WITH_ANDROID",
],
}
*/