| OLD | NEW |
| 1 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 # Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 2 # for details. All rights reserved. Use of this source code is governed by a | 2 # for details. All rights reserved. Use of this source code is governed by a |
| 3 # BSD-style license that can be found in the LICENSE file. | 3 # BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 { | 5 { |
| 6 'variables': { | |
| 7 'dart_dir': '../..', | |
| 8 }, | |
| 9 'targets': [ | 6 'targets': [ |
| 10 { | 7 { |
| 11 'target_name': 'dart2js', | 8 'target_name': 'pub', |
| 12 'type': 'none', | 9 'type': 'none', |
| 13 'dependencies': [ | 10 'dependencies': [ |
| 14 '../../runtime/dart-runtime.gyp:dart', | 11 '../../runtime/dart-runtime.gyp:dart', |
| 15 ], | 12 ], |
| 16 'actions': [ | 13 'actions': [ |
| 17 { | 14 { |
| 18 'action_name': 'generate_dart2js_snapshot', | 15 'action_name': 'generate_pub_snapshot', |
| 19 'inputs': [ | 16 'inputs': [ |
| 20 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', | 17 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', |
| 18 '<!@(["python", "../../tools/list_files.py", "\\.dart$", "../../sdk/
lib/_internal/pub"])', |
| 21 '../../sdk/lib/_internal/libraries.dart', | 19 '../../sdk/lib/_internal/libraries.dart', |
| 22 '<!@(["python", "../../tools/list_files.py", "\\.dart$", "../../sdk/
lib/_internal/compiler", "../../runtime/lib"])', | 20 '<!@(["python", "../../tools/list_files.py", "\\.dart$", "../../sdk/
lib/_internal/compiler"])', |
| 21 '<!@(["python", "../../tools/list_files.py", "\\.dart$", "../../pkg"
])', |
| 23 ], | 22 ], |
| 24 'outputs': [ | 23 'outputs': [ |
| 25 '<(SHARED_INTERMEDIATE_DIR)/utils_wrapper.dart.snapshot', | 24 '<(SHARED_INTERMEDIATE_DIR)/pub.dart.snapshot', |
| 26 ], | 25 ], |
| 27 'action': [ | 26 'action': [ |
| 28 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', | 27 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', |
| 29 'create_snapshot.dart', | 28 '--package-root=<(PRODUCT_DIR)/packages/', |
| 30 '--output_dir=<(SHARED_INTERMEDIATE_DIR)', | 29 '--generate-script-snapshot=<(SHARED_INTERMEDIATE_DIR)/pub.dart.snap
shot', |
| 31 '--dart2js_main=sdk/lib/_internal/compiler/implementation/dart2js.da
rt', | 30 '../../sdk/lib/_internal/pub/bin/pub.dart', |
| 32 ], | 31 ], |
| 33 }, | 32 }, |
| 34 ], | 33 ], |
| 35 }, | 34 }, |
| 36 ], | 35 ], |
| 37 } | 36 } |
| OLD | NEW |