Index: services/dart/BUILD.gn |
diff --git a/services/dart/BUILD.gn b/services/dart/BUILD.gn |
index d41ff334d9215c26f96b69a9d10abfbe41bcb3dd..7cd2e69203aa4118e4717f5601dc9931c3960e3e 100644 |
--- a/services/dart/BUILD.gn |
+++ b/services/dart/BUILD.gn |
@@ -23,9 +23,23 @@ source_set("dart_controller") { |
mojo_native_application("dart_content_handler") { |
sources = [ |
+ "content_handler_main.cc", |
+ ] |
+ |
+ deps = [ |
+ ":lib", |
+ "//mojo/application", |
+ ] |
+} |
+ |
+# Library that allows the service code to be included directly into the |
+# embedding shell. Used by https://manganese.googlesource.com/. |
+source_set("lib") { |
+ sources = [ |
+ "content_handler_app.cc", |
+ "content_handler_app.h", |
"content_handler_app_service_connector.cc", |
"content_handler_app_service_connector.h", |
- "content_handler_main.cc", |
"dart_app.cc", |
"dart_app.h", |
"dart_tracing.cc", |
@@ -40,9 +54,9 @@ mojo_native_application("dart_content_handler") { |
"//dart/runtime:libdart", |
"//mojo/application", |
"//mojo/application:content_handler", |
+ "//mojo/common:tracing_impl", |
"//mojo/dart/embedder:dart_controller_no_snapshot", |
"//mojo/data_pipe_utils", |
- "//mojo/common:tracing_impl", |
"//mojo/environment:chromium", |
"//mojo/public/cpp/system", |
"//mojo/public/cpp/utility", |