Index: utils/compiler/compiler.gyp |
=================================================================== |
--- utils/compiler/compiler.gyp (revision 21179) |
+++ utils/compiler/compiler.gyp (working copy) |
@@ -22,17 +22,13 @@ |
'<!@(["python", "../../tools/list_files.py", "\\.dart$", "../../sdk/lib/_internal/compiler", "../../runtime/lib"])', |
], |
'outputs': [ |
- '<(PRODUCT_DIR)/dart2js.snapshot', |
+ '<(SHARED_INTERMEDIATE_DIR)/utils_wrapper.dart.snapshot', |
], |
'action': [ |
'<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', |
- # Note: we don't store the snapshot in the location where |
- # the dart2js script is looking for it. The motivation |
- # for that is to support an incremental development model |
- # for dart2js compiler engineers. However, we install the |
- # snapshot in the proper location when building the SDK. |
- '--generate-script-snapshot=<(PRODUCT_DIR)/dart2js.snapshot', |
- '../../sdk/lib/_internal/compiler/implementation/dart2js.dart', |
+ 'create_snapshot.dart', |
+ '--output_dir=<(SHARED_INTERMEDIATE_DIR)', |
+ '--dart2js_main=sdk/lib/_internal/compiler/implementation/dart2js.dart', |
], |
}, |
], |