blob: 487276ea5964c359ff9aa248e34cf728f28b5373 [file] [log] [blame]
# Copyright 2020 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//build/util/generate_wrapper.gni")
generate_wrapper("upload_trace_processor") {
testonly = true
data_deps = [
"//third_party/catapult:telemetry_chrome_test_support",
"//third_party/perfetto/src/trace_processor:trace_processor_shell",
]
data = [
"//tools/perf/core/",
"//DEPS",
"//.vpython3",
]
if (is_win) {
binary_name = "trace_processor_shell.exe"
} else {
binary_name = "trace_processor_shell"
}
executable = "upload_trace_processor.py"
wrapper_script = "$root_build_dir/bin/run_upload_trace_processor"
executable_args = [
"--path",
"@WrappedPath(./$binary_name)",
]
}