| # Copyright 2022 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 = "gpu" |
| |
| static_files = [ "gpu_internals.html" ] |
| |
| web_component_files = [ |
| "info_view.ts", |
| "info_view_table.ts", |
| "info_view_table_row.ts", |
| ] |
| |
| non_web_component_files = [ |
| "browser_bridge.ts", |
| "gpu_internals.ts", |
| "vulkan_info.ts", |
| ] |
| |
| mojo_files_deps = [ "//gpu/ipc/common:vulkan_interface_js__generator" ] |
| mojo_files = [ |
| "${root_gen_dir}/mojom-webui/gpu/ipc/common/vulkan_info.mojom-webui.js", |
| "${root_gen_dir}/mojom-webui/gpu/ipc/common/vulkan_types.mojom-webui.js", |
| ] |
| |
| html_to_wrapper_template = "native" |
| |
| ts_deps = [ "//ui/webui/resources/js:build_ts" ] |
| |
| grit_output_dir = "$root_gen_dir/content" |
| } |