| 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 # | 56 # |
| 57 'inputs': [ | 57 'inputs': [ |
| 58 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', | 58 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', |
| 59 '<(SHARED_INTERMEDIATE_DIR)/utils_wrapper.dart.snapshot', | 59 '<(SHARED_INTERMEDIATE_DIR)/utils_wrapper.dart.snapshot', |
| 60 '<!@(["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", "\\.(css|ico|js|json|pn
g|sh|txt|yaml|py)$", ".", "../../sdk/lib/_internal/dartdoc"])', |
| 61 '<!@(["python", "../../tools/list_files.py", "\\.dart$", ".", "../..
/sdk/lib", "../../runtime/lib", "../../runtime/bin"])', | 61 '<!@(["python", "../../tools/list_files.py", "\\.dart$", ".", "../..
/sdk/lib", "../../runtime/lib", "../../runtime/bin"])', |
| 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 '../../sdk/bin/docgen', |
| 67 '../../sdk/bin/docgen.bat', |
| 66 '../../tools/only_in_release_mode.py', | 68 '../../tools/only_in_release_mode.py', |
| 67 # We sit inside the api_docs directory, so make sure it has run | 69 # We sit inside the api_docs directory, so make sure it has run |
| 68 # before we do. Otherwise it might run later and delete us. | 70 # before we do. Otherwise it might run later and delete us. |
| 69 '<(PRODUCT_DIR)/api_docs/index.html', | 71 '<(PRODUCT_DIR)/api_docs/index.html', |
| 70 ], | 72 ], |
| 71 'outputs': [ | 73 'outputs': [ |
| 72 '<(PRODUCT_DIR)/api_docs/docgen/index.json', | 74 '<(PRODUCT_DIR)/api_docs/docgen/index.json', |
| 73 ], | 75 ], |
| 74 'action': [ | 76 'action': [ |
| 75 'python', | 77 'python', |
| 76 '../../tools/only_in_release_mode.py', | 78 '../../tools/only_in_release_mode.py', |
| 77 '<@(_outputs)', | 79 '<@(_outputs)', |
| 78 '--', | 80 '--', |
| 79 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', | 81 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart-sdk/bin/docgen<(script_suff
ix)', |
| 80 '--old_gen_heap_size=1024', | |
| 81 '--package-root=<(PRODUCT_DIR)/packages/', | |
| 82 '../../pkg/docgen/bin/docgen.dart', | |
| 83 '--out=<(PRODUCT_DIR)/api_docs/docgen', | 82 '--out=<(PRODUCT_DIR)/api_docs/docgen', |
| 84 '--json', | 83 '--json', |
| 85 '--include-sdk', | 84 '--include-sdk', |
| 86 '--package-root=<(PRODUCT_DIR)/packages', | 85 '--package-root=<(PRODUCT_DIR)/packages', |
| 87 '--exclude-lib=async_helper', | 86 '--exclude-lib=async_helper', |
| 88 '--exclude-lib=expect', | 87 '--exclude-lib=expect', |
| 89 '--exclude-lib=docgen', | 88 '--exclude-lib=docgen', |
| 90 '../../pkg', | 89 '../../pkg', |
| 91 ], | 90 ], |
| 92 'message': 'Running docgen: <(_action)', | 91 'message': 'Running docgen: <(_action)', |
| 93 }, | 92 }, |
| 94 ], | 93 ], |
| 95 } | 94 } |
| 96 ], | 95 ], |
| 97 } | 96 } |
| OLD | NEW |