OLD | NEW |
1 # Copyright (c) 2013, 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 'targets': [ | 6 'targets': [ |
7 { | 7 { |
8 'target_name': 'pub', | 8 'target_name': 'pub', |
9 'type': 'none', | 9 'type': 'none', |
10 'dependencies': [ | 10 'dependencies': [ |
11 '../../runtime/dart-runtime.gyp:dart', | 11 '../../runtime/dart-runtime.gyp:dart', |
12 '../../pkg/pkg.gyp:pkg_packages', | 12 '../../pkg/pkg.gyp:pkg_packages', |
13 ], | 13 ], |
14 'actions': [ | 14 'actions': [ |
15 { | 15 { |
16 'action_name': 'generate_pub_snapshot', | 16 'action_name': 'generate_pub_snapshot', |
17 'inputs': [ | 17 'inputs': [ |
18 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', | 18 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', |
19 '<!@(["python", "../../tools/list_files.py", "\\.dart$", "../../sdk/
lib/_internal/pub"])', | 19 '<!@(["python", "../../tools/list_files.py", "\\.dart$", "../../sdk/
lib/_internal/pub"])', |
20 '../../sdk/lib/_internal/libraries.dart', | 20 '../../sdk/lib/_internal/libraries.dart', |
21 '<!@(["python", "../../tools/list_files.py", "\\.dart$", "../../sdk/
lib/_internal/compiler"])', | 21 '<!@(["python", "../../tools/list_files.py", "\\.dart$", "../../sdk/
lib/_internal/compiler"])', |
22 '<!@(["python", "../../tools/list_files.py", "\\.dart$", "../../pkg"
])', | 22 '<!@(["python", "../../tools/list_files.py", "\\.dart$", "../../pkg"
])', |
23 ], | 23 ], |
24 'outputs': [ | 24 'outputs': [ |
25 '<(SHARED_INTERMEDIATE_DIR)/pub.dart.snapshot', | 25 '<(SHARED_INTERMEDIATE_DIR)/pub.dart.snapshot', |
26 ], | 26 ], |
27 'action': [ | 27 'action': [ |
28 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', | 28 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', |
29 '--package-root=<(PRODUCT_DIR)/packages/', | 29 '--package-root=<(PRODUCT_DIR)/packages/', |
30 '--generate-script-snapshot=<(SHARED_INTERMEDIATE_DIR)/pub.dart.snap
shot', | 30 '--snapshot=<(SHARED_INTERMEDIATE_DIR)/pub.dart.snapshot', |
31 '../../sdk/lib/_internal/pub/bin/pub.dart', | 31 '../../sdk/lib/_internal/pub/bin/pub.dart', |
32 ], | 32 ], |
33 }, | 33 }, |
34 ], | 34 ], |
35 }, | 35 }, |
36 ], | 36 ], |
37 } | 37 } |
OLD | NEW |