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

Unified Diff: runtime/vm/BUILD.gn

Issue 1142293007: Update GN build files for Mojo roll (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 7 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/lib/profiler_sources.gypi ('k') | runtime/vm/bootstrap.h » ('j') | 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 27189b0e6c1d94913ec85e0481b29238767cee22..601f041ea4f71a6afd55c6b6aa6fa01158673cf8 100644
--- a/runtime/vm/BUILD.gn
+++ b/runtime/vm/BUILD.gn
@@ -64,6 +64,26 @@ static_library("libdart_vm") {
}
+static_library("libdart_vm_nosnapshot") {
+ configs += ["..:dart_config"]
+ public_configs = [":libdart_vm_config"]
+ deps = [ ":generate_service_cc_file", ]
+ defines = [ "DART_NO_SNAPSHOT" ]
+ 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
+ + ["$target_gen_dir/service_gen.cc",]
+ - ["vtune.cc", "vtune.h"]
+ include_dirs = [
+ "..",
+ ]
+}
+
+
template("generate_library_source") {
assert(defined(invoker.libname), "Need libname in $target_name")
assert(defined(invoker.filename), "Need a filename in $target_name")
@@ -115,7 +135,7 @@ template("generate_library_source") {
#
# The template iterates over the list, and generates generate_library_source
# actions for each. After that, it generates targets to compile the generated
-# sources to make libdart_lib_withcore and libdart_lib.
+# sources to make libdart_lib_nosnapshot and libdart_lib.
template("generate_core_libraries") {
assert(defined(invoker.sources), "Need sources in $target_name")
liboutputs = []
@@ -148,7 +168,7 @@ template("generate_core_libraries") {
":generate_${filename}_patch_cc_file"]
}
- static_library("libdart_lib_withcore") {
+ static_library("libdart_lib_nosnapshot") {
configs += ["..:dart_config"]
deps = libdeps
sources = libsources + ["bootstrap.cc"] + liboutputs
@@ -172,7 +192,7 @@ generate_core_libraries("core_libraries") {
["core", "core"],
["collection", "collection"],
["convert", "convert"],
- ["debugger", "debugger"],
+ ["developer", "developer"],
["_internal", "internal"],
["isolate", "isolate"],
["math", "math"],
« no previous file with comments | « runtime/lib/profiler_sources.gypi ('k') | runtime/vm/bootstrap.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698