1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
   18
   19
   20
   21
   22
   23
   24
   25
   26
   27
   28
   29
   30
   31
   32
   33
   34
   35
   36
   37
   38
   39
   40

ash / webui / firmware_update_ui / BUILD.gn [blame]

# Copyright 2021 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

import("//build/config/chromeos/ui_mode.gni")

assert(is_chromeos_ash, "Firware update App is ash-chrome only")

static_library("firmware_update_ui") {
  sources = [
    "firmware_update_app_ui.cc",
    "firmware_update_app_ui.h",
  ]

  public_deps = [ ":url_constants" ]

  deps = [
    "//ash/constants",
    "//ash/webui/common:trusted_types_util",
    "//ash/webui/firmware_update_ui/mojom",
    "//ash/webui/firmware_update_ui/resources:resources",
    "//chromeos/ash/components/fwupd",
    "//chromeos/strings/",
    "//content/public/browser",
    "//dbus",
    "//ui/chromeos:chromeos",
    "//ui/web_dialogs:web_dialogs",
    "//ui/webui",
    "//ui/webui/resources:resources_grit",
  ]
}

# Url constants pulled out to enable depending on production url constants in
# browser tests.
source_set("url_constants") {
  sources = [
    "url_constants.cc",
    "url_constants.h",
  ]
}