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

Side by Side Diff: components/components_resources.gyp

Issue 1489403004: Remove default whitelist for grit on iOS. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years 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_strings.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 { 5 {
6 'variables': { 6 'variables': {
7 'about_credits_file': '<(SHARED_INTERMEDIATE_DIR)/about_credits.html', 7 'about_credits_file': '<(SHARED_INTERMEDIATE_DIR)/about_credits.html',
8 }, 8 },
9 'targets': [ 9 'targets': [
10 { 10 {
11 # GN version: //components/resources 11 # GN version: //components/resources
12 'target_name': 'components_resources', 12 'target_name': 'components_resources',
13 'type': 'none', 13 'type': 'none',
14 'dependencies': [ 14 'dependencies': [
15 'about_credits', 15 'about_credits',
16 ], 16 ],
17 'hard_dependency': 1, 17 'hard_dependency': 1,
18 'variables': { 18 'variables': {
19 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/components', 19 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/components',
20 }, 20 },
21 'actions': [ 21 'actions': [
22 { 22 {
23 # GN version: //components/resources:components_resources 23 # GN version: //components/resources:components_resources
24 'action_name': 'generate_components_resources', 24 'action_name': 'generate_components_resources',
25 'variables': { 25 'variables': {
26 'grit_whitelist': '',
27 'grit_grd_file': 'resources/components_resources.grd', 26 'grit_grd_file': 'resources/components_resources.grd',
28 'grit_additional_defines': [ 27 'grit_additional_defines': [
29 '-E', 'about_credits_file=<(about_credits_file)', 28 '-E', 'about_credits_file=<(about_credits_file)',
30 ], 29 ],
31 }, 30 },
32 'includes': [ '../build/grit_action.gypi' ], 31 'includes': [ '../build/grit_action.gypi' ],
33 }, 32 },
34 { 33 {
35 # GN version: //components/resources:components_scaled_resources 34 # GN version: //components/resources:components_scaled_resources
36 'action_name': 'generate_components_scaled_resources', 35 'action_name': 'generate_components_scaled_resources',
37 'variables': { 36 'variables': {
38 'grit_whitelist': '',
39 'grit_grd_file': 'resources/components_scaled_resources.grd', 37 'grit_grd_file': 'resources/components_scaled_resources.grd',
40 }, 38 },
41 'includes': [ '../build/grit_action.gypi' ], 39 'includes': [ '../build/grit_action.gypi' ],
42 }, 40 },
43 ], 41 ],
44 'includes': [ '../build/grit_target.gypi' ], 42 'includes': [ '../build/grit_target.gypi' ],
45 }, 43 },
46 { 44 {
47 # GN version: //components/resources:about_credits 45 # GN version: //components/resources:about_credits
48 'target_name': 'about_credits', 46 'target_name': 'about_credits',
(...skipping 19 matching lines...) Expand all
68 '<(generator_path)', 66 '<(generator_path)',
69 'credits', 67 'credits',
70 '<(about_credits_file)', 68 '<(about_credits_file)',
71 ], 69 ],
72 'message': 'Generating about:credits', 70 'message': 'Generating about:credits',
73 }, 71 },
74 ], 72 ],
75 }, 73 },
76 ], 74 ],
77 } 75 }
OLDNEW
« no previous file with comments | « build/ios/grit_whitelist.txt ('k') | components/components_strings.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698