Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(26)

Unified Diff: runtime/vm/BUILD.gn

Issue 2814513003: GN: Add libdart_jit and dart_api. (Closed)
Patch Set: . Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/bin/BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 = [ ".." ]
« no previous file with comments | « runtime/bin/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698