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

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
« runtime/BUILD.gn ('K') | « 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..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 = [ ".." ]
« runtime/BUILD.gn ('K') | « runtime/bin/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698