2012-03-17 16:25:41 +00:00
|
|
|
# Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
2011-10-05 05:04:26 +00:00
|
|
|
# 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': [
|
2013-04-02 20:52:03 +00:00
|
|
|
{
|
2013-04-08 13:58:16 +00:00
|
|
|
'target_name': 'most',
|
2013-04-02 20:52:03 +00:00
|
|
|
'type': 'none',
|
|
|
|
'dependencies': [
|
2014-08-19 23:22:20 +00:00
|
|
|
'analysis_server',
|
2014-03-31 11:25:50 +00:00
|
|
|
'create_sdk',
|
2013-04-02 20:52:03 +00:00
|
|
|
'dart2js',
|
2014-05-01 22:12:34 +00:00
|
|
|
'dartanalyzer',
|
2016-03-18 20:09:11 +00:00
|
|
|
'dartdevc',
|
2013-04-02 20:52:03 +00:00
|
|
|
'runtime',
|
|
|
|
'samples',
|
|
|
|
],
|
|
|
|
},
|
2011-10-05 05:04:26 +00:00
|
|
|
{
|
2012-11-19 11:35:57 +00:00
|
|
|
# This is the target that is built on the VM build bots. It
|
|
|
|
# must depend on anything that is required by the VM test
|
|
|
|
# suites.
|
2011-10-05 05:04:26 +00:00
|
|
|
'target_name': 'runtime',
|
|
|
|
'type': 'none',
|
|
|
|
'dependencies': [
|
|
|
|
'runtime/dart-runtime.gyp:dart',
|
2016-04-21 09:40:19 +00:00
|
|
|
'runtime/dart-runtime.gyp:dart_bootstrap#host',
|
|
|
|
'runtime/dart-runtime.gyp:run_vm_tests',
|
|
|
|
'runtime/dart-runtime.gyp:process_test',
|
|
|
|
'runtime/dart-runtime.gyp:test_extension',
|
|
|
|
'runtime/dart-runtime.gyp:sample_extension',
|
2016-10-27 08:09:22 +00:00
|
|
|
'runtime/dart-runtime.gyp:generate_patched_sdk#host',
|
2016-04-21 09:40:19 +00:00
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
# This is the target that is built on the VM build bots. It
|
|
|
|
# must depend on anything that is required by the VM test
|
|
|
|
# suites.
|
|
|
|
'target_name': 'runtime_precompiled',
|
|
|
|
'type': 'none',
|
|
|
|
'dependencies': [
|
2016-01-19 21:59:49 +00:00
|
|
|
'runtime/dart-runtime.gyp:dart_precompiled_runtime',
|
2016-03-03 22:53:59 +00:00
|
|
|
'runtime/dart-runtime.gyp:dart_bootstrap#host',
|
2016-10-27 08:09:22 +00:00
|
|
|
'runtime/dart-runtime.gyp:generate_patched_sdk#host',
|
2016-04-21 09:40:19 +00:00
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
# This is the target that is built on the VM build bots. It
|
|
|
|
# must depend on anything that is required by the VM test
|
|
|
|
# suites.
|
|
|
|
'target_name': 'runtime_and_noopt',
|
|
|
|
'type': 'none',
|
|
|
|
'dependencies': [
|
|
|
|
'runtime/dart-runtime.gyp:dart',
|
|
|
|
'runtime/dart-runtime.gyp:dart_noopt',
|
|
|
|
'runtime/dart-runtime.gyp:dart_bootstrap#host',
|
2011-10-05 05:04:26 +00:00
|
|
|
'runtime/dart-runtime.gyp:run_vm_tests',
|
2011-10-13 12:13:44 +00:00
|
|
|
'runtime/dart-runtime.gyp:process_test',
|
Simplifies standalone VM Android build.
This change also avoids the need to
do another 'gclient runhooks' when switching
between Android and Linux builds, and between
IA32 and ARM Android builds.
gyp does not allow 'libraries' sections inside of
configurations. Therefore, since some architecture
specific paths, libraries, etc. must be specified
on the Android NDK's linker command line, to avoid
re-gyping when switching between Android IA32 and ARM,
this change moves the architecture specific linker
flags to a script, android_link.py.
To avoid re-gyping when swtiching between Linux and
Android, this change creates new configurations
that specify the target OS as well as the the target
architecture, e.g. ReleaseLinuxARM or ReleaseAndroidARM
instead of ReleaseARM.
This change also adds a --toolchain flag to build.py,
and removes obsoleted logic for setting up the Android
build.
R=iposva@google.com
Review URL: https://codereview.chromium.org//105223002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31340 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-20 17:51:34 +00:00
|
|
|
'runtime/dart-runtime.gyp:test_extension',
|
|
|
|
'runtime/dart-runtime.gyp:sample_extension',
|
2016-10-27 08:09:22 +00:00
|
|
|
'runtime/dart-runtime.gyp:generate_patched_sdk#host',
|
2013-05-29 09:43:10 +00:00
|
|
|
],
|
2011-10-05 05:04:26 +00:00
|
|
|
},
|
2016-10-27 08:09:22 +00:00
|
|
|
|
2014-03-31 11:25:50 +00:00
|
|
|
{
|
|
|
|
'target_name': 'create_sdk',
|
|
|
|
'type': 'none',
|
|
|
|
'dependencies': [
|
2014-03-31 11:35:55 +00:00
|
|
|
'create_sdk.gyp:create_sdk_internal',
|
2014-03-31 11:25:50 +00:00
|
|
|
],
|
|
|
|
},
|
2012-03-17 16:25:41 +00:00
|
|
|
{
|
|
|
|
'target_name': 'dart2js',
|
|
|
|
'type': 'none',
|
|
|
|
'dependencies': [
|
|
|
|
'utils/compiler/compiler.gyp:dart2js',
|
|
|
|
],
|
|
|
|
},
|
2013-02-21 08:25:18 +00:00
|
|
|
{
|
2014-04-30 23:09:14 +00:00
|
|
|
'target_name': 'dartanalyzer',
|
2013-02-21 08:25:18 +00:00
|
|
|
'type': 'none',
|
|
|
|
'dependencies': [
|
2014-04-30 23:09:14 +00:00
|
|
|
'utils/dartanalyzer/dartanalyzer.gyp:dartanalyzer',
|
2013-02-21 08:25:18 +00:00
|
|
|
],
|
|
|
|
},
|
2016-03-18 20:09:11 +00:00
|
|
|
{
|
|
|
|
'target_name': 'dartdevc',
|
|
|
|
'type': 'none',
|
|
|
|
'dependencies': [
|
|
|
|
'utils/dartdevc/dartdevc.gyp:dartdevc',
|
|
|
|
],
|
|
|
|
},
|
2014-02-10 19:03:08 +00:00
|
|
|
{
|
|
|
|
'target_name': 'dartfmt',
|
|
|
|
'type': 'none',
|
|
|
|
'dependencies': [
|
|
|
|
'utils/dartfmt/dartfmt.gyp:dartfmt',
|
|
|
|
],
|
|
|
|
},
|
2014-08-19 23:22:20 +00:00
|
|
|
{
|
|
|
|
'target_name': 'analysis_server',
|
|
|
|
'type': 'none',
|
|
|
|
'dependencies': [
|
|
|
|
'utils/analysis_server/analysis_server.gyp:analysis_server',
|
|
|
|
],
|
|
|
|
},
|
2012-10-30 11:42:42 +00:00
|
|
|
{
|
2012-11-19 11:35:57 +00:00
|
|
|
# This is the target that is built on the dart2js build bots.
|
|
|
|
# It must depend on anything that is required by the dart2js
|
|
|
|
# test suites.
|
2012-10-30 11:42:42 +00:00
|
|
|
'target_name': 'dart2js_bot',
|
|
|
|
'type': 'none',
|
2014-05-08 06:49:20 +00:00
|
|
|
'dependencies': [
|
|
|
|
'create_sdk',
|
|
|
|
],
|
|
|
|
},
|
2012-08-22 11:10:07 +00:00
|
|
|
{
|
|
|
|
'target_name': 'samples',
|
|
|
|
'type': 'none',
|
2013-09-26 00:19:04 +00:00
|
|
|
'dependencies': [],
|
2012-11-30 00:10:27 +00:00
|
|
|
'conditions': [
|
2013-01-22 16:28:13 +00:00
|
|
|
['OS!="android"', {
|
2013-01-16 21:17:52 +00:00
|
|
|
'dependencies': [
|
2013-11-07 01:22:43 +00:00
|
|
|
'runtime/dart-runtime.gyp:sample_extension',
|
2013-01-16 21:17:52 +00:00
|
|
|
],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
]
|
2012-08-22 11:10:07 +00:00
|
|
|
},
|
2011-10-05 05:04:26 +00:00
|
|
|
],
|
|
|
|
}
|