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

Unified Diff: dart/site/try/build_try.gyp

Issue 355563004: Create package for incremental compilation. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 6 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
Index: dart/site/try/build_try.gyp
diff --git a/dart/site/try/build_try.gyp b/dart/site/try/build_try.gyp
index 19463182c5d176db2e2ca9d5b779aac42b51c42b..b22d0dfbf8b56bffb6b66a0f3d94340babcb874a 100644
--- a/dart/site/try/build_try.gyp
+++ b/dart/site/try/build_try.gyp
@@ -20,6 +20,7 @@
'dependencies': [
'../../runtime/dart-runtime.gyp:dart',
'../../create_sdk.gyp:create_sdk_internal',
+ '../../pkg/pkg.gyp:pkg_packages',
],
'variables': {
'try_dart_static_files': [
@@ -100,6 +101,9 @@
# action is executed.
'<(PRODUCT_DIR)/dart-sdk/README',
+ # Ensure the packages directory is built first.
+ '<(SHARED_INTERMEDIATE_DIR)/packages.stamp',
+
'<!@(["python", "../../tools/list_files.py", "\\.dart$", "src"])',
],
'outputs': [
@@ -107,7 +111,7 @@
],
'action': [
'<(PRODUCT_DIR)/dart-sdk/bin/dart2js<(script_suffix)',
- '-p../../sdk/lib/_internal/',
+ '-p<(PRODUCT_DIR)/packages/',
'-Denable_ir=false',
'--show-package-warnings',
'src/leap.dart',
@@ -122,6 +126,9 @@
# action is executed.
'<(PRODUCT_DIR)/dart-sdk/README',
+ # Ensure the packages directory is built first.
+ '<(SHARED_INTERMEDIATE_DIR)/packages.stamp',
+
'<!@(["python", "../../tools/list_files.py", "\\.dart$", "src"])',
],
'outputs': [
@@ -129,7 +136,7 @@
],
'action': [
'<(PRODUCT_DIR)/dart-sdk/bin/dart2js<(script_suffix)',
- '-p../../sdk/lib/_internal/',
+ '-p<(PRODUCT_DIR)/packages/',
'-Denable_ir=false',
'--show-package-warnings',
'--trust-type-annotations',

Powered by Google App Engine
This is Rietveld 408576698