# Copyright 2023 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//ui/webui/resources/tools/build_webui.gni")
build_webui("build") {
grd_prefix = "traces_internals"
static_files = [
"trace_report_internals.html",
"trace_report_internals.css",
]
non_web_component_files = [
"app.ts",
"app.html.ts",
"trace_report_browser_proxy.ts",
"trace_report_list.ts",
"trace_report_list.html.ts",
"trace_report.ts",
"trace_report.html.ts",
"tracing_scenarios_config.html.ts",
"tracing_scenarios_config.ts",
]
css_files = [
"app.css",
"trace_report_list.css",
"trace_report.css",
"tracing_scenarios_config.css",
]
icons_html_files = [ "icons.html" ]
html_to_wrapper_template = "detect"
ts_deps = [
"//third_party/lit/v3_0:build_ts",
"//ui/webui/resources/cr_elements:build_ts",
"//ui/webui/resources/js:build_ts",
"//ui/webui/resources/mojo:build_ts",
]
webui_context_type = "trusted"
mojo_files_deps =
[ "//content/browser/tracing/trace_report:mojo_bindings_ts__generator" ]
mojo_files = [ "$root_gen_dir/content/browser/tracing/trace_report/trace_report.mojom-webui.ts" ]
grit_output_dir = "$root_gen_dir/content"
}