chromium/chrome/browser/resources/chromeos/borealis_installer/BUILD.gn

import("//ui/webui/resources/tools/build_webui.gni")

build_webui("build") {
  grd_prefix = "borealis_installer"

  static_files = [
    "borealis_installer.html",
    "images/start.svg",
    "images/start_dark.svg",
    "images/success.svg",
    "images/success_dark.svg",
    "images/icon.svg",
  ]

  web_component_files = [
    "app.ts",
    "error_dialog.ts",
  ]

  non_web_component_files = [ "browser_proxy.ts" ]

  mojo_files = [
    "$root_gen_dir/chrome/browser/ui/webui/ash/borealis_installer/borealis_installer.mojom-webui.ts",
    "$root_gen_dir/chrome/browser/ash/borealis/borealis_types.mojom-webui.ts",
  ]

  mojo_files_deps = [
    "//chrome/browser/ash/borealis:borealis_installer_types_mojom_ts__generator",
    "//chrome/browser/ui/webui/ash/borealis_installer:mojo_bindings_ts__generator",
  ]

  icons_html_files = [ "borealis_installer_icons.html" ]

  ts_composite = true

  ts_deps = [
    "//ash/webui/common/resources:build_ts",
    "//ash/webui/common/resources/cr_elements:build_ts",
    "//third_party/polymer/v3_0:library",
    "//ui/webui/resources/js:build_ts",
    "//ui/webui/resources/mojo:build_ts",
  ]

  webui_context_type = "trusted"
}