chromium/ui/webui/resources/cr_components/managed_dialog/BUILD.gn

# 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("//ui/webui/resources/include_polymer.gni")
import("//ui/webui/resources/tools/build_webui.gni")

assert(include_polymer)

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

  non_web_component_files = [
    "managed_dialog.ts",
    "managed_dialog.html.ts",
  ]
  css_files = [ "managed_dialog.css" ]

  ts_out_dir =
      "$root_gen_dir/ui/webui/resources/tsc/cr_components/managed_dialog"
  ts_composite = true
  ts_deps = [
    "//third_party/lit/v3_0:build_ts",
    "//ui/webui/resources/cr_elements:build_ts",
    "//ui/webui/resources/js:build_ts",
  ]
  webui_context_type = "relative"
  generate_grdp = true
  grd_resource_path_prefix = rebase_path(".", "//ui/webui/resources")
}