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

Side by Side Diff: chrome/default_plugin/default_plugin.gyp

Issue 6070011: Refactor grit -D flags into a gyp variable so we don't (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: works Created 9 years, 11 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 | Annotate | Revision Log
« no previous file with comments | « chrome/chrome.gyp ('k') | gfx/gfx.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 (c) 2009 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2009 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 'chromium_code': 1, 7 'chromium_code': 1,
8 'grit_info_cmd': ['python', '../../tools/grit/grit_info.py',], 8 'grit_info_cmd': ['python', '../../tools/grit/grit_info.py',],
9 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/chrome', 9 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/chrome',
10 'grit_cmd': ['python', '../../tools/grit/grit.py'], 10 'grit_cmd': ['python', '../../tools/grit/grit.py'],
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 'input_path': 'default_plugin_resources.grd', 72 'input_path': 'default_plugin_resources.grd',
73 }, 73 },
74 'inputs': [ 74 'inputs': [
75 '<!@(<(grit_info_cmd) --inputs <(input_path))', 75 '<!@(<(grit_info_cmd) --inputs <(input_path))',
76 ], 76 ],
77 'outputs': [ 77 'outputs': [
78 '<!@(<(grit_info_cmd) --outputs \'<(grit_out_dir)/default_plugin_res ources\' <(input_path))', 78 '<!@(<(grit_info_cmd) --outputs \'<(grit_out_dir)/default_plugin_res ources\' <(input_path))',
79 ], 79 ],
80 'action': ['<@(grit_cmd)', 80 'action': ['<@(grit_cmd)',
81 '-i', '<(input_path)', 'build', 81 '-i', '<(input_path)', 'build',
82 '-o', '<(grit_out_dir)/default_plugin_resources'], 82 '-o', '<(grit_out_dir)/default_plugin_resources',
83 'conditions': [ 83 '<@(grit_defines)'],
84 ['toolkit_views==1', {
85 'action': ['-D', 'toolkit_views'],
86 }],
87 ],
88 'message': 'Generating resources from <(input_path)', 84 'message': 'Generating resources from <(input_path)',
89 }, 85 },
90 ], 86 ],
91 'direct_dependent_settings': { 87 'direct_dependent_settings': {
92 'include_dirs': [ 88 'include_dirs': [
93 '<(grit_out_dir)/default_plugin_resources', 89 '<(grit_out_dir)/default_plugin_resources',
94 ], 90 ],
95 }, 91 },
96 'conditions': [ 92 'conditions': [
97 ['OS=="win"', { 93 ['OS=="win"', {
98 'dependencies': ['../../build/win/system.gyp:cygwin'], 94 'dependencies': ['../../build/win/system.gyp:cygwin'],
99 }], 95 }],
100 ], 96 ],
101 }, 97 },
102 ], 98 ],
103 } 99 }
104 100
105 # Local Variables: 101 # Local Variables:
106 # tab-width:2 102 # tab-width:2
107 # indent-tabs-mode:nil 103 # indent-tabs-mode:nil
108 # End: 104 # End:
109 # vim: set expandtab tabstop=2 shiftwidth=2: 105 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW
« no previous file with comments | « chrome/chrome.gyp ('k') | gfx/gfx.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698