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

Unified Diff: mojo/runner/BUILD.gn

Issue 1440053002: Remove duplication between Mandoline and mojo_runner main functions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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 | « mandoline/app/desktop/main.cc ('k') | mojo/runner/desktop/launcher_process.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/runner/BUILD.gn
diff --git a/mojo/runner/BUILD.gn b/mojo/runner/BUILD.gn
index 803b4ff101d1715d0967ff2207124138eddd6539..c70eee01a7cb6c50646fff3b1512714892b14291 100644
--- a/mojo/runner/BUILD.gn
+++ b/mojo/runner/BUILD.gn
@@ -44,8 +44,6 @@ source_set("mojo_runner_lib") {
if (!is_android) {
sources += [
- "desktop/launcher_process.cc",
- "desktop/launcher_process.h",
"desktop/main.cc",
"register_local_aliases.cc",
"register_local_aliases.h",
@@ -174,6 +172,13 @@ source_set("lib") {
"//components/mus/gles2",
"//mojo/application/public/cpp:content_handler",
]
+ } else {
+ sources += [
+ "desktop/launcher_process.cc",
+ "desktop/launcher_process.h",
+ "desktop/main_helper.cc",
+ "desktop/main_helper.h",
+ ]
}
# This target includes some files behind #ifdef OS... guards. Since gn is not
« no previous file with comments | « mandoline/app/desktop/main.cc ('k') | mojo/runner/desktop/launcher_process.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698