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"', { |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 'inputs': [ | 56 'inputs': [ |
57 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', | 57 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', |
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 # We implicitly depend on the sdk/lib and vm runtime files by depend
ing on the dart binary above. | 60 # We implicitly depend on the sdk/lib and vm runtime files by depend
ing on the dart binary above. |
61 '<!@(["python", "../../tools/list_files.py", "\\.dart$", "."])', | 61 '<!@(["python", "../../tools/list_files.py", "\\.dart$", "."])', |
62 '../../sdk/bin/dart', | 62 '../../sdk/bin/dart', |
63 '../../sdk/bin/dart.bat', | 63 '../../sdk/bin/dart.bat', |
64 '../../sdk/bin/dart2js', | 64 '../../sdk/bin/dart2js', |
65 '../../sdk/bin/dart2js.bat', | 65 '../../sdk/bin/dart2js.bat', |
| 66 # TODO(alanknight): The docgen name is deprecated in favour of |
| 67 # dartdocgen, and should be removed eventually. |
66 '../../sdk/bin/docgen', | 68 '../../sdk/bin/docgen', |
| 69 '../../sdk/bin/dartdocgen', |
67 '../../sdk/bin/docgen.bat', | 70 '../../sdk/bin/docgen.bat', |
| 71 '../../sdk/bin/dartdocgen.bat', |
68 '../../tools/only_in_release_mode.py', | 72 '../../tools/only_in_release_mode.py', |
69 '<(PRODUCT_DIR)/dart-sdk/README', | 73 '<(PRODUCT_DIR)/dart-sdk/README', |
70 '<(SHARED_INTERMEDIATE_DIR)/pkg_files.stamp', | 74 '<(SHARED_INTERMEDIATE_DIR)/pkg_files.stamp', |
71 ], | 75 ], |
72 'outputs': [ | 76 'outputs': [ |
73 '<(PRODUCT_DIR)/api_docs/docgen/index.json', | 77 '<(PRODUCT_DIR)/api_docs/docgen/index.json', |
74 ], | 78 ], |
75 'action': [ | 79 'action': [ |
76 'python', | 80 'python', |
77 '../../tools/only_in_release_mode.py', | 81 '../../tools/only_in_release_mode.py', |
78 '<@(_outputs)', | 82 '<@(_outputs)', |
79 '--', | 83 '--', |
80 '<(PRODUCT_DIR)/dart-sdk/bin/docgen<(script_suffix)', | 84 '<(PRODUCT_DIR)/dart-sdk/bin/dartdocgen<(script_suffix)', |
81 '--out=<(PRODUCT_DIR)/api_docs/docgen', | 85 '--out=<(PRODUCT_DIR)/api_docs/docgen', |
82 '--include-sdk', | 86 '--include-sdk', |
83 '--no-include-dependent-packages', | 87 '--no-include-dependent-packages', |
84 '--package-root=<(PRODUCT_DIR)/packages', | 88 '--package-root=<(PRODUCT_DIR)/packages', |
85 '--exclude-lib=async_helper', | 89 '--exclude-lib=async_helper', |
86 '--exclude-lib=compiler', | 90 '--exclude-lib=compiler', |
87 '--exclude-lib=dart2js_incremental', | 91 '--exclude-lib=dart2js_incremental', |
88 '--exclude-lib=docgen', | 92 '--exclude-lib=docgen', |
89 '--exclude-lib=expect', | 93 '--exclude-lib=expect', |
90 '--exclude-lib=try', | 94 '--exclude-lib=try', |
91 '../../pkg' | 95 '../../pkg' |
92 ], | 96 ], |
93 'message': 'Running docgen: <(_action)', | 97 'message': 'Running dartdocgen: <(_action)', |
94 }, | 98 }, |
95 ], | 99 ], |
96 } | 100 } |
97 ], | 101 ], |
98 } | 102 } |
OLD | NEW |