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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 ], | 43 ], |
44 }, | 44 }, |
45 { | 45 { |
46 # Build the SDK. This target is separate from upload_sdk as the | 46 # Build the SDK. This target is separate from upload_sdk as the |
47 # editor needs to build the SDK without uploading it. | 47 # editor needs to build the SDK without uploading it. |
48 'target_name': 'create_sdk', | 48 'target_name': 'create_sdk', |
49 'type': 'none', | 49 'type': 'none', |
50 'dependencies': [ | 50 'dependencies': [ |
51 'runtime/dart-runtime.gyp:dart', | 51 'runtime/dart-runtime.gyp:dart', |
52 'utils/compiler/compiler.gyp:dart2js', | 52 'utils/compiler/compiler.gyp:dart2js', |
| 53 'utils/pub/pub.gyp:pub', |
53 'analyzer', | 54 'analyzer', |
54 'compiler', | 55 'compiler', |
55 ], | 56 ], |
56 'actions': [ | 57 'actions': [ |
57 { | 58 { |
58 'action_name': 'create_sdk_py', | 59 'action_name': 'create_sdk_py', |
59 'inputs': [ | 60 'inputs': [ |
60 '<!@(["python", "tools/list_files.py", "\\.dart$", "sdk/lib"])', | 61 '<!@(["python", "tools/list_files.py", "\\.dart$", "sdk/lib"])', |
61 '<!@(["python", "tools/list_files.py", "", "sdk/bin"])', | 62 '<!@(["python", "tools/list_files.py", "", "sdk/bin"])', |
62 'tools/create_sdk.py', | 63 'tools/create_sdk.py', |
63 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', | 64 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', |
64 '<(SHARED_INTERMEDIATE_DIR)/utils_wrapper.dart.snapshot', | 65 '<(SHARED_INTERMEDIATE_DIR)/utils_wrapper.dart.snapshot', |
| 66 '<(SHARED_INTERMEDIATE_DIR)/pub.dart.snapshot', |
65 '<(PRODUCT_DIR)/analyzer/bin/dart_analyzer', | 67 '<(PRODUCT_DIR)/analyzer/bin/dart_analyzer', |
66 '<(PRODUCT_DIR)/dartanalyzer/dartanalyzer.jar', | 68 '<(PRODUCT_DIR)/dartanalyzer/dartanalyzer.jar', |
67 ], | 69 ], |
68 'outputs': [ | 70 'outputs': [ |
69 '<(PRODUCT_DIR)/dart-sdk/README', | 71 '<(PRODUCT_DIR)/dart-sdk/README', |
70 ], | 72 ], |
71 'action': [ | 73 'action': [ |
72 'python', | 74 'python', |
73 'tools/create_sdk.py', | 75 'tools/create_sdk.py', |
74 '--sdk_output_dir', '<(PRODUCT_DIR)/dart-sdk', | 76 '--sdk_output_dir', '<(PRODUCT_DIR)/dart-sdk', |
75 '--utils_snapshot_location', | 77 '--snapshot_location', '<(SHARED_INTERMEDIATE_DIR)/' |
76 '<(SHARED_INTERMEDIATE_DIR)/utils_wrapper.dart.snapshot' | |
77 ], | 78 ], |
78 'message': 'Creating SDK.', | 79 'message': 'Creating SDK.', |
79 }, | 80 }, |
80 ], | 81 ], |
81 }, | 82 }, |
82 { | 83 { |
83 # Upload the SDK. This target is separate from create_sdk as the | 84 # Upload the SDK. This target is separate from create_sdk as the |
84 # editor needs to build the SDK without uploading it. | 85 # editor needs to build the SDK without uploading it. |
85 'target_name': 'upload_sdk', | 86 'target_name': 'upload_sdk', |
86 'type': 'none', | 87 'type': 'none', |
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
216 }, | 217 }, |
217 { | 218 { |
218 'target_name': 'packages', | 219 'target_name': 'packages', |
219 'type': 'none', | 220 'type': 'none', |
220 'dependencies': [ | 221 'dependencies': [ |
221 'pkg/pkg.gyp:pkg_packages', | 222 'pkg/pkg.gyp:pkg_packages', |
222 ], | 223 ], |
223 }, | 224 }, |
224 ], | 225 ], |
225 } | 226 } |
OLD | NEW |