chromium/ui/chromeos/strings/BUILD.gn

# Copyright 2014 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/locales.gni")
import("//tools/grit/grit_rule.gni")

grit("strings") {
  source = "../ui_chromeos_strings.grd"
  outputs =
      [ "grit/ui_chromeos_strings.h" ] +
      process_file_template(all_chrome_locales,
                            [ "ui_chromeos_strings_{{source_name_part}}.pak" ])
}

if (is_chromeos_ash) {
  static_library("strings_provider") {
    sources = [
      "network/network_element_localized_strings_provider.cc",
      "network/network_element_localized_strings_provider.h",
    ]
    deps = [
      "//ash/constants",
      "//chromeos/ash/components/login/login_state:login_state",
      "//chromeos/ash/components/network",
      "//chromeos/strings:strings_grit",
      "//components/login:login",
      "//components/strings:components_strings",
      "//content/public/browser:browser",
      "//ui/base",
      "//ui/chromeos:chromeos",
      "//ui/chromeos/strings:strings_grit",
      "//ui/strings:ui_strings_grit",
    ]
  }
}