OLD | NEW |
1 # Copyright (c) 2015, the Fletch project authors. Please see the AUTHORS file | 1 # Copyright (c) 2015, the Dartino project authors. Please see the AUTHORS file |
2 # for details. All rights reserved. Use of this source code is governed by a | 2 # for details. All rights reserved. Use of this source code is governed by a |
3 # BSD-style license that can be found in the LICENSE.md file. | 3 # BSD-style license that can be found in the LICENSE.md file. |
4 { | 4 { |
5 'targets': [ | 5 'targets': [ |
6 { | 6 { |
7 'target_name': 'generate_version_cc', | 7 'target_name': 'generate_version_cc', |
8 'type': 'none', | 8 'type': 'none', |
9 'toolsets': ['host'], | 9 'toolsets': ['host'], |
10 'actions': [ | 10 'actions': [ |
11 { | 11 { |
12 'action_name': 'generate_version_cc_action', | 12 'action_name': 'generate_version_cc_action', |
13 'inputs': [ | 13 'inputs': [ |
14 'tools/generate_version_cc.py', | 14 'tools/generate_version_cc.py', |
15 '.git/logs/HEAD', | 15 '.git/logs/HEAD', |
16 '.git/HEAD', | 16 '.git/HEAD', |
17 ], | 17 ], |
18 'outputs': [ | 18 'outputs': [ |
19 '<(SHARED_INTERMEDIATE_DIR)/version.cc', | 19 '<(SHARED_INTERMEDIATE_DIR)/version.cc', |
20 ], | 20 ], |
21 'action': [ | 21 'action': [ |
22 'python', '<@(_inputs)', '<@(_outputs)', | 22 'python', '<@(_inputs)', '<@(_outputs)', |
23 ], | 23 ], |
24 }, | 24 }, |
25 ], | 25 ], |
26 }, | 26 }, |
27 ], | 27 ], |
28 } | 28 } |
OLD | NEW |