# 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("//chrome/test/data/webui/build_webui_tests.gni")
import("//mojo/public/tools/bindings/mojom.gni")
mojom("mojo_bindings") {
sources = [
"foobar.mojom",
"mojo_file_system_access_test.mojom",
]
webui_module_path = "/"
}
build_webui_tests("build") {
static_files = [
"mojo_file_system_access_test.html",
"mojo_js_interface_broker_test_bar.html",
"mojo_js_interface_broker_test_buz.html",
"mojo_js_interface_broker_test_foo.html",
"mojo_web_ui_controller_test.html",
]
files = [
"main.ts",
"mojo_file_system_access_test.ts",
]
mojo_files = [
"$target_gen_dir/foobar.mojom-webui.ts",
"$target_gen_dir/mojo_file_system_access_test.mojom-webui.ts",
]
mojo_files_deps = [ ":mojo_bindings_ts__generator" ]
ts_deps = [ "//ui/webui/resources/mojo:build_ts" ]
}