summaryrefslogtreecommitdiff
path: root/chromium/ui/strings/BUILD.gn
blob: dca93bae8fbd7a27321c944b7ad80ea1a02046ab (plain)
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
# 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")

# Meta target that includes both ax/ui_strings and app_locale_settings. Most
# targets want them all. You can depend on the individually if you need to.
group("strings") {
  public_deps = [
    ":app_locale_settings",
    ":ax_strings",
    ":ui_strings",
  ]
}

grit("ax_strings") {
  source = "ax_strings.grd"
  outputs = [ "grit/ax_strings.h" ]
  foreach(locale, all_chrome_locales) {
    outputs += [ "ax_strings_$locale.pak" ]
  }
}

grit("ui_strings") {
  source = "ui_strings.grd"
  outputs = [ "grit/ui_strings.h" ]
  foreach(locale, all_chrome_locales) {
    outputs += [ "ui_strings_$locale.pak" ]
  }
}

grit("app_locale_settings") {
  source = "app_locale_settings.grd"
  outputs = [ "grit/app_locale_settings.h" ]
  foreach(locale, all_chrome_locales) {
    outputs += [ "app_locale_settings_$locale.pak" ]
  }
}