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 '../../utils/compiler/compiler.gyp:dart2js', | 21 '../../create_sdk.gyp:create_sdk_internal', |
22 '../../runtime/dart-runtime.gyp:dart', | |
23 '../../pkg/pkg.gyp:pkg_packages', | 22 '../../pkg/pkg.gyp:pkg_packages', |
| 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/corelib_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 |
(...skipping 24 matching lines...) Expand all Loading... |
58 '<(SHARED_INTERMEDIATE_DIR)/utils_wrapper.dart.snapshot', | 58 '<(SHARED_INTERMEDIATE_DIR)/utils_wrapper.dart.snapshot', |
59 '<!@(["python", "../../tools/list_files.py", "\\.(css|ico|js|json|pn
g|sh|txt|yaml|py)$", ".", "../../sdk/lib/_internal/dartdoc"])', | 59 '<!@(["python", "../../tools/list_files.py", "\\.(css|ico|js|json|pn
g|sh|txt|yaml|py)$", ".", "../../sdk/lib/_internal/dartdoc"])', |
60 '<!@(["python", "../../tools/list_files.py", "\\.dart$", ".", "../..
/sdk/lib", "../../runtime/lib", "../../runtime/bin"])', | 60 '<!@(["python", "../../tools/list_files.py", "\\.dart$", ".", "../..
/sdk/lib", "../../runtime/lib", "../../runtime/bin"])', |
61 '../../sdk/bin/dart', | 61 '../../sdk/bin/dart', |
62 '../../sdk/bin/dart.bat', | 62 '../../sdk/bin/dart.bat', |
63 '../../sdk/bin/dart2js', | 63 '../../sdk/bin/dart2js', |
64 '../../sdk/bin/dart2js.bat', | 64 '../../sdk/bin/dart2js.bat', |
65 '../../sdk/bin/docgen', | 65 '../../sdk/bin/docgen', |
66 '../../sdk/bin/docgen.bat', | 66 '../../sdk/bin/docgen.bat', |
67 '../../tools/only_in_release_mode.py', | 67 '../../tools/only_in_release_mode.py', |
| 68 '<(PRODUCT_DIR)/dart-sdk/README', |
| 69 '<(SHARED_INTERMEDIATE_DIR)/pkg_files.stamp', |
68 ], | 70 ], |
69 'outputs': [ | 71 'outputs': [ |
70 '<(PRODUCT_DIR)/api_docs/docgen/index.json', | 72 '<(PRODUCT_DIR)/api_docs/docgen/index.json', |
71 ], | 73 ], |
72 'action': [ | 74 'action': [ |
73 'python', | 75 'python', |
74 '../../tools/only_in_release_mode.py', | 76 '../../tools/only_in_release_mode.py', |
75 '<@(_outputs)', | 77 '<@(_outputs)', |
76 '--', | 78 '--', |
77 '../../sdk/bin/dart', | 79 '<(PRODUCT_DIR)/dart-sdk/bin/docgen<(script_suffix)', |
78 '--package-root=<(PRODUCT_DIR)/packages', | |
79 '../../pkg/docgen/bin/docgen.dart', | |
80 '--out=<(PRODUCT_DIR)/api_docs/docgen', | 80 '--out=<(PRODUCT_DIR)/api_docs/docgen', |
81 '--include-sdk', | 81 '--include-sdk', |
82 '--no-include-dependent-packages', | 82 '--no-include-dependent-packages', |
83 '--package-root=<(PRODUCT_DIR)/packages', | 83 '--package-root=<(PRODUCT_DIR)/packages', |
84 '--exclude-lib=async_helper', | 84 '--exclude-lib=async_helper', |
85 '--exclude-lib=expect', | 85 '--exclude-lib=expect', |
86 '--exclude-lib=docgen', | 86 '--exclude-lib=docgen', |
87 '../../pkg' | 87 '../../pkg' |
88 ], | 88 ], |
89 'message': 'Running docgen: <(_action)', | 89 'message': 'Running docgen: <(_action)', |
90 }, | 90 }, |
91 ], | 91 ], |
92 } | 92 } |
93 ], | 93 ], |
94 } | 94 } |
OLD | NEW |