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