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 # Contains all dependencies. | 8 # Contains all dependencies. |
9 'target_name': 'everything', | 9 'target_name': 'everything', |
10 'type': 'none', | 10 'type': 'none', |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 ], | 58 ], |
59 }, | 59 }, |
60 { | 60 { |
61 # Build the SDK. This target is separate from upload_sdk as the | 61 # Build the SDK. This target is separate from upload_sdk as the |
62 # editor needs to build the SDK without uploading it. | 62 # editor needs to build the SDK without uploading it. |
63 'target_name': 'create_sdk', | 63 'target_name': 'create_sdk', |
64 'type': 'none', | 64 'type': 'none', |
65 'dependencies': [ | 65 'dependencies': [ |
66 'runtime/dart-runtime.gyp:dart', | 66 'runtime/dart-runtime.gyp:dart', |
67 'utils/compiler/compiler.gyp:dart2js', | 67 'utils/compiler/compiler.gyp:dart2js', |
| 68 'analyzer', |
68 'compiler', | 69 'compiler', |
69 'packages' | 70 'packages' |
70 ], | 71 ], |
71 'actions': [ | 72 'actions': [ |
72 { | 73 { |
73 'action_name': 'create_sdk_py', | 74 'action_name': 'create_sdk_py', |
74 'inputs': [ | 75 'inputs': [ |
75 '<!@(["python", "tools/list_files.py", "\\.dart$", "sdk/lib"])', | 76 '<!@(["python", "tools/list_files.py", "\\.dart$", "sdk/lib"])', |
76 '<!@(["python", "tools/list_files.py", "", "sdk/bin"])', | 77 '<!@(["python", "tools/list_files.py", "", "sdk/bin"])', |
77 'tools/create_sdk.py', | 78 'tools/create_sdk.py', |
78 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', | 79 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', |
79 '<(PRODUCT_DIR)/dart2js.snapshot', | 80 '<(PRODUCT_DIR)/dart2js.snapshot', |
80 '<(PRODUCT_DIR)/analyzer/bin/dart_analyzer', | 81 '<(PRODUCT_DIR)/analyzer/bin/dart_analyzer', |
| 82 '<(PRODUCT_DIR)/dartanalyzer/dartanalyzer.jar', |
81 ], | 83 ], |
82 'outputs': [ | 84 'outputs': [ |
83 '<(PRODUCT_DIR)/dart-sdk/README', | 85 '<(PRODUCT_DIR)/dart-sdk/README', |
84 ], | 86 ], |
85 'action': [ | 87 'action': [ |
86 'python', | 88 'python', |
87 'tools/create_sdk.py', | 89 'tools/create_sdk.py', |
88 '<(PRODUCT_DIR)/dart-sdk', | 90 '<(PRODUCT_DIR)/dart-sdk', |
89 ], | 91 ], |
90 'message': 'Creating SDK.', | 92 'message': 'Creating SDK.', |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
122 'type': 'none', | 124 'type': 'none', |
123 'dependencies': [ | 125 'dependencies': [ |
124 'third_party/v8/src/d8.gyp:d8', | 126 'third_party/v8/src/d8.gyp:d8', |
125 'utils/compiler/compiler.gyp:dart2js', | 127 'utils/compiler/compiler.gyp:dart2js', |
126 ], | 128 ], |
127 }, | 129 }, |
128 { | 130 { |
129 'target_name': 'analyzer', | 131 'target_name': 'analyzer', |
130 'type': 'none', | 132 'type': 'none', |
131 'dependencies': [ | 133 'dependencies': [ |
132 'create_sdk', | |
133 'editor/analyzer.gyp:analyzer', | 134 'editor/analyzer.gyp:analyzer', |
134 ], | 135 ], |
135 }, | 136 }, |
136 { | 137 { |
137 # This is the target that is built on the dart2dart bots. | 138 # This is the target that is built on the dart2dart bots. |
138 # It must depend on anything that is required by dart2dart | 139 # It must depend on anything that is required by dart2dart |
139 # tests. | 140 # tests. |
140 'target_name': 'dart2dart_bot', | 141 'target_name': 'dart2dart_bot', |
141 'type': 'none', | 142 'type': 'none', |
142 'dependencies': [ | 143 'dependencies': [ |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
229 }, | 230 }, |
230 { | 231 { |
231 'target_name': 'packages', | 232 'target_name': 'packages', |
232 'type': 'none', | 233 'type': 'none', |
233 'dependencies': [ | 234 'dependencies': [ |
234 'pkg/pkg.gyp:pkg_packages', | 235 'pkg/pkg.gyp:pkg_packages', |
235 ], | 236 ], |
236 }, | 237 }, |
237 ], | 238 ], |
238 } | 239 } |
OLD | NEW |