blob: a909177d6048c542d9f4b561c18542d1625b1513 [file] [log] [blame]
[email protected]198d68d2009-06-04 16:08:161# 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
3# found in the LICENSE file.
4
5{
[email protected]198d68d2009-06-04 16:08:166 'targets': [
7 {
8 'target_name': 'lastchange',
9 'type': 'none',
10 'variables': {
11 'lastchange_out_path': '<(SHARED_INTERMEDIATE_DIR)/build/LASTCHANGE',
[email protected]618c0712009-08-05 17:20:3612 'default_lastchange_path': '../LASTCHANGE.in',
[email protected]198d68d2009-06-04 16:08:1613 },
14 'actions': [
15 {
16 'action_name': 'lastchange',
17 'inputs': [
[email protected]618c0712009-08-05 17:20:3618 # Note: <(default_lastchange_path) is optional,
19 # so it doesn't show up in inputs.
[email protected]02324332009-06-04 18:05:1920 './lastchange.py',
[email protected]198d68d2009-06-04 16:08:1621 ],
22 'outputs': [
[email protected]198d68d2009-06-04 16:08:1623 '<(lastchange_out_path).always',
[email protected]19f60a52010-02-17 16:49:2724 '<(lastchange_out_path)',
[email protected]198d68d2009-06-04 16:08:1625 ],
26 'action': [
[email protected]618c0712009-08-05 17:20:3627 'python', '<@(_inputs)',
28 '-o', '<(lastchange_out_path)',
29 '-d', '<(default_lastchange_path)',
[email protected]198d68d2009-06-04 16:08:1630 ],
[email protected]618c0712009-08-05 17:20:3631 'message': 'Extracting last change to <(lastchange_out_path)',
32 'process_outputs_as_sources': '1',
[email protected]198d68d2009-06-04 16:08:1633 },
34 ],
35 },
36 ]
37}
[email protected]f5c990c2009-10-06 03:02:3838
39# Local Variables:
40# tab-width:2
41# indent-tabs-mode:nil
42# End:
43# vim: set expandtab tabstop=2 shiftwidth=2: