| 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',
|
| ],
|
| },
|
| ],
|
|
|