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 'targets': [ | 6 'targets': [ |
7 { | 7 { |
8 'target_name': 'most', | 8 'target_name': 'most', |
9 'type': 'none', | 9 'type': 'none', |
10 'dependencies': [ | 10 'dependencies': [ |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
74 '--sdk_output_dir', '<(PRODUCT_DIR)/dart-sdk', | 74 '--sdk_output_dir', '<(PRODUCT_DIR)/dart-sdk', |
75 '--snapshot_location', '<(SHARED_INTERMEDIATE_DIR)/' | 75 '--snapshot_location', '<(SHARED_INTERMEDIATE_DIR)/' |
76 ], | 76 ], |
77 'message': 'Creating SDK.', | 77 'message': 'Creating SDK.', |
78 }, | 78 }, |
79 ], | 79 ], |
80 }, | 80 }, |
81 { | 81 { |
82 # Upload the SDK. This target is separate from create_sdk as the | 82 # Upload the SDK. This target is separate from create_sdk as the |
83 # editor needs to build the SDK without uploading it. | 83 # editor needs to build the SDK without uploading it. |
84 'target_name': 'upload_sdk', | 84 'target_name': 'upload_sdk', |
kustermann
2013/11/19 16:40:37
I'm not familiar with this target. AFAIK this is n
Alan Knight
2013/11/19 19:14:47
Ah. I was naively assuming that a target by that n
| |
85 'type': 'none', | 85 'type': 'none', |
86 'dependencies': [ | 86 'dependencies': [ |
87 'create_sdk', | 87 'create_sdk', |
88 'api_docs', | |
89 ], | |
90 'inputs': [ | |
91 '<(PRODUCT_DIR)/dart-sdk/README', | |
88 ], | 92 ], |
89 'actions': [ | 93 'actions': [ |
90 { | 94 { |
91 'action_name': 'upload_sdk_py', | 95 'action_name': 'upload_sdk_py', |
92 'inputs': [ | 96 'inputs': [ |
93 '<(PRODUCT_DIR)/dart-sdk/README', | 97 '<(PRODUCT_DIR)/dart-sdk/README', |
98 '<(PRODUCT_DIR)/api_docs/docgen/index.json', | |
kustermann
2013/11/19 16:40:37
That seems to be unnecessary since the upload_sdk.
Alan Knight
2013/11/19 19:14:47
Yes. Reverted.
| |
94 'tools/upload_sdk.py', | 99 'tools/upload_sdk.py', |
95 ], | 100 ], |
96 'outputs': [ | 101 'outputs': [ |
97 '<(PRODUCT_DIR)/dart-sdk/upload.stamp', | 102 '<(PRODUCT_DIR)/dart-sdk/upload.stamp', |
98 ], | 103 ], |
99 'action': [ | 104 'action': [ |
100 'python', | 105 'python', |
101 'tools/upload_sdk.py', | 106 'tools/upload_sdk.py', |
102 '<(PRODUCT_DIR)/dart-sdk' | 107 '<(PRODUCT_DIR)/dart-sdk' |
103 ], | 108 ], |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
148 'type': 'none', | 153 'type': 'none', |
149 'dependencies': [ | 154 'dependencies': [ |
150 'create_sdk', | 155 'create_sdk', |
151 'packages', | 156 'packages', |
152 ], | 157 ], |
153 }, | 158 }, |
154 { | 159 { |
155 'target_name': 'api_docs', | 160 'target_name': 'api_docs', |
156 'type': 'none', | 161 'type': 'none', |
157 'dependencies': [ | 162 'dependencies': [ |
163 # TODO(alanknight) : Once we're fully switched over to the new | |
164 # viewer remove the old api_docs gyp file. | |
158 'utils/apidoc/apidoc.gyp:api_docs', | 165 'utils/apidoc/apidoc.gyp:api_docs', |
166 'utils/apidoc/docgen.gyp:docgen', | |
159 ], | 167 ], |
160 }, | 168 }, |
161 { | 169 { |
162 'target_name': 'editor', | 170 'target_name': 'editor', |
163 'type': 'none', | 171 'type': 'none', |
164 'dependencies': [ | 172 'dependencies': [ |
165 'editor/build/generated/editor_deps.gyp:editor_deps', | 173 'editor/build/generated/editor_deps.gyp:editor_deps', |
166 | 174 |
167 # This dependency on create_sdk does not mean that the Editor | 175 # This dependency on create_sdk does not mean that the Editor |
168 # is rebuilt if the SDK is. It only means that when you build | 176 # is rebuilt if the SDK is. It only means that when you build |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
211 }, | 219 }, |
212 { | 220 { |
213 'target_name': 'packages', | 221 'target_name': 'packages', |
214 'type': 'none', | 222 'type': 'none', |
215 'dependencies': [ | 223 'dependencies': [ |
216 'pkg/pkg.gyp:pkg_packages', | 224 'pkg/pkg.gyp:pkg_packages', |
217 ], | 225 ], |
218 }, | 226 }, |
219 ], | 227 ], |
220 } | 228 } |
OLD | NEW |