OLD | NEW |
| (Empty) |
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 | |
3 # found in the LICENSE file. | |
4 | |
5 { | |
6 'targets': [ | |
7 { | |
8 'target_name': 'lastchange', | |
9 'type': 'none', | |
10 'variables': { | |
11 'lastchange_out_path': '<(DEPTH)/build/util/LASTCHANGE', | |
12 'default_lastchange_path': '../LASTCHANGE.in', | |
13 }, | |
14 'actions': [ | |
15 { | |
16 'action_name': 'lastchange', | |
17 'inputs': [ | |
18 # Note: <(default_lastchange_path) is optional, | |
19 # so it doesn't show up in inputs. | |
20 './lastchange.py', | |
21 ], | |
22 'outputs': [ | |
23 '<(lastchange_out_path)', | |
24 ], | |
25 'action': [ | |
26 'python', '<@(_inputs)', | |
27 '-o', '<(lastchange_out_path)', | |
28 '-d', '<(default_lastchange_path)', | |
29 ], | |
30 'message': 'Extracting last change to <(lastchange_out_path)', | |
31 'process_outputs_as_sources': '1', | |
32 }, | |
33 ], | |
34 }, | |
35 ] | |
36 } | |
OLD | NEW |