# Copyright 2018 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 = "omnibox" static_files = [ "icon_tabs.svg", "omnibox.css", "omnibox.html", "omnibox_input.css", "omnibox_output_column_widths.css", "output_results_group.css", ] # Some of the files below even though they hold web component definitions, # they don't use dedicated HTML files for each web component and therefore for # the purposes of build_webui() are passed as non_web_component_files. non_web_component_files = [ "omnibox_element.ts", "omnibox_input.ts", "omnibox.ts", "omnibox_output.ts", ] mojo_files_deps = [ "//chrome/browser/ui/webui/omnibox:mojo_bindings_ts__generator" ] mojo_files = [ "$root_gen_dir/chrome/browser/ui/webui/omnibox/omnibox.mojom-webui.ts" ] ts_tsconfig_base = "tsconfig_base.json" ts_deps = [ "//ui/webui/resources/js:build_ts", "//ui/webui/resources/mojo:build_ts", ] }