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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/remoting_host.gni ('k') | skia/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/remoting_locales.gni
diff --git a/remoting/remoting_locales.gni b/remoting/remoting_locales.gni
index b37d177b8e052e075420da1af310d8b8fd830ed1..7bd050c55de3aa0d57601d0e1687ce3867c8d2de 100644
--- a/remoting/remoting_locales.gni
+++ b/remoting/remoting_locales.gni
@@ -2,6 +2,8 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
+import("//build/config/features.gni")
+
webapp_locale_dir = "$root_gen_dir/remoting/webapp/_locales"
# See also remoting_locales_with_underscores below.
@@ -92,13 +94,13 @@ remoting_locales_with_underscores += [
"zh_TW",
]
-if (is_chromeos) {
+if (use_cros_fe) {
remoting_locales += [ "en-US" ]
remoting_locales_with_underscores += [ "en_US" ]
}
messages_locales = remoting_locales_with_underscores
-if (!is_chromeos) {
+if (!use_cros_fe) {
# The messages output includes a separate one for en-US that the pak ones
# don't have. We don't need to do this on ChromeOS since en_US is in the
# locales list be default there.
« 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