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

Side by Side Diff: build/secondary/tools/grit/grit_rule.gni

Issue 1350453004: Improve iOS localisation and resource packing. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 3 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 | « build/ios/grit_whitelist.txt ('k') | components/components_resources.gyp » ('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 # Instantiate grit. This will produce a script target to run grit, and a 5 # Instantiate grit. This will produce a script target to run grit, and a
6 # static library that compiles the .cc files. 6 # static library that compiles the .cc files.
7 # 7 #
8 # Parameters 8 # Parameters
9 # 9 #
10 # source (required) 10 # source (required)
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 grit_defines += [ 181 grit_defines += [
182 "-D", 182 "-D",
183 "scale_factors=2x", 183 "scale_factors=2x",
184 ] 184 ]
185 } 185 }
186 186
187 if (is_ios) { 187 if (is_ios) {
188 grit_defines += [ 188 grit_defines += [
189 "-t", 189 "-t",
190 "ios", 190 "ios",
191
192 # iOS uses a whitelist to filter resources.
193 "-w",
194 rebase_path("//build/ios/grit_whitelist.txt", root_build_dir),
195 ] 191 ]
196 } 192 }
197 193
198 if (enable_extensions) { 194 if (enable_extensions) {
199 grit_defines += [ 195 grit_defines += [
200 "-D", 196 "-D",
201 "enable_extensions", 197 "enable_extensions",
202 ] 198 ]
203 } 199 }
204 if (enable_media_router) { 200 if (enable_media_router) {
(...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after
471 if (defined(invoker.configs)) { 467 if (defined(invoker.configs)) {
472 configs += invoker.configs 468 configs += invoker.configs
473 } 469 }
474 470
475 if (defined(invoker.visibility)) { 471 if (defined(invoker.visibility)) {
476 visibility = invoker.visibility 472 visibility = invoker.visibility
477 } 473 }
478 output_name = grit_output_name 474 output_name = grit_output_name
479 } 475 }
480 } 476 }
OLDNEW
« no previous file with comments | « build/ios/grit_whitelist.txt ('k') | components/components_resources.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698