a12382dc22
R=hausner@google.com Review URL: https://codereview.chromium.org//16673006 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23831 260f80e4-7a28-3924-810f-c04153c831b5
38 lines
1.3 KiB
Python
38 lines
1.3 KiB
Python
# 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.
|
|
|
|
{
|
|
'targets': [
|
|
{
|
|
'target_name': 'pub',
|
|
'type': 'none',
|
|
'dependencies': [
|
|
'../../runtime/dart-runtime.gyp:dart',
|
|
'../../pkg/pkg.gyp:pkg_packages',
|
|
],
|
|
'actions': [
|
|
{
|
|
'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"])',
|
|
'<!@(["python", "../../tools/list_files.py", "\\.dart$", "../../pkg"])',
|
|
],
|
|
'outputs': [
|
|
'<(SHARED_INTERMEDIATE_DIR)/pub.dart.snapshot',
|
|
],
|
|
'action': [
|
|
'<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)',
|
|
'--package-root=<(PRODUCT_DIR)/packages/',
|
|
'--snapshot=<(SHARED_INTERMEDIATE_DIR)/pub.dart.snapshot',
|
|
'../../sdk/lib/_internal/pub/bin/pub.dart',
|
|
],
|
|
},
|
|
],
|
|
},
|
|
],
|
|
}
|