[go: up one dir, main page]

blob: 889d30bc72d039089f7e659cf020df5afefd313b [file] [log] [blame]
Dan Sinclair61358882015-06-04 20:11:161# Copyright 2014 The Chromium Authors. All rights reserved.
Nat Ducae8139cf2014-06-24 21:54:042# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
benshayden623a1342018-10-17 20:14:375import("trace_viewer.gni")
Nat Ducae8139cf2014-06-24 21:54:046
7# TODO: ideally this would go into the target_gen_dir, but this requires some
8# changes to the scripts that process them.
9output_resource_dir = "$root_gen_dir/content/browser/tracing"
10
Deepanjan Roy12d96cd2021-05-26 18:19:4011action("generate_about_tracing") {
nducaf48d4442015-08-10 02:47:0612 script = "bin/generate_about_tracing_contents"
Dirk Pranke504ee6e2020-10-13 22:38:2613
Deepanjan Roy84125982019-11-21 20:34:4914 inputs = tracing_files + tracing_python_files
Nat Ducae8139cf2014-06-24 21:54:0415 outputs = [
16 "$output_resource_dir/about_tracing.js",
17 "$output_resource_dir/about_tracing.html",
18 ]
19
20 args = [
21 "--outdir", rebase_path(output_resource_dir, root_build_dir),
22 ]
23}
John Budoricka9c4beb2019-04-24 17:45:3524
25# This could likely be refined & narrowed s.t. the interface targets below
26# only include what they need.
27group("tracing_common") {
28 visibility = [ ":*" ]
29
30 data = [
31 "../third_party/polymer/",
32 "third_party/",
33 "tracing/",
34 "tracing_project.py",
35 ]
36
37 data_deps = [
38 "../third_party/vinn",
39 ]
40}
41
42# GN interface. Should remain stable, even if the implementation doesn't.
43
44group("convert_chart_json") {
45 data_deps = [ ":tracing_common" ]
46}