2014-03-31 10:59:49 +00:00
|
|
|
# Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
|
|
|
|
# for details. All rights reserved. Use of this source code is governed by a
|
|
|
|
# BSD-style license that can be found in the LICENSE file.
|
|
|
|
|
|
|
|
{
|
|
|
|
'targets': [
|
|
|
|
{
|
2014-03-31 11:35:55 +00:00
|
|
|
'target_name': 'create_sdk_internal',
|
2014-03-31 10:59:49 +00:00
|
|
|
'type': 'none',
|
|
|
|
'dependencies': [
|
|
|
|
'runtime/dart-runtime.gyp:dart',
|
|
|
|
'utils/compiler/compiler.gyp:dart2js',
|
|
|
|
'utils/pub/pub.gyp:pub',
|
|
|
|
'utils/dartfmt/dartfmt.gyp:dartfmt',
|
2015-08-19 15:02:41 +00:00
|
|
|
'utils/dartdoc/dartdoc.gyp:dartdoc',
|
2014-08-19 23:22:20 +00:00
|
|
|
'utils/analysis_server/analysis_server.gyp:analysis_server',
|
2014-04-30 23:09:14 +00:00
|
|
|
'utils/dartanalyzer/dartanalyzer.gyp:dartanalyzer',
|
2014-03-31 10:59:49 +00:00
|
|
|
],
|
|
|
|
'actions': [
|
|
|
|
{
|
|
|
|
'action_name': 'create_sdk_py',
|
|
|
|
'inputs': [
|
2015-11-02 12:02:25 +00:00
|
|
|
# Xcode can only handle a certain amount of files in one list
|
|
|
|
# (also depending on the length of the path from where you run).
|
2014-09-11 12:49:50 +00:00
|
|
|
'<!@(["python", "tools/list_files.py",'
|
2015-11-02 12:02:25 +00:00
|
|
|
'"dart$",'
|
2014-09-11 12:49:50 +00:00
|
|
|
'"sdk/lib"])',
|
2015-11-02 12:02:25 +00:00
|
|
|
'sdk/lib/dart2dart.platform',
|
|
|
|
'sdk/lib/dart_client.platform',
|
|
|
|
'sdk/lib/dart_server.platform',
|
|
|
|
'sdk/lib/dart_shared.platform',
|
2014-03-31 10:59:49 +00:00
|
|
|
'<!@(["python", "tools/list_files.py", "", '
|
2015-06-29 17:21:14 +00:00
|
|
|
'"sdk/lib/_internal/js_runtime/lib/preambles"])',
|
2014-03-31 10:59:49 +00:00
|
|
|
'<!@(["python", "tools/list_files.py", "", "sdk/bin"])',
|
|
|
|
'tools/create_sdk.py',
|
|
|
|
'<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)',
|
|
|
|
'<(SHARED_INTERMEDIATE_DIR)/dart2js.dart.snapshot',
|
|
|
|
'<(SHARED_INTERMEDIATE_DIR)/utils_wrapper.dart.snapshot',
|
|
|
|
'<(SHARED_INTERMEDIATE_DIR)/pub.dart.snapshot',
|
2014-04-30 23:09:14 +00:00
|
|
|
'<(SHARED_INTERMEDIATE_DIR)/dartanalyzer.dart.snapshot',
|
2014-03-31 10:59:49 +00:00
|
|
|
'<(SHARED_INTERMEDIATE_DIR)/dartfmt.dart.snapshot',
|
2014-08-19 23:22:20 +00:00
|
|
|
'<(SHARED_INTERMEDIATE_DIR)/analysis_server.dart.snapshot',
|
2015-08-19 15:02:41 +00:00
|
|
|
'<(SHARED_INTERMEDIATE_DIR)/dartdoc.dart.snapshot',
|
2016-02-20 03:06:22 +00:00
|
|
|
'<(SHARED_INTERMEDIATE_DIR)/spec.sum',
|
|
|
|
'<(SHARED_INTERMEDIATE_DIR)/strong.sum',
|
2014-03-31 10:59:49 +00:00
|
|
|
'tools/VERSION'
|
|
|
|
],
|
|
|
|
'outputs': [
|
|
|
|
'<(PRODUCT_DIR)/dart-sdk/README',
|
|
|
|
],
|
|
|
|
'action': [
|
|
|
|
'python',
|
|
|
|
'tools/create_sdk.py',
|
|
|
|
'--sdk_output_dir', '<(PRODUCT_DIR)/dart-sdk',
|
|
|
|
'--snapshot_location', '<(SHARED_INTERMEDIATE_DIR)/'
|
|
|
|
],
|
|
|
|
'message': 'Creating SDK.',
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
}
|