| Index: runtime/vm/BUILD.gn
|
| diff --git a/runtime/vm/BUILD.gn b/runtime/vm/BUILD.gn
|
| index 485a928134723e2572a25a5b9c1db0b0924b8218..cc12a0bd3b249191d02f64d78413499948b0118d 100644
|
| --- a/runtime/vm/BUILD.gn
|
| +++ b/runtime/vm/BUILD.gn
|
| @@ -41,6 +41,8 @@ static_library("libdart_platform") {
|
|
|
| vm_sources_list = processed_gypis.vm_sources
|
|
|
| +# TODO(rmacnak): Remove after updating all clients of libdart to use
|
| +# libdart_jit or libdart_precompiled_runtime.
|
| static_library("libdart_vm") {
|
| configs += [
|
| "..:dart_config",
|
| @@ -56,6 +58,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 +228,42 @@ 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") {
|
| +
|
| + # TODO(rmacnak): Remove after updating all clients of libdart to use
|
| + # libdart_jit or libdart_precompiled_runtime.
|
| + static_library("libdart_lib") {
|
| 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 = [ ".." ]
|
|
|