fa5ca85074
Review URL: https://chromiumcodereview.appspot.com//9985009 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6733 260f80e4-7a28-3924-810f-c04153c831b5
102 lines
2.6 KiB
Python
102 lines
2.6 KiB
Python
# Copyright (c) 2012, 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': [
|
|
{
|
|
'target_name': 'compiler',
|
|
'type': 'none',
|
|
'dependencies': [
|
|
'compiler/dart-compiler.gyp:dartc',
|
|
],
|
|
'actions': []
|
|
},
|
|
{
|
|
'target_name': 'runtime',
|
|
'type': 'none',
|
|
'dependencies': [
|
|
'runtime/dart-runtime.gyp:dart',
|
|
'runtime/dart-runtime.gyp:run_vm_tests',
|
|
'runtime/dart-runtime.gyp:process_test',
|
|
],
|
|
},
|
|
{
|
|
'target_name': 'create_sdk',
|
|
'type': 'none',
|
|
'dependencies': [
|
|
'runtime',
|
|
],
|
|
'actions': [
|
|
{
|
|
'action_name': 'create_sdk_py',
|
|
'inputs': [
|
|
'<!@(["python", "frog/scripts/list_frog_files.py", "frog"])',
|
|
# TODO(dgrove) - change these to dependencies and add dom
|
|
# dependences once issues 754 and 755 are fixed
|
|
'lib/html/html_frog.dart',
|
|
'lib/html/html_dartium.dart',
|
|
'lib/dom/dom.dart',
|
|
'lib/dom/src',
|
|
'frog/scripts/bootstrap/frogc',
|
|
'tools/create_sdk.py',
|
|
],
|
|
'outputs': [
|
|
'<(PRODUCT_DIR)/dart-sdk',
|
|
],
|
|
'action': [
|
|
'python',
|
|
'tools/create_sdk.py',
|
|
'<(PRODUCT_DIR)/dart-sdk',
|
|
],
|
|
'message': 'Creating SDK.',
|
|
},
|
|
],
|
|
},
|
|
{
|
|
'target_name': 'upload_sdk',
|
|
'type': 'none',
|
|
'dependencies': [
|
|
'create_sdk',
|
|
],
|
|
'actions': [
|
|
{
|
|
'action_name': 'upload_sdk_py',
|
|
'inputs': [
|
|
'<(PRODUCT_DIR)/dart-sdk',
|
|
'tools/upload_sdk.py',
|
|
],
|
|
'outputs': [
|
|
'<(PRODUCT_DIR)/upload_sdk',
|
|
],
|
|
'action': [
|
|
'python',
|
|
'tools/upload_sdk.py',
|
|
'<(PRODUCT_DIR)/dart-sdk'
|
|
],
|
|
},
|
|
],
|
|
},
|
|
{
|
|
'target_name': 'dart2js',
|
|
'type': 'none',
|
|
'dependencies': [
|
|
'utils/compiler/compiler.gyp:dart2js',
|
|
|
|
# TODO(ahe): Remove dependencies on frog and frogsh, they are
|
|
# just here to simplify
|
|
# frog/scripts/buildbot_annotated_steps.py temporarily.
|
|
'frog/dart-frog.gyp:frog',
|
|
'frog/dart-frog.gyp:frogsh',
|
|
],
|
|
},
|
|
{
|
|
'target_name': 'api_docs',
|
|
'type': 'none',
|
|
'dependencies': [
|
|
'utils/apidoc/apidoc.gyp:api_docs',
|
|
],
|
|
}
|
|
],
|
|
}
|