Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(28)

Side by Side Diff: remoting/remoting_locales.gni

Issue 1291703008: Rename is_chromeos in chrome/src. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: retry Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « remoting/remoting_host.gni ('k') | skia/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/features.gni")
6
5 webapp_locale_dir = "$root_gen_dir/remoting/webapp/_locales" 7 webapp_locale_dir = "$root_gen_dir/remoting/webapp/_locales"
6 8
7 # See also remoting_locales_with_underscores below. 9 # See also remoting_locales_with_underscores below.
8 remoting_locales = [ 10 remoting_locales = [
9 "am", 11 "am",
10 "ar", 12 "ar",
11 "bg", 13 "bg",
12 14
13 "bn", 15 "bn",
14 "ca", 16 "ca",
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 "en_GB", 87 "en_GB",
86 "es_419", 88 "es_419",
87 89
88 "fake_bidi", 90 "fake_bidi",
89 "pt_BR", 91 "pt_BR",
90 "pt_PT", 92 "pt_PT",
91 "zh_CN", 93 "zh_CN",
92 "zh_TW", 94 "zh_TW",
93 ] 95 ]
94 96
95 if (is_chromeos) { 97 if (use_cros_fe) {
96 remoting_locales += [ "en-US" ] 98 remoting_locales += [ "en-US" ]
97 remoting_locales_with_underscores += [ "en_US" ] 99 remoting_locales_with_underscores += [ "en_US" ]
98 } 100 }
99 101
100 messages_locales = remoting_locales_with_underscores 102 messages_locales = remoting_locales_with_underscores
101 if (!is_chromeos) { 103 if (!use_cros_fe) {
102 # The messages output includes a separate one for en-US that the pak ones 104 # The messages output includes a separate one for en-US that the pak ones
103 # don't have. We don't need to do this on ChromeOS since en_US is in the 105 # don't have. We don't need to do this on ChromeOS since en_US is in the
104 # locales list be default there. 106 # locales list be default there.
105 messages_locales += [ "en_US" ] 107 messages_locales += [ "en_US" ]
106 } 108 }
107 109
108 # The list of .json files generated by remoting_strings.grd. 110 # The list of .json files generated by remoting_strings.grd.
109 remoting_webapp_locale_files = 111 remoting_webapp_locale_files =
110 process_file_template( 112 process_file_template(
111 messages_locales, 113 messages_locales,
112 [ "remoting/webapp/_locales/{{source_name_part}}/messages.json" ]) 114 [ "remoting/webapp/_locales/{{source_name_part}}/messages.json" ])
OLDNEW
« no previous file with comments | « remoting/remoting_host.gni ('k') | skia/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698