Chromium Code Reviews| 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 '<!@(["python", "tools/list_files.py", "\\.dart$", "sdk/lib"])', | 23 # This is neccessary because we have all the pub test files inside |
|
kasperl
2014/09/11 12:47:30
Extend comment to explain what the regexp does?
ricow1
2014/09/11 12:49:38
Done.
| |
| 24 # the pub directory instead of in tests/pub. xcode can only handle | |
|
kasperl
2014/09/11 12:47:30
xcode -> Xcode
ricow1
2014/09/11 12:49:38
Done.
| |
| 25 # a certain amount of files in one list (also depending on the | |
| 26 # lengt of the path from where you run). | |
|
kasperl
2014/09/11 12:47:30
lengt -> length
ricow1
2014/09/11 12:49:38
Done.
| |
| 27 '<!@(["python", "tools/list_files.py",' | |
| 28 '"^(?!.*pub/test)(?!.*pub_generated/test).*dart$",' | |
| 29 '"sdk/lib"])', | |
| 24 '<!@(["python", "tools/list_files.py", "", ' | 30 '<!@(["python", "tools/list_files.py", "", ' |
| 25 '"sdk/lib/_internal/compiler/js_lib/preambles"])', | 31 '"sdk/lib/_internal/compiler/js_lib/preambles"])', |
| 26 '<!@(["python", "tools/list_files.py", "", "sdk/bin"])', | 32 '<!@(["python", "tools/list_files.py", "", "sdk/bin"])', |
| 27 'tools/create_sdk.py', | 33 'tools/create_sdk.py', |
| 28 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', | 34 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', |
| 29 '<(SHARED_INTERMEDIATE_DIR)/dart2js.dart.snapshot', | 35 '<(SHARED_INTERMEDIATE_DIR)/dart2js.dart.snapshot', |
| 30 '<(SHARED_INTERMEDIATE_DIR)/utils_wrapper.dart.snapshot', | 36 '<(SHARED_INTERMEDIATE_DIR)/utils_wrapper.dart.snapshot', |
| 31 '<(SHARED_INTERMEDIATE_DIR)/pub.dart.snapshot', | 37 '<(SHARED_INTERMEDIATE_DIR)/pub.dart.snapshot', |
| 32 '<(SHARED_INTERMEDIATE_DIR)/dartanalyzer.dart.snapshot', | 38 '<(SHARED_INTERMEDIATE_DIR)/dartanalyzer.dart.snapshot', |
| 33 '<(SHARED_INTERMEDIATE_DIR)/dartfmt.dart.snapshot', | 39 '<(SHARED_INTERMEDIATE_DIR)/dartfmt.dart.snapshot', |
| 34 '<(SHARED_INTERMEDIATE_DIR)/core_stubs/dart_io.dart', | 40 '<(SHARED_INTERMEDIATE_DIR)/core_stubs/dart_io.dart', |
| 35 '<(SHARED_INTERMEDIATE_DIR)/analysis_server.dart.snapshot', | 41 '<(SHARED_INTERMEDIATE_DIR)/analysis_server.dart.snapshot', |
| 36 'tools/VERSION' | 42 'tools/VERSION' |
| 37 ], | 43 ], |
| 38 'outputs': [ | 44 'outputs': [ |
| 39 '<(PRODUCT_DIR)/dart-sdk/README', | 45 '<(PRODUCT_DIR)/dart-sdk/README', |
| 40 ], | 46 ], |
| 41 'action': [ | 47 'action': [ |
| 42 'python', | 48 'python', |
| 43 'tools/create_sdk.py', | 49 'tools/create_sdk.py', |
| 44 '--sdk_output_dir', '<(PRODUCT_DIR)/dart-sdk', | 50 '--sdk_output_dir', '<(PRODUCT_DIR)/dart-sdk', |
| 45 '--snapshot_location', '<(SHARED_INTERMEDIATE_DIR)/' | 51 '--snapshot_location', '<(SHARED_INTERMEDIATE_DIR)/' |
| 46 ], | 52 ], |
| 47 'message': 'Creating SDK.', | 53 'message': 'Creating SDK.', |
| 48 }, | 54 }, |
| 49 ], | 55 ], |
| 50 }, | 56 }, |
| 51 ], | 57 ], |
| 52 } | 58 } |
| OLD | NEW |