mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-28 08:16:09 +03:00
28 lines
944 B
Plaintext
28 lines
944 B
Plaintext
|
# Copyright 2014 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.
|
||
|
|
||
|
gypi_values = exec_script("//build/gypi_to_gn.py",
|
||
|
[ rebase_path("trace_viewer.gypi") ],
|
||
|
"scope",
|
||
|
[ "trace_viewer.gypi" ])
|
||
|
|
||
|
# TODO: ideally this would go into the target_gen_dir, but this requires some
|
||
|
# changes to the scripts that process them.
|
||
|
output_resource_dir = "$root_gen_dir/content/browser/tracing"
|
||
|
|
||
|
action("generate_about_tracing") {
|
||
|
script = "bin/generate_about_tracing_contents"
|
||
|
|
||
|
inputs = gypi_values.tracing_css_files + gypi_values.tracing_js_html_files +
|
||
|
gypi_values.tracing_img_files
|
||
|
outputs = [
|
||
|
"$output_resource_dir/about_tracing.js",
|
||
|
"$output_resource_dir/about_tracing.html",
|
||
|
]
|
||
|
|
||
|
args = [
|
||
|
"--outdir", rebase_path(output_resource_dir, root_build_dir),
|
||
|
]
|
||
|
}
|