OLD | NEW |
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 'includes': [ | 6 'includes': [ |
7 '../common.gypi', | 7 '../common.gypi', |
8 ], | 8 ], |
9 'targets': [ | 9 'targets': [ |
10 { | 10 { |
11 'target_name': 'lastchange', | 11 'target_name': 'lastchange', |
12 'type': 'none', | 12 'type': 'none', |
13 'variables': { | 13 'variables': { |
14 'lastchange_out_path': '<(SHARED_INTERMEDIATE_DIR)/build/LASTCHANGE', | 14 'lastchange_out_path': '<(SHARED_INTERMEDIATE_DIR)/build/LASTCHANGE', |
15 }, | 15 }, |
16 'actions': [ | 16 'actions': [ |
17 { | 17 { |
18 'action_name': 'lastchange', | 18 'action_name': 'lastchange', |
19 'inputs': [ | 19 'inputs': [ |
20 'lastchange.py', | 20 './lastchange.py', |
21 ], | 21 ], |
22 'outputs': [ | 22 'outputs': [ |
23 '<(lastchange_out_path)', | 23 '<(lastchange_out_path)', |
24 '<(lastchange_out_path).always', | 24 '<(lastchange_out_path).always', |
25 ], | 25 ], |
26 'action': [ | 26 'action': [ |
27 'python', '<@(_inputs)', '-o', '<(lastchange_out_path)', | 27 'python', '<@(_inputs)', '-o', '<(lastchange_out_path)', |
28 ], | 28 ], |
29 'message': 'Extracting last change to <(lastchange_out_path)' | 29 'message': 'Extracting last change to <(lastchange_out_path)' |
30 }, | 30 }, |
31 ], | 31 ], |
32 }, | 32 }, |
33 ] | 33 ] |
34 } | 34 } |
OLD | NEW |