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

Unified Diff: services/dart/BUILD.gn

Issue 2004403003: Build library for the Dart Content Handler. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 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 | « no previous file | services/dart/content_handler_app.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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",
« no previous file with comments | « no previous file | services/dart/content_handler_app.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698