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', | 14 'utils/pub/pub.gyp:core_stubs', |
15 'utils/dartfmt/dartfmt.gyp:dartfmt', | 15 'utils/dartfmt/dartfmt.gyp:dartfmt', |
16 'utils/analysis_server/analysis_server.gyp:analysis_server', | 16 'utils/analysis_server/analysis_server.gyp:analysis_server', |
17 'utils/dartanalyzer/dartanalyzer.gyp:dartanalyzer', | 17 'utils/dartanalyzer/dartanalyzer.gyp:dartanalyzer', |
18 ], | 18 ], |
19 'actions': [ | 19 'actions': [ |
20 { | 20 { |
21 'action_name': 'create_sdk_py', | 21 'action_name': 'create_sdk_py', |
22 'inputs': [ | 22 'inputs': [ |
23 # This is neccessary because we have all the pub test files inside | 23 # 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 | 24 # 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 | 25 # a certain amount of files in one list (also depending on the |
26 # length of the path from where you run). This regexp excludes | 26 # length of the path from where you run). This regexp excludes |
27 # pub/test | 27 # pub/test and pub_generated/test |
28 '<!@(["python", "tools/list_files.py",' | 28 '<!@(["python", "tools/list_files.py",' |
29 '"^(?!.*pub/test).*dart$",' | 29 '"^(?!.*pub/test)(?!.*pub_generated/test).*dart$",' |
30 '"sdk/lib"])', | 30 '"sdk/lib"])', |
31 '<!@(["python", "tools/list_files.py", "", ' | 31 '<!@(["python", "tools/list_files.py", "", ' |
32 '"sdk/lib/_internal/compiler/js_lib/preambles"])', | 32 '"sdk/lib/_internal/compiler/js_lib/preambles"])', |
33 '<!@(["python", "tools/list_files.py", "", "sdk/bin"])', | 33 '<!@(["python", "tools/list_files.py", "", "sdk/bin"])', |
34 'tools/create_sdk.py', | 34 'tools/create_sdk.py', |
35 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', | 35 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', |
36 '<(SHARED_INTERMEDIATE_DIR)/dart2js.dart.snapshot', | 36 '<(SHARED_INTERMEDIATE_DIR)/dart2js.dart.snapshot', |
37 '<(SHARED_INTERMEDIATE_DIR)/utils_wrapper.dart.snapshot', | 37 '<(SHARED_INTERMEDIATE_DIR)/utils_wrapper.dart.snapshot', |
38 '<(SHARED_INTERMEDIATE_DIR)/pub.dart.snapshot', | 38 '<(SHARED_INTERMEDIATE_DIR)/pub.dart.snapshot', |
39 '<(SHARED_INTERMEDIATE_DIR)/dartanalyzer.dart.snapshot', | 39 '<(SHARED_INTERMEDIATE_DIR)/dartanalyzer.dart.snapshot', |
(...skipping 10 matching lines...) Expand all Loading... |
50 'tools/create_sdk.py', | 50 'tools/create_sdk.py', |
51 '--sdk_output_dir', '<(PRODUCT_DIR)/dart-sdk', | 51 '--sdk_output_dir', '<(PRODUCT_DIR)/dart-sdk', |
52 '--snapshot_location', '<(SHARED_INTERMEDIATE_DIR)/' | 52 '--snapshot_location', '<(SHARED_INTERMEDIATE_DIR)/' |
53 ], | 53 ], |
54 'message': 'Creating SDK.', | 54 'message': 'Creating SDK.', |
55 }, | 55 }, |
56 ], | 56 ], |
57 }, | 57 }, |
58 ], | 58 ], |
59 } | 59 } |
OLD | NEW |