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

Unified Diff: utils/pub/pub.gyp

Issue 13966011: Put a snapshot of pub in the SDK. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Code review changes. Created 7 years, 8 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 | « 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: utils/pub/pub.gyp
diff --git a/utils/compiler/compiler.gyp b/utils/pub/pub.gyp
similarity index 52%
copy from utils/compiler/compiler.gyp
copy to utils/pub/pub.gyp
index 1755ce2520cf22e2ee2acb1e0befa90f4c03bac3..28af24f7f3cdc9427cd43d8337e87237cad1e0ff 100644
--- a/utils/compiler/compiler.gyp
+++ b/utils/pub/pub.gyp
@@ -1,34 +1,33 @@
-# Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
+# Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
# for details. All rights reserved. Use of this source code is governed by a
# BSD-style license that can be found in the LICENSE file.
{
- 'variables': {
- 'dart_dir': '../..',
- },
'targets': [
{
- 'target_name': 'dart2js',
+ 'target_name': 'pub',
'type': 'none',
'dependencies': [
'../../runtime/dart-runtime.gyp:dart',
],
'actions': [
{
- 'action_name': 'generate_dart2js_snapshot',
+ 'action_name': 'generate_pub_snapshot',
'inputs': [
'<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)',
+ '<!@(["python", "../../tools/list_files.py", "\\.dart$", "../../sdk/lib/_internal/pub"])',
'../../sdk/lib/_internal/libraries.dart',
- '<!@(["python", "../../tools/list_files.py", "\\.dart$", "../../sdk/lib/_internal/compiler", "../../runtime/lib"])',
+ '<!@(["python", "../../tools/list_files.py", "\\.dart$", "../../sdk/lib/_internal/compiler"])',
+ '<!@(["python", "../../tools/list_files.py", "\\.dart$", "../../pkg"])',
],
'outputs': [
- '<(SHARED_INTERMEDIATE_DIR)/utils_wrapper.dart.snapshot',
+ '<(SHARED_INTERMEDIATE_DIR)/pub.dart.snapshot',
],
'action': [
'<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)',
- 'create_snapshot.dart',
- '--output_dir=<(SHARED_INTERMEDIATE_DIR)',
- '--dart2js_main=sdk/lib/_internal/compiler/implementation/dart2js.dart',
+ '--package-root=<(PRODUCT_DIR)/packages/',
+ '--generate-script-snapshot=<(SHARED_INTERMEDIATE_DIR)/pub.dart.snapshot',
+ '../../sdk/lib/_internal/pub/bin/pub.dart',
],
},
],
« no previous file with comments | « tools/create_sdk.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698