Chromium Code Reviews| Index: runtime/vm/BUILD.gn |
| diff --git a/runtime/vm/BUILD.gn b/runtime/vm/BUILD.gn |
| index 485a928134723e2572a25a5b9c1db0b0924b8218..e68639a69174acc759736226f7b320b5fa3135e9 100644 |
| --- a/runtime/vm/BUILD.gn |
| +++ b/runtime/vm/BUILD.gn |
| @@ -56,6 +56,20 @@ static_library("libdart_vm") { |
| include_dirs = [ ".." ] |
| } |
| +static_library("libdart_vm_jit") { |
| + configs += [ |
| + "..:dart_config", |
| + "..:dart_maybe_product_config", |
| + ] |
| + public_configs = [ ":libdart_vm_config" ] |
| + set_sources_assignment_filter([ |
| + "*_test.cc", |
| + "*_test.h", |
| + ]) |
| + sources = vm_sources_list |
| + include_dirs = [ ".." ] |
| +} |
| + |
| static_library("libdart_vm_precompiled_runtime") { |
| configs += [ |
| "..:dart_config", |
| @@ -212,41 +226,39 @@ template("generate_core_libraries") { |
| all_libsources = rebase_path(invoker.allsources, ".", "../lib") |
| - static_library("libdart_lib_nosnapshot") { |
| + static_library("libdart_lib_nosnapshot_with_precompiler") { |
| configs += [ |
| "..:dart_config", |
| "..:dart_maybe_product_config", |
| - "..:dart_maybe_precompiled_runtime_config", |
| + "..:dart_precompiler_config", |
| ] |
| deps = libdeps |
| sources = all_libsources + [ "bootstrap.cc" ] + liboutputs |
| include_dirs = [ ".." ] |
| } |
| - static_library("libdart_lib_nosnapshot_with_precompiler") { |
| + static_library("libdart_lib_with_precompiler") { |
| configs += [ |
| "..:dart_config", |
| "..:dart_maybe_product_config", |
| "..:dart_precompiler_config", |
| ] |
| deps = libdeps |
| - sources = all_libsources + [ "bootstrap.cc" ] + liboutputs |
| + sources = all_libsources + [ "bootstrap_nocore.cc" ] |
| include_dirs = [ ".." ] |
| } |
| - static_library("libdart_lib_with_precompiler") { |
| + static_library("libdart_lib") { |
|
zra
2017/04/10 19:50:02
Is this still needed?
rmacnak
2017/04/10 20:30:11
This can be removed after clients of libdart are u
|
| configs += [ |
| "..:dart_config", |
| "..:dart_maybe_product_config", |
| - "..:dart_precompiler_config", |
| + "..:dart_maybe_precompiled_runtime_config", |
| ] |
| - deps = libdeps |
| sources = all_libsources + [ "bootstrap_nocore.cc" ] |
| include_dirs = [ ".." ] |
| } |
| - static_library("libdart_lib") { |
| + static_library("libdart_lib_jit") { |
| configs += [ |
| "..:dart_config", |
| "..:dart_maybe_product_config", |
| - "..:dart_maybe_precompiled_runtime_config", |
| ] |
| sources = all_libsources + [ "bootstrap_nocore.cc" ] |
| include_dirs = [ ".." ] |