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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
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 '<!@(["python", "../../tools/list_files.py", "\\.dart$", ".", "../.. /sdk/lib", "../../runtime/lib", "../../runtime/bin"])', | 60 '<!@(["python", "../../tools/list_files.py", "\\.dart$", ".", "../.. /sdk/lib", "../../runtime/lib", "../../runtime/bin"])', |
61 '../../sdk/bin/dart', | 61 '../../sdk/bin/dart', |
62 '../../sdk/bin/dart.bat', | 62 '../../sdk/bin/dart.bat', |
63 '../../sdk/bin/dart2js', | 63 '../../sdk/bin/dart2js', |
64 '../../sdk/bin/dart2js.bat', | 64 '../../sdk/bin/dart2js.bat', |
65 '../../sdk/bin/docgen', | 65 '../../sdk/bin/docgen', |
66 '../../sdk/bin/docgen.bat', | 66 '../../sdk/bin/docgen.bat', |
67 '../../tools/only_in_release_mode.py', | 67 '../../tools/only_in_release_mode.py', |
ricow1
2014/04/23 07:16:07
it seems that we are using ../../pkg below as an a
| |
68 ], | 68 ], |
69 'outputs': [ | 69 'outputs': [ |
70 '<(PRODUCT_DIR)/api_docs/docgen/index.json', | 70 '<(PRODUCT_DIR)/api_docs/docgen/index.json', |
71 ], | 71 ], |
72 'action': [ | 72 'action': [ |
73 'python', | 73 'python', |
74 '../../tools/only_in_release_mode.py', | 74 '../../tools/only_in_release_mode.py', |
75 '<@(_outputs)', | 75 '<@(_outputs)', |
76 '--', | 76 '--', |
77 '../../sdk/bin/dart', | 77 '../../sdk/bin/dart', |
ricow1
2014/04/23 07:16:07
Here you should use:
'<(PRODUCT_DIR)/<(EXECUTABLE
| |
78 '--package-root=<(PRODUCT_DIR)/packages', | 78 '--package-root=<(PRODUCT_DIR)/packages', |
79 '../../pkg/docgen/bin/docgen.dart', | 79 '../../pkg/docgen/bin/docgen.dart', |
80 '--out=<(PRODUCT_DIR)/api_docs/docgen', | 80 '--out=<(PRODUCT_DIR)/api_docs/docgen', |
81 '--json', | |
82 '--include-sdk', | 81 '--include-sdk', |
83 '--no-include-dependent-packages', | 82 '--no-include-dependent-packages', |
84 '--package-root=<(PRODUCT_DIR)/packages', | 83 '--package-root=<(PRODUCT_DIR)/packages', |
85 '--exclude-lib=async_helper', | 84 '--exclude-lib=async_helper', |
86 '--exclude-lib=expect', | 85 '--exclude-lib=expect', |
87 '--exclude-lib=docgen', | 86 '--exclude-lib=docgen', |
88 '../../pkg', | 87 '../../pkg' |
ricow1
2014/04/23 07:16:07
it is pretty standard to have trailing commas in l
| |
89 ], | 88 ], |
90 'message': 'Running docgen: <(_action)', | 89 'message': 'Running docgen: <(_action)', |
91 }, | 90 }, |
92 ], | 91 ], |
93 } | 92 } |
94 ], | 93 ], |
95 } | 94 } |
OLD | NEW |