summaryrefslogtreecommitdiff
path: root/chromium/ios/chrome/app/strings/BUILD.gn
blob: e6be0938a68eea60ae2672eee92eabfce3024ba4 (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
41
# Copyright 2015 The Chromium Authors. All rights reserved.
# 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")

group("strings") {
  public_deps = [
    ":ios_chromium_strings",
    ":ios_google_chrome_strings",
    ":ios_strings",
  ]
}

grit("ios_strings") {
  source = "ios_strings.grd"
  output_dir = "$root_gen_dir/ios/chrome"
  outputs = [ "grit/ios_strings.h" ]
  foreach(locale, locales_with_fake_bidi) {
    outputs += [ "ios_strings_$locale.pak" ]
  }
}

grit("ios_chromium_strings") {
  source = "ios_chromium_strings.grd"
  output_dir = "$root_gen_dir/ios/chrome"
  outputs = [ "grit/ios_chromium_strings.h" ]
  foreach(locale, locales_with_fake_bidi) {
    outputs += [ "ios_chromium_strings_$locale.pak" ]
  }
}

grit("ios_google_chrome_strings") {
  source = "ios_google_chrome_strings.grd"
  output_dir = "$root_gen_dir/ios/chrome"
  outputs = [ "grit/ios_google_chrome_strings.h" ]
  foreach(locale, locales_with_fake_bidi) {
    outputs += [ "ios_google_chrome_strings_$locale.pak" ]
  }
}