OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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("//tools/grit/grit_rule.gni") | 5 import("//tools/grit/grit_rule.gni") |
6 | 6 |
7 # GYP version: chrome/chrome_resources.gyp:chrome_strings | 7 # GYP version: chrome/chrome_resources.gyp:chrome_strings |
8 # (generate_locale_settings action) | 8 # (generate_locale_settings action) |
9 grit("locale_settings") { | 9 grit("locale_settings") { |
10 source = "locale_settings.grd" | 10 source = "locale_settings.grd" |
11 } | 11 } |
| 12 |
| 13 # GYP version: chrome/chrome_resources.gyp:platform_locale_settings |
| 14 grit("platform_locale_settings") { |
| 15 if (is_win) { |
| 16 source = "locale_settings_win.grd" |
| 17 } else if (is_mac || is_ios) { |
| 18 source = "locale_settings_mac.grd" |
| 19 } else if (is_chromeos) { |
| 20 if (is_chrome_branded) { |
| 21 source = "locale_settings_google_chromeos.grd" |
| 22 } else { |
| 23 source = "locale_settings_chromiumos.grd" |
| 24 } |
| 25 } else if (is_posix) { |
| 26 # All other posix systems just use the Linux one. |
| 27 source = "locale_settings_linux.grd" |
| 28 } |
| 29 } |
OLD | NEW |