| 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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 # the output directory. | 59 # the output directory. |
| 60 'inputs': [ | 60 'inputs': [ |
| 61 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', | 61 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', |
| 62 '<(PRODUCT_DIR)/dart2js.snapshot', | 62 '<(PRODUCT_DIR)/dart2js.snapshot', |
| 63 '<!@(["python", "../../tools/list_files.py", "\\.(css|ico|js|json|pn
g|sh|txt|yaml|py)$", ".", "../../sdk/lib/_internal/dartdoc"])', | 63 '<!@(["python", "../../tools/list_files.py", "\\.(css|ico|js|json|pn
g|sh|txt|yaml|py)$", ".", "../../sdk/lib/_internal/dartdoc"])', |
| 64 '<!@(["python", "../../tools/list_files.py", "\\.dart$", ".", "../..
/sdk/lib", "../../runtime/lib", "../../runtime/bin"])', | 64 '<!@(["python", "../../tools/list_files.py", "\\.dart$", ".", "../..
/sdk/lib", "../../runtime/lib", "../../runtime/bin"])', |
| 65 '../../sdk/bin/dart', | 65 '../../sdk/bin/dart', |
| 66 '../../sdk/bin/dart.bat', | 66 '../../sdk/bin/dart.bat', |
| 67 '../../sdk/bin/dart2js', | 67 '../../sdk/bin/dart2js', |
| 68 '../../sdk/bin/dart2js.bat', | 68 '../../sdk/bin/dart2js.bat', |
| 69 '../../tools/only_in_release_mode.py', |
| 69 ], | 70 ], |
| 70 'outputs': [ | 71 'outputs': [ |
| 71 '<(PRODUCT_DIR)/api_docs/index.html', | 72 '<(PRODUCT_DIR)/api_docs/index.html', |
| 72 '<(PRODUCT_DIR)/api_docs/client-static.js', | 73 '<(PRODUCT_DIR)/api_docs/client-static.js', |
| 73 ], | 74 ], |
| 74 'action': [ | 75 'action': [ |
| 76 'python', |
| 77 '../../tools/only_in_release_mode.py', |
| 78 '--outputs=<(_outputs)', |
| 79 '--mode=$(DART_BUILD_MODE)', |
| 80 '--', |
| 75 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', | 81 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', |
| 76 '--package-root=<(PRODUCT_DIR)/packages/', | 82 '--package-root=<(PRODUCT_DIR)/packages/', |
| 77 'apidoc.dart', | 83 'apidoc.dart', |
| 78 '--out=<(PRODUCT_DIR)/api_docs', | 84 '--out=<(PRODUCT_DIR)/api_docs', |
| 79 '--version=<!@(["python", "../../tools/print_version.py"])', | 85 '--version=<!@(["python", "../../tools/print_version.py"])', |
| 80 '--package-root=<(PRODUCT_DIR)/packages', | 86 '--package-root=<(PRODUCT_DIR)/packages', |
| 81 '--mode=static', | 87 '--mode=static', |
| 82 '--exclude-lib=analyzer_experimental', | 88 '--exclude-lib=analyzer_experimental', |
| 83 '--exclude-lib=browser', | 89 '--exclude-lib=browser', |
| 84 '--exclude-lib=dartdoc', | 90 '--exclude-lib=dartdoc', |
| 85 '--exclude-lib=http', | 91 '--exclude-lib=http', |
| 86 '--exclude-lib=oauth2', | 92 '--exclude-lib=oauth2', |
| 87 '--exclude-lib=pathos', | 93 '--exclude-lib=pathos', |
| 88 '--exclude-lib=scheduled_test', | 94 '--exclude-lib=scheduled_test', |
| 89 '--exclude-lib=stack_trace', | 95 '--exclude-lib=stack_trace', |
| 90 '--exclude-lib=webdriver', | 96 '--exclude-lib=webdriver', |
| 91 '--exclude-lib=yaml', | 97 '--exclude-lib=yaml', |
| 92 '--include-lib=matcher', | 98 '--include-lib=matcher', |
| 93 '--include-lib=mock', | 99 '--include-lib=mock', |
| 94 ], | 100 ], |
| 95 'message': 'Running apidoc: <(_action)', | 101 'message': 'Running apidoc: <(_action)', |
| 96 }, | 102 }, |
| 97 ], | 103 ], |
| 98 } | 104 } |
| 99 ], | 105 ], |
| 100 } | 106 } |
| OLD | NEW |