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 11 matching lines...) Expand all Loading... |
22 '../../runtime/dart-runtime.gyp:dart', | 22 '../../runtime/dart-runtime.gyp:dart', |
23 ], | 23 ], |
24 'includes': [ | 24 'includes': [ |
25 '../../sdk/lib/core/corelib_sources.gypi', | 25 '../../sdk/lib/core/corelib_sources.gypi', |
26 ], | 26 ], |
27 'actions': [ | 27 'actions': [ |
28 { | 28 { |
29 'action_name': 'run_apidoc', | 29 'action_name': 'run_apidoc', |
30 'inputs': [ | 30 'inputs': [ |
31 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', | 31 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', |
32 '<(PRODUCT_DIR)/dart2js', | 32 '<(PRODUCT_DIR)/dart2js.snapshot', |
33 '<(PRODUCT_DIR)/dart2js.bat', | |
34 '<!@(["python", "../../tools/list_files.py", "\\.(css|ico|js|json|pn
g|sh|txt|yaml|py)$", ".", "../../sdk/lib/_internal/dartdoc"])', | 33 '<!@(["python", "../../tools/list_files.py", "\\.(css|ico|js|json|pn
g|sh|txt|yaml|py)$", ".", "../../sdk/lib/_internal/dartdoc"])', |
35 '<!@(["python", "../../tools/list_files.py", "\\.dart$", "../../sdk/
lib", "../../runtime/lib", "../../runtime/bin"])', | 34 '<!@(["python", "../../tools/list_files.py", "\\.dart$", "../../sdk/
lib", "../../runtime/lib", "../../runtime/bin"])', |
| 35 '../../sdk/bin/dart', |
| 36 '../../sdk/bin/dart.bat', |
| 37 '../../sdk/bin/dart2js', |
| 38 '../../sdk/bin/dart2js.bat', |
36 ], | 39 ], |
37 'outputs': [ | 40 'outputs': [ |
38 '<(PRODUCT_DIR)/api_docs/index.html', | 41 '<(PRODUCT_DIR)/api_docs/index.html', |
39 '<(PRODUCT_DIR)/api_docs/client-static.js', | 42 '<(PRODUCT_DIR)/api_docs/client-static.js', |
40 ], | 43 ], |
41 'action': [ | 44 'action': [ |
42 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', | 45 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', |
43 'apidoc.dart', | 46 'apidoc.dart', |
44 '--out=<(PRODUCT_DIR)/api_docs', | 47 '--out=<(PRODUCT_DIR)/api_docs', |
45 '--mode=static', | 48 '--mode=static', |
46 '--exclude-lib=dartdoc', | 49 '--exclude-lib=dartdoc', |
47 '--exclude-lib=http', | 50 '--exclude-lib=http', |
48 '--exclude-lib=oauth2', | 51 '--exclude-lib=oauth2', |
49 '--exclude-lib=webdriver', | 52 '--exclude-lib=webdriver', |
50 '--include-lib=matcher', | 53 '--include-lib=matcher', |
51 '--include-lib=mock', | 54 '--include-lib=mock', |
52 ], | 55 ], |
53 'message': 'Running apidoc: <(_action)', | 56 'message': 'Running apidoc: <(_action)', |
54 }, | 57 }, |
55 ], | 58 ], |
56 } | 59 } |
57 ], | 60 ], |
58 } | 61 } |
OLD | NEW |