| OLD | NEW |
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 import("//build/config/locales.gni") | 5 import("//build/config/locales.gni") |
| 6 import("//tools/grit/grit_rule.gni") | 6 import("//tools/grit/grit_rule.gni") |
| 7 | 7 |
| 8 group("strings") { | 8 group("strings") { |
| 9 public_deps = [ | 9 public_deps = [ |
| 10 ":ios_chromium_strings", | 10 ":ios_chromium_strings", |
| 11 ":ios_google_chrome_strings", | 11 ":ios_google_chrome_strings", |
| 12 ":ios_strings", | 12 ":ios_strings", |
| 13 ] | 13 ] |
| 14 } | 14 } |
| 15 | 15 |
| 16 grit("ios_strings") { | 16 grit("ios_strings") { |
| 17 source = "ios_strings.grd" | 17 source = "ios_strings.grd" |
| 18 output_dir = "$root_gen_dir/ios/chrome" | 18 output_dir = "$root_gen_dir/ios/chrome" |
| 19 use_qualified_include = true | |
| 20 outputs = [ | 19 outputs = [ |
| 21 "grit/ios_strings.h", | 20 "grit/ios_strings.h", |
| 22 ] | 21 ] |
| 23 foreach(locale, locales_with_fake_bidi) { | 22 foreach(locale, locales_with_fake_bidi) { |
| 24 outputs += [ "ios_strings_$locale.pak" ] | 23 outputs += [ "ios_strings_$locale.pak" ] |
| 25 } | 24 } |
| 26 } | 25 } |
| 27 | 26 |
| 28 grit("ios_chromium_strings") { | 27 grit("ios_chromium_strings") { |
| 29 source = "ios_chromium_strings.grd" | 28 source = "ios_chromium_strings.grd" |
| 30 output_dir = "$root_gen_dir/ios/chrome" | 29 output_dir = "$root_gen_dir/ios/chrome" |
| 31 use_qualified_include = true | |
| 32 outputs = [ | 30 outputs = [ |
| 33 "grit/ios_chromium_strings.h", | 31 "grit/ios_chromium_strings.h", |
| 34 ] | 32 ] |
| 35 foreach(locale, locales_with_fake_bidi) { | 33 foreach(locale, locales_with_fake_bidi) { |
| 36 outputs += [ "ios_chromium_strings_$locale.pak" ] | 34 outputs += [ "ios_chromium_strings_$locale.pak" ] |
| 37 } | 35 } |
| 38 } | 36 } |
| 39 | 37 |
| 40 grit("ios_google_chrome_strings") { | 38 grit("ios_google_chrome_strings") { |
| 41 source = "ios_google_chrome_strings.grd" | 39 source = "ios_google_chrome_strings.grd" |
| 42 output_dir = "$root_gen_dir/ios/chrome" | 40 output_dir = "$root_gen_dir/ios/chrome" |
| 43 use_qualified_include = true | |
| 44 outputs = [ | 41 outputs = [ |
| 45 "grit/ios_google_chrome_strings.h", | 42 "grit/ios_google_chrome_strings.h", |
| 46 ] | 43 ] |
| 47 foreach(locale, locales_with_fake_bidi) { | 44 foreach(locale, locales_with_fake_bidi) { |
| 48 outputs += [ "ios_google_chrome_strings_$locale.pak" ] | 45 outputs += [ "ios_google_chrome_strings_$locale.pak" ] |
| 49 } | 46 } |
| 50 } | 47 } |
| OLD | NEW |