mirror of
https://github.com/dart-lang/sdk
synced 2024-09-05 00:13:50 +00:00
VM: Split GYP build target 'runtime' to speedup SDK build times.
This speeds up a regular full 'runtime' build on my Linux box by around 40% by avoiding to build the precompiled runtime by default (measured user-time) 'runtime_precompiled' also builds 35% faster than 'runtime' before. BUG= R=iposva@google.com, rmacnak@google.com Review URL: https://codereview.chromium.org/1904553004 .
This commit is contained in:
parent
7f4e76a404
commit
9ff22315d8
29
dart.gyp
29
dart.gyp
|
@ -26,9 +26,36 @@
|
|||
'type': 'none',
|
||||
'dependencies': [
|
||||
'runtime/dart-runtime.gyp:dart',
|
||||
'runtime/dart-runtime.gyp:dart_noopt',
|
||||
'runtime/dart-runtime.gyp:dart_bootstrap#host',
|
||||
'runtime/dart-runtime.gyp:run_vm_tests',
|
||||
'runtime/dart-runtime.gyp:process_test',
|
||||
'packages',
|
||||
'runtime/dart-runtime.gyp:test_extension',
|
||||
'runtime/dart-runtime.gyp:sample_extension',
|
||||
],
|
||||
},
|
||||
{
|
||||
# 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': [
|
||||
'runtime/dart-runtime.gyp:dart_precompiled_runtime',
|
||||
'runtime/dart-runtime.gyp:dart_bootstrap#host',
|
||||
'packages',
|
||||
],
|
||||
},
|
||||
{
|
||||
# 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',
|
||||
'runtime/dart-runtime.gyp:run_vm_tests',
|
||||
'runtime/dart-runtime.gyp:process_test',
|
||||
'packages',
|
||||
|
|
|
@ -17,8 +17,6 @@
|
|||
|
||||
'libdart_deps': ['libdart_lib_nosnapshot', 'libdart_lib',
|
||||
'libdart_vm_nosnapshot', 'libdart_vm',
|
||||
'libdart_vm_noopt',
|
||||
'libdart_vm_precompiled_runtime',
|
||||
'libdouble_conversion',],
|
||||
},
|
||||
'targets': [
|
||||
|
|
Loading…
Reference in a new issue