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

Unified Diff: build/util/build_util.gyp

Issue 159876: Allow the lastchange target to get a hard-coded default last change... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 4 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 | « no previous file | build/util/lastchange.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/util/build_util.gyp
===================================================================
--- build/util/build_util.gyp (revision 22422)
+++ build/util/build_util.gyp (working copy)
@@ -12,11 +12,14 @@
'type': 'none',
'variables': {
'lastchange_out_path': '<(SHARED_INTERMEDIATE_DIR)/build/LASTCHANGE',
+ 'default_lastchange_path': '../LASTCHANGE.in',
},
'actions': [
{
'action_name': 'lastchange',
'inputs': [
+ # Note: <(default_lastchange_path) is optional,
+ # so it doesn't show up in inputs.
'./lastchange.py',
],
'outputs': [
@@ -24,9 +27,12 @@
'<(lastchange_out_path).always',
],
'action': [
- 'python', '<@(_inputs)', '-o', '<(lastchange_out_path)',
+ 'python', '<@(_inputs)',
+ '-o', '<(lastchange_out_path)',
+ '-d', '<(default_lastchange_path)',
],
- 'message': 'Extracting last change to <(lastchange_out_path)'
+ 'message': 'Extracting last change to <(lastchange_out_path)',
+ 'process_outputs_as_sources': '1',
},
],
},
« no previous file with comments | « no previous file | build/util/lastchange.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698