chromium/chrome/browser/resources/media_router/cast_feedback/BUILD.gn

# Copyright 2019 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")

assert(!is_android)
assert(is_chrome_branded)

build_webui("build") {
  grd_prefix = "media_router_feedback"
  static_files = [ "feedback.html" ]
  non_web_component_files = [
    "cast_feedback_ui.html.ts",
    "cast_feedback_ui.ts",
  ]
  css_files = [ "cast_feedback_ui.css" ]

  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",
  ]
  ts_definitions = [
    "//tools/typescript/definitions/feedback_private.d.ts",
    "//tools/typescript/definitions/chrome_send.d.ts",
  ]
  webui_context_type = "trusted"
}