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

Unified Diff: chrome/app/resources/BUILD.gn

Issue 2769483002: Don't check is_ios in chrome/, it's always false there. (Closed)
Patch Set: Created 3 years, 9 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 | « chrome/BUILD.gn ('k') | chrome/browser/resources/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/app/resources/BUILD.gn
diff --git a/chrome/app/resources/BUILD.gn b/chrome/app/resources/BUILD.gn
index ee5bb1b158d9962983c7551db00177c5afdee921..b557079cda3f6f133507fd0e3e5e283fbe106975 100644
--- a/chrome/app/resources/BUILD.gn
+++ b/chrome/app/resources/BUILD.gn
@@ -6,6 +6,8 @@ import("//build/config/chrome_build.gni")
import("//chrome/common/features.gni")
import("//tools/grit/grit_rule.gni")
+assert(!is_ios, "Chromium/iOS shouldn't use anything in //chrome")
+
grit("locale_settings") {
source = "locale_settings.grd"
defines = chrome_grit_defines
@@ -72,7 +74,7 @@ grit("locale_settings") {
grit("platform_locale_settings") {
if (is_win) {
source = "locale_settings_win.grd"
- } else if (is_mac || is_ios) {
+ } else if (is_mac) {
source = "locale_settings_mac.grd"
} else if (is_chromeos) {
if (is_chrome_branded) {
« no previous file with comments | « chrome/BUILD.gn ('k') | chrome/browser/resources/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698