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

Unified Diff: runtime/vm/BUILD.gn

Issue 1396603002: Properly split dart:_vmservice across sdk and runtime (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 2 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/vmservice_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 26adb0a57626c3f8c7f72dc340dbec11108664a1..0afda713a3f22cfca4f8c2963b540bb6e7134193 100644
--- a/runtime/vm/BUILD.gn
+++ b/runtime/vm/BUILD.gn
@@ -47,7 +47,6 @@ static_library("libdart_platform") {
static_library("libdart_vm") {
configs += ["..:dart_config"]
public_configs = [":libdart_vm_config"]
- deps = [ ":generate_service_cc_file", ]
vm_sources_list = exec_script("../../tools/gypi_to_gn.py",
[rebase_path("vm_sources.gypi")],
@@ -56,7 +55,6 @@ static_library("libdart_vm") {
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 = [
"..",
@@ -67,7 +65,6 @@ 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")],
@@ -76,7 +73,6 @@ static_library("libdart_vm_nosnapshot") {
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 = [
"..",
@@ -198,30 +194,6 @@ generate_core_libraries("core_libraries") {
["math", "math"],
["mirrors", "mirrors"],
["typed_data", "typed_data"],
+ ["_vmservice", "vmservice"],
]
}
-
-
-action("generate_service_cc_file") {
- visibility = [ ":*" ] # Only targets in this file can see this.
- script = "../tools/create_resources.py"
- sources = [
- "service/client.dart",
- "service/constants.dart",
- "service/message.dart",
- "service/message_router.dart",
- "service/running_isolate.dart",
- "service/running_isolates.dart",
- "service/vmservice.dart",
- ]
-
- output = "$target_gen_dir/service_gen.cc"
- outputs = [ output, ]
-
- args = [
- "--output", rebase_path(output, root_build_dir),
- "--outer_namespace", "dart",
- "--table_name", "service",
- "--root_prefix", rebase_path("service/", root_build_dir)] +
- rebase_path(sources, root_build_dir)
-}
« no previous file with comments | « runtime/lib/vmservice_sources.gypi ('k') | runtime/vm/bootstrap.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698