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

Unified Diff: runtime/vm/BUILD.gn

Issue 1738503002: Add libdart_precompiled_runtime target to runtime/BUILD.gn (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: fix after merge Created 4 years, 10 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/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 2db9a6ee182af2b7b07563d8b9b52f2217119ef7..5f4978ba058819e5ff4a9aad3d0bf3f239e83144 100644
--- a/runtime/vm/BUILD.gn
+++ b/runtime/vm/BUILD.gn
@@ -62,6 +62,24 @@ static_library("libdart_vm") {
}
+static_library("libdart_vm_precompiled_runtime") {
+ configs += ["..:dart_config_no_precompiler"]
+ public_configs = [":libdart_vm_config"]
+ defines = ["DART_PRECOMPILED_RUNTIME"]
+ vm_sources_list = exec_script("../../tools/gypi_to_gn.py",
+ [rebase_path("vm_sources.gypi")],
+ "scope",
+ ["vm_sources.gypi"])
+
+ set_sources_assignment_filter(["*_test.cc", "*_test.h"])
+ sources = vm_sources_list.sources
+ - ["vtune.cc", "vtune.h"]
+ include_dirs = [
+ "..",
+ ]
+}
+
+
static_library("libdart_vm_nosnapshot") {
configs += ["..:dart_config"]
public_configs = [":libdart_vm_config"]
@@ -179,6 +197,14 @@ template("generate_core_libraries") {
"..",
]
}
+ static_library("libdart_lib_precompiled_runtime") {
+ configs += ["..:dart_config_no_precompiler"]
+ defines = ["DART_PRECOMPILED_RUNTIME"]
+ sources = libsources + [ "bootstrap_nocore.cc", ]
+ include_dirs = [
+ "..",
+ ]
+ }
}
« no previous file with comments | « runtime/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698