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

Side by Side Diff: build/util/build_util.gyp

Issue 9169105: don't always run LASTCHANGE (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 10 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 | « DEPS ('k') | chrome/chrome.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) 2011 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2011 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 'targets': [ 6 'targets': [
7 { 7 {
8 'target_name': 'lastchange', 8 'target_name': 'lastchange',
9 'type': 'none', 9 'type': 'none',
10 'variables': { 10 'variables': {
11 'lastchange_out_path': '<(SHARED_INTERMEDIATE_DIR)/build/LASTCHANGE', 11 'lastchange_out_path': '<(DEPTH)/build/util/LASTCHANGE',
12 'default_lastchange_path': '../LASTCHANGE.in', 12 'default_lastchange_path': '../LASTCHANGE.in',
13 }, 13 },
14 'actions': [ 14 'actions': [
15 { 15 {
16 'action_name': 'lastchange', 16 'action_name': 'lastchange',
17 'inputs': [ 17 'inputs': [
18 # Note: <(default_lastchange_path) is optional, 18 # Note: <(default_lastchange_path) is optional,
19 # so it doesn't show up in inputs. 19 # so it doesn't show up in inputs.
20 './lastchange.py', 20 './lastchange.py',
21 ], 21 ],
22 'outputs': [ 22 'outputs': [
23 '<(lastchange_out_path).always',
24 '<(lastchange_out_path)', 23 '<(lastchange_out_path)',
25 ], 24 ],
26 'action': [ 25 'action': [
27 'python', '<@(_inputs)', 26 'python', '<@(_inputs)',
28 '-o', '<(lastchange_out_path)', 27 '-o', '<(lastchange_out_path)',
29 '-d', '<(default_lastchange_path)', 28 '-d', '<(default_lastchange_path)',
30 ], 29 ],
31 'message': 'Extracting last change to <(lastchange_out_path)', 30 'message': 'Extracting last change to <(lastchange_out_path)',
32 'process_outputs_as_sources': '1', 31 'process_outputs_as_sources': '1',
33 }, 32 },
34 ], 33 ],
35 }, 34 },
36 ] 35 ]
37 } 36 }
OLDNEW
« no previous file with comments | « DEPS ('k') | chrome/chrome.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698