OLD | NEW |
1 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 # Copyright (c) 2012, the Dart 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 file. | 3 # BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'variables' : { | 6 'variables' : { |
7 'script_suffix%': '', | 7 'script_suffix%': '', |
8 }, | 8 }, |
9 'conditions' : [ | 9 'conditions' : [ |
10 ['OS=="win"', { | 10 ['OS=="win"', { |
11 'variables' : { | 11 'variables' : { |
12 'script_suffix': '.bat', | 12 'script_suffix': '.bat', |
13 }, | 13 }, |
14 }], | 14 }], |
15 ], | 15 ], |
16 'targets': [ | 16 'targets': [ |
17 { | 17 { |
18 'target_name': 'docgen', | 18 'target_name': 'docgen', |
19 'type': 'none', | 19 'type': 'none', |
20 'dependencies': [ | 20 'dependencies': [ |
21 '../../create_sdk.gyp:create_sdk_internal', | 21 '../../create_sdk.gyp:create_sdk_internal', |
22 '../../pkg/pkg.gyp:pkg_packages', | 22 '../../pkg/pkg.gyp:pkg_packages', |
23 '../../pkg/pkg_files.gyp:pkg_files_stamp', | 23 '../../pkg/pkg_files.gyp:pkg_files_stamp', |
24 ], | 24 ], |
25 'includes': [ | 25 'includes': [ |
26 '../../sdk/lib/core/corelib_sources.gypi', | 26 '../../sdk/lib/core/core_sources.gypi', |
27 ], | 27 ], |
28 'actions': [ | 28 'actions': [ |
29 { | 29 { |
30 'action_name': 'run_docgen', | 30 'action_name': 'run_docgen', |
31 # The 'inputs' list records the files whose timestamps are | 31 # The 'inputs' list records the files whose timestamps are |
32 # compared to the files listed in 'outputs'. If a file | 32 # compared to the files listed in 'outputs'. If a file |
33 # 'outputs' doesn't exist or if a file in 'inputs' is newer | 33 # 'outputs' doesn't exist or if a file in 'inputs' is newer |
34 # than a file in 'outputs', this action is executed. Notice | 34 # than a file in 'outputs', this action is executed. Notice |
35 # that the dependencies listed above has nothing to do with | 35 # that the dependencies listed above has nothing to do with |
36 # when this action is executed. You must list a file in | 36 # when this action is executed. You must list a file in |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
89 '--exclude-lib=expect', | 89 '--exclude-lib=expect', |
90 '--exclude-lib=try', | 90 '--exclude-lib=try', |
91 '../../pkg' | 91 '../../pkg' |
92 ], | 92 ], |
93 'message': 'Running docgen: <(_action)', | 93 'message': 'Running docgen: <(_action)', |
94 }, | 94 }, |
95 ], | 95 ], |
96 } | 96 } |
97 ], | 97 ], |
98 } | 98 } |
OLD | NEW |