OLD | NEW |
1 # Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 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 | 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': 'create_sdk_internal', | 8 'target_name': 'create_sdk_internal', |
9 'type': 'none', | 9 'type': 'none', |
10 'dependencies': [ | 10 'dependencies': [ |
11 'runtime/dart-runtime.gyp:dart', | 11 'runtime/dart-runtime.gyp:dart', |
12 'utils/compiler/compiler.gyp:dart2js', | 12 'utils/compiler/compiler.gyp:dart2js', |
13 'utils/pub/pub.gyp:pub', | 13 'utils/pub/pub.gyp:pub', |
14 'utils/pub/pub.gyp:core_stubs', | |
15 'utils/dartfmt/dartfmt.gyp:dartfmt', | 14 'utils/dartfmt/dartfmt.gyp:dartfmt', |
16 'utils/analysis_server/analysis_server.gyp:analysis_server', | 15 'utils/analysis_server/analysis_server.gyp:analysis_server', |
17 'utils/dartanalyzer/dartanalyzer.gyp:dartanalyzer', | 16 'utils/dartanalyzer/dartanalyzer.gyp:dartanalyzer', |
18 ], | 17 ], |
19 'actions': [ | 18 'actions': [ |
20 { | 19 { |
21 'action_name': 'create_sdk_py', | 20 'action_name': 'create_sdk_py', |
22 'inputs': [ | 21 'inputs': [ |
23 # This is neccessary because we have all the pub test files inside | 22 # This is neccessary because we have all the pub test files inside |
24 # the pub directory instead of in tests/pub. Xcode can only handle | 23 # the pub directory instead of in tests/pub. Xcode can only handle |
25 # a certain amount of files in one list (also depending on the | 24 # a certain amount of files in one list (also depending on the |
26 # length of the path from where you run). This regexp excludes | 25 # length of the path from where you run). This regexp excludes |
27 # pub/test | 26 # pub/test |
28 '<!@(["python", "tools/list_files.py",' | 27 '<!@(["python", "tools/list_files.py",' |
29 '"^(?!.*pub/test).*dart$",' | 28 '"^(?!.*pub/test).*dart$",' |
30 '"sdk/lib"])', | 29 '"sdk/lib"])', |
31 '<!@(["python", "tools/list_files.py", "", ' | 30 '<!@(["python", "tools/list_files.py", "", ' |
32 '"sdk/lib/_internal/compiler/js_lib/preambles"])', | 31 '"sdk/lib/_internal/compiler/js_lib/preambles"])', |
33 '<!@(["python", "tools/list_files.py", "", "sdk/bin"])', | 32 '<!@(["python", "tools/list_files.py", "", "sdk/bin"])', |
34 'tools/create_sdk.py', | 33 'tools/create_sdk.py', |
35 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', | 34 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', |
36 '<(SHARED_INTERMEDIATE_DIR)/dart2js.dart.snapshot', | 35 '<(SHARED_INTERMEDIATE_DIR)/dart2js.dart.snapshot', |
37 '<(SHARED_INTERMEDIATE_DIR)/utils_wrapper.dart.snapshot', | 36 '<(SHARED_INTERMEDIATE_DIR)/utils_wrapper.dart.snapshot', |
38 '<(SHARED_INTERMEDIATE_DIR)/pub.dart.snapshot', | 37 '<(SHARED_INTERMEDIATE_DIR)/pub.dart.snapshot', |
39 '<(SHARED_INTERMEDIATE_DIR)/dartanalyzer.dart.snapshot', | 38 '<(SHARED_INTERMEDIATE_DIR)/dartanalyzer.dart.snapshot', |
40 '<(SHARED_INTERMEDIATE_DIR)/dartfmt.dart.snapshot', | 39 '<(SHARED_INTERMEDIATE_DIR)/dartfmt.dart.snapshot', |
41 '<(SHARED_INTERMEDIATE_DIR)/core_stubs/dart_io.dart', | |
42 '<(SHARED_INTERMEDIATE_DIR)/analysis_server.dart.snapshot', | 40 '<(SHARED_INTERMEDIATE_DIR)/analysis_server.dart.snapshot', |
43 'tools/VERSION' | 41 'tools/VERSION' |
44 ], | 42 ], |
45 'outputs': [ | 43 'outputs': [ |
46 '<(PRODUCT_DIR)/dart-sdk/README', | 44 '<(PRODUCT_DIR)/dart-sdk/README', |
47 ], | 45 ], |
48 'action': [ | 46 'action': [ |
49 'python', | 47 'python', |
50 'tools/create_sdk.py', | 48 'tools/create_sdk.py', |
51 '--sdk_output_dir', '<(PRODUCT_DIR)/dart-sdk', | 49 '--sdk_output_dir', '<(PRODUCT_DIR)/dart-sdk', |
52 '--snapshot_location', '<(SHARED_INTERMEDIATE_DIR)/' | 50 '--snapshot_location', '<(SHARED_INTERMEDIATE_DIR)/' |
53 ], | 51 ], |
54 'message': 'Creating SDK.', | 52 'message': 'Creating SDK.', |
55 }, | 53 }, |
56 ], | 54 ], |
57 }, | 55 }, |
58 ], | 56 ], |
59 } | 57 } |
OLD | NEW |