Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(591)

Unified Diff: dart/utils/compiler/compiler.gyp

Issue 19795006: dart2js has its own snapshot. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Removed extra argument. Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « dart/tools/create_sdk.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/utils/compiler/compiler.gyp
diff --git a/dart/utils/compiler/compiler.gyp b/dart/utils/compiler/compiler.gyp
index e5eb4ab414b8f0b623468c7bad7dc3fb49f8e7f2..d1c1c8e8f09f02560ef28f65baaa60dda149628c 100644
--- a/dart/utils/compiler/compiler.gyp
+++ b/dart/utils/compiler/compiler.gyp
@@ -20,6 +20,29 @@
'inputs': [
'<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)',
'../../sdk/lib/_internal/libraries.dart',
+ '<!@(["python", "../../tools/list_files.py", "\\.dart$",'
+ ' "../../sdk/lib/_internal/compiler", "../../runtime/lib"])',
+ '../../sdk/lib/_internal/libraries.dart',
+ ],
+ 'outputs': [
+ '<(SHARED_INTERMEDIATE_DIR)/dart2js.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.
+ '--snapshot=<(SHARED_INTERMEDIATE_DIR)/dart2js.dart.snapshot',
+ '../../sdk/lib/_internal/compiler/implementation/dart2js.dart',
+ ],
+ },
+ {
+ 'action_name': 'generate_dartdoc_snapshot',
+ 'inputs': [
+ '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)',
+ '../../sdk/lib/_internal/libraries.dart',
'<!@(["python", "../../tools/list_files.py", "\\.dart$", "../../sdk/lib/_internal/compiler", "../../runtime/lib", "../../sdk/lib/_internal/dartdoc"])',
'create_snapshot.dart',
'<(SHARED_INTERMEDIATE_DIR)/packages.stamp',
« no previous file with comments | « dart/tools/create_sdk.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698