OLD | NEW |
| (Empty) |
1 # Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | |
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. | |
4 | |
5 { | |
6 'targets': [ | |
7 { | |
8 'target_name': 'create_sdk_internal', | |
9 'type': 'none', | |
10 'dependencies': [ | |
11 'runtime/dart-runtime.gyp:dart', | |
12 'utils/compiler/compiler.gyp:dart2js', | |
13 'utils/pub/pub.gyp:pub', | |
14 'utils/dartfmt/dartfmt.gyp:dartfmt', | |
15 'utils/dartdoc/dartdoc.gyp:dartdoc', | |
16 'utils/analysis_server/analysis_server.gyp:analysis_server', | |
17 'utils/dartanalyzer/dartanalyzer.gyp:dartanalyzer', | |
18 'utils/dartdevc/dartdevc.gyp:dartdevc', | |
19 ], | |
20 'actions': [ | |
21 { | |
22 'action_name': 'create_sdk_py', | |
23 'inputs': [ | |
24 # Xcode can only handle a certain amount of files in one list | |
25 # (also depending on the length of the path from where you run). | |
26 '<!@(["python", "tools/list_files.py", "relative", "dart$",' | |
27 '"sdk/lib"])', | |
28 'sdk/lib/dart_client.platform', | |
29 'sdk/lib/dart_server.platform', | |
30 'sdk/lib/dart_shared.platform', | |
31 '<!@(["python", "tools/list_files.py", "relative", "", ' | |
32 '"sdk/lib/_internal/js_runtime/lib/preambles"])', | |
33 '<!@(["python", "tools/list_files.py", "relative", "", ' | |
34 '"sdk/bin"])', | |
35 'tools/create_sdk.py', | |
36 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', | |
37 '<(SHARED_INTERMEDIATE_DIR)/dart2js.dart.snapshot', | |
38 '<(SHARED_INTERMEDIATE_DIR)/utils_wrapper.dart.snapshot', | |
39 '<(SHARED_INTERMEDIATE_DIR)/pub.dart.snapshot', | |
40 '<(SHARED_INTERMEDIATE_DIR)/dartanalyzer.dart.snapshot', | |
41 '<(SHARED_INTERMEDIATE_DIR)/dartdevc.dart.snapshot', | |
42 '<(SHARED_INTERMEDIATE_DIR)/dartfmt.dart.snapshot', | |
43 '<(SHARED_INTERMEDIATE_DIR)/analysis_server.dart.snapshot', | |
44 '<(SHARED_INTERMEDIATE_DIR)/dartdoc.dart.snapshot', | |
45 '<(SHARED_INTERMEDIATE_DIR)/spec.sum', | |
46 '<(SHARED_INTERMEDIATE_DIR)/strong.sum', | |
47 'tools/VERSION' | |
48 ], | |
49 'outputs': [ | |
50 '<(PRODUCT_DIR)/dart-sdk/README', | |
51 ], | |
52 'action': [ | |
53 'python', | |
54 'tools/create_sdk.py', | |
55 '--sdk_output_dir', '<(PRODUCT_DIR)/dart-sdk', | |
56 '--snapshot_location', '<(SHARED_INTERMEDIATE_DIR)/' | |
57 ], | |
58 'message': 'Creating SDK.', | |
59 }, | |
60 ], | |
61 }, | |
62 ], | |
63 } | |
OLD | NEW |