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

# Copyright 2023 The Chromium Authors. All rights reserved.
# 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 = "app_install"

  static_files = [ "main.html" ]
  web_component_files = [ "app_install_dialog.ts" ]
  non_web_component_files = [ "browser_proxy.ts" ]
  mojo_files = [ "$root_gen_dir/chrome/browser/ui/webui/ash/app_install/app_install.mojom-webui.ts" ]
  mojo_files_deps = [
    "//chrome/browser/ui/webui/ash/app_install:mojo_bindings_ts__generator",
  ]

  html_to_wrapper_template = "native"
  webui_context_type = "trusted"

  ts_definitions = [ "//tools/typescript/definitions/chrome_send.d.ts" ]
  ts_deps = [
    "//ash/webui/common/resources:build_ts",
    "//ash/webui/common/resources/cr_elements:build_ts",
    "//third_party/cros-components:cros_components_ts",
    "//third_party/material_web_components:library",
    "//ui/webui/resources/cr_components/color_change_listener:build_ts",
    "//ui/webui/resources/js:build_ts",
    "//ui/webui/resources/mojo:build_ts",
  ]
}