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

Unified Diff: tonic/BUILD.gn

Issue 1244983003: Make mojo dart controller depend on tonic and get building without wtf (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 5 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 | « mojo/dart/embedder/BUILD.gn ('k') | tonic/dart_converter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tonic/BUILD.gn
diff --git a/tonic/BUILD.gn b/tonic/BUILD.gn
index 4f37841a6bbd2226783d0f4052f801107eeac263..b3e7dd678321cacfc832bccd284506e1577b8d78 100644
--- a/tonic/BUILD.gn
+++ b/tonic/BUILD.gn
@@ -39,14 +39,8 @@ source_set("tonic") {
"dart_snapshot_loader.h",
"dart_state.cc",
"dart_state.h",
- "dart_string.cc",
- "dart_string.h",
- "dart_string_cache.cc",
- "dart_string_cache.h",
"dart_timer_heap.cc",
"dart_timer_heap.h",
- "dart_value.cc",
- "dart_value.h",
"dart_wrappable.cc",
"dart_wrappable.h",
"dart_wrapper_info.h",
@@ -59,7 +53,31 @@ source_set("tonic") {
"//base",
"//mojo/common",
"//mojo/public/cpp/system",
- "//sky/engine/wtf",
+ ]
+
+ public_deps = [
+ "//dart/runtime:libdart",
+ "//dart/runtime/vm:libdart_platform",
+ ]
+}
+
+# TODO(johnmccutchan): Move these sources into sky_engine and remove this.
+source_set("tonic_wtf") {
+ sources = [
+ "dart_converter_wtf.cc",
+ "dart_converter_wtf.h",
+ "dart_string.cc",
+ "dart_string.h",
+ "dart_string_cache.cc",
+ "dart_string_cache.h",
+ "dart_value.cc",
+ "dart_value.h",
+ ]
+
+ deps = [
+ "//base",
+ "//mojo/common",
+ "//mojo/public/cpp/system",
]
public_deps = [
« no previous file with comments | « mojo/dart/embedder/BUILD.gn ('k') | tonic/dart_converter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698