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("//build/config/chrome_build.gni") | 5 import("//build/config/chrome_build.gni") |
6 import("//tools/grit/grit_rule.gni") | 6 import("//tools/grit/grit_rule.gni") |
7 | 7 |
8 # GYP version: chrome/chrome_resources.gyp:chrome_strings | 8 # GYP version: chrome/chrome_resources.gyp:chrome_strings |
9 # (generate_locale_settings action) | 9 # (generate_locale_settings action) |
10 grit("locale_settings") { | 10 grit("locale_settings") { |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 "locale_settings_zh-TW.pak", | 69 "locale_settings_zh-TW.pak", |
70 ] | 70 ] |
71 } | 71 } |
72 | 72 |
73 # GYP version: chrome/chrome_resources.gyp:platform_locale_settings | 73 # GYP version: chrome/chrome_resources.gyp:platform_locale_settings |
74 grit("platform_locale_settings") { | 74 grit("platform_locale_settings") { |
75 if (is_win) { | 75 if (is_win) { |
76 source = "locale_settings_win.grd" | 76 source = "locale_settings_win.grd" |
77 } else if (is_mac || is_ios) { | 77 } else if (is_mac || is_ios) { |
78 source = "locale_settings_mac.grd" | 78 source = "locale_settings_mac.grd" |
79 } else if (is_chromeos) { | 79 } else if (use_cros_fe) { |
80 if (is_chrome_branded) { | 80 if (is_chrome_branded) { |
81 source = "locale_settings_google_chromeos.grd" | 81 source = "locale_settings_google_chromeos.grd" |
82 } else { | 82 } else { |
83 source = "locale_settings_chromiumos.grd" | 83 source = "locale_settings_chromiumos.grd" |
84 } | 84 } |
85 } else if (is_posix) { | 85 } else if (is_posix) { |
86 # All other posix systems just use the Linux one. | 86 # All other posix systems just use the Linux one. |
87 source = "locale_settings_linux.grd" | 87 source = "locale_settings_linux.grd" |
88 } | 88 } |
89 | 89 |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
140 "platform_locale_settings_th.pak", | 140 "platform_locale_settings_th.pak", |
141 "platform_locale_settings_tr.pak", | 141 "platform_locale_settings_tr.pak", |
142 "platform_locale_settings_uk.pak", | 142 "platform_locale_settings_uk.pak", |
143 "platform_locale_settings_vi.pak", | 143 "platform_locale_settings_vi.pak", |
144 "platform_locale_settings_zh-CN.pak", | 144 "platform_locale_settings_zh-CN.pak", |
145 "platform_locale_settings_zh-TW.pak", | 145 "platform_locale_settings_zh-TW.pak", |
146 ] | 146 ] |
147 | 147 |
148 output_dir = "$root_gen_dir/chrome" | 148 output_dir = "$root_gen_dir/chrome" |
149 } | 149 } |
OLD | NEW |