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

Side by Side 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 unified diff | Download patch
« no previous file with comments | « chrome/BUILD.gn ('k') | chrome/browser/resources/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 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("//chrome/common/features.gni") 6 import("//chrome/common/features.gni")
7 import("//tools/grit/grit_rule.gni") 7 import("//tools/grit/grit_rule.gni")
8 8
9 assert(!is_ios, "Chromium/iOS shouldn't use anything in //chrome")
10
9 grit("locale_settings") { 11 grit("locale_settings") {
10 source = "locale_settings.grd" 12 source = "locale_settings.grd"
11 defines = chrome_grit_defines 13 defines = chrome_grit_defines
12 output_dir = "$root_gen_dir/chrome" 14 output_dir = "$root_gen_dir/chrome"
13 outputs = [ 15 outputs = [
14 "grit/locale_settings.h", 16 "grit/locale_settings.h",
15 "locale_settings_am.pak", 17 "locale_settings_am.pak",
16 "locale_settings_ar.pak", 18 "locale_settings_ar.pak",
17 "locale_settings_bg.pak", 19 "locale_settings_bg.pak",
18 "locale_settings_bn.pak", 20 "locale_settings_bn.pak",
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 "locale_settings_uk.pak", 67 "locale_settings_uk.pak",
66 "locale_settings_vi.pak", 68 "locale_settings_vi.pak",
67 "locale_settings_zh-CN.pak", 69 "locale_settings_zh-CN.pak",
68 "locale_settings_zh-TW.pak", 70 "locale_settings_zh-TW.pak",
69 ] 71 ]
70 } 72 }
71 73
72 grit("platform_locale_settings") { 74 grit("platform_locale_settings") {
73 if (is_win) { 75 if (is_win) {
74 source = "locale_settings_win.grd" 76 source = "locale_settings_win.grd"
75 } else if (is_mac || is_ios) { 77 } else if (is_mac) {
76 source = "locale_settings_mac.grd" 78 source = "locale_settings_mac.grd"
77 } else if (is_chromeos) { 79 } else if (is_chromeos) {
78 if (is_chrome_branded) { 80 if (is_chrome_branded) {
79 source = "locale_settings_google_chromeos.grd" 81 source = "locale_settings_google_chromeos.grd"
80 } else { 82 } else {
81 source = "locale_settings_chromiumos.grd" 83 source = "locale_settings_chromiumos.grd"
82 } 84 }
83 } else if (is_posix) { 85 } else if (is_posix) {
84 # All other posix systems just use the Linux one. 86 # All other posix systems just use the Linux one.
85 source = "locale_settings_linux.grd" 87 source = "locale_settings_linux.grd"
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 "platform_locale_settings_th.pak", 141 "platform_locale_settings_th.pak",
140 "platform_locale_settings_tr.pak", 142 "platform_locale_settings_tr.pak",
141 "platform_locale_settings_uk.pak", 143 "platform_locale_settings_uk.pak",
142 "platform_locale_settings_vi.pak", 144 "platform_locale_settings_vi.pak",
143 "platform_locale_settings_zh-CN.pak", 145 "platform_locale_settings_zh-CN.pak",
144 "platform_locale_settings_zh-TW.pak", 146 "platform_locale_settings_zh-TW.pak",
145 ] 147 ]
146 148
147 output_dir = "$root_gen_dir/chrome" 149 output_dir = "$root_gen_dir/chrome"
148 } 150 }
OLDNEW
« 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