blob: dfd910afd2f89f4c42586f7d2aff8c5b13b39830 [file] [log] [blame]
# Copyright 2018 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
component("cpp") {
sources = [
"base_agent.cc",
"base_agent.h",
"perfetto/producer_client.cc",
"perfetto/producer_client.h",
"perfetto/shared_memory.cc",
"perfetto/shared_memory.h",
"perfetto/task_runner.cc",
"perfetto/task_runner.h",
"perfetto/trace_event_data_source.cc",
"perfetto/trace_event_data_source.h",
"perfetto/traced_value_proto_writer.cc",
"perfetto/traced_value_proto_writer.h",
"trace_event_agent.cc",
"trace_event_agent.h",
"tracing_features.cc",
"tracing_features.h",
]
defines = [ "IS_TRACING_CPP_IMPL" ]
output_name = "tracing_cpp"
configs += [ "//build/config/compiler:wexit_time_destructors" ]
public_deps = [
"//base",
"//mojo/public/cpp/bindings",
"//services/service_manager/public/cpp",
"//services/tracing/public/mojom",
"//third_party/perfetto:libperfetto",
]
deps = [
"//third_party/perfetto/include/perfetto/protozero:protozero",
"//third_party/perfetto/protos/perfetto/trace/chrome:minimal_complete_lite",
]
}