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

Unified Diff: mojo/shell/BUILD.gn

Issue 758273003: Enable logging from mojo_launcher (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: rebase Created 6 years 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 | mojo/shell/launcher_main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/shell/BUILD.gn
diff --git a/mojo/shell/BUILD.gn b/mojo/shell/BUILD.gn
index 22f217fcc6b4a2297fa95248ddb7b53411799642..625d56eca2e62b9ebfdf8ebf9cdc567d29785d92 100644
--- a/mojo/shell/BUILD.gn
+++ b/mojo/shell/BUILD.gn
@@ -23,7 +23,8 @@ executable("mojo_shell") {
]
deps = [
- ":lib",
+ ":init",
+ ":lib",
"//base",
"//build/config/sanitizers:deps",
"//mojo/common",
@@ -41,6 +42,7 @@ executable("mojo_launcher") {
deps = [
":external_application_registrar_bindings",
":external_application_registrar_connection",
+ ":init",
":in_process_dynamic_service_runner",
"//base",
"//build/config/sanitizers:deps",
@@ -51,6 +53,17 @@ executable("mojo_launcher") {
]
}
+source_set("init") {
+ sources = [
+ "init.cc",
+ "init.h",
+ ]
+
+ deps = [
+ "//base",
+ ]
+}
+
source_set("in_process_dynamic_service_runner") {
sources = [
"dynamic_service_runner.cc",
@@ -97,8 +110,6 @@ source_set("lib") {
"filename_util.h",
"incoming_connection_listener_posix.cc",
"incoming_connection_listener_posix.h",
- "init.cc",
- "init.h",
"mojo_url_resolver.cc",
"mojo_url_resolver.h",
"out_of_process_dynamic_service_runner.cc",
@@ -116,6 +127,7 @@ source_set("lib") {
deps = [
":app_child_process_bindings",
":external_application_registrar_bindings",
+ ":init",
":in_process_dynamic_service_runner",
"//base",
"//base/third_party/dynamic_annotations",
@@ -356,6 +368,7 @@ source_set("test_support") {
]
deps = [
+ ":init",
":lib",
"//base",
"//mojo/application_manager",
« no previous file with comments | « no previous file | mojo/shell/launcher_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698