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

Unified Diff: shell/pingable_app_dummy_empty.cc

Issue 1327033004: Allow building mojo_shell and non-graphical apps/services on a Mac (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: review feedback Created 5 years, 3 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 | « shell/context.cc ('k') | ui/events/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: shell/pingable_app_dummy_empty.cc
diff --git a/shell/pingable_app_dummy_empty.cc b/shell/pingable_app_dummy_empty.cc
new file mode 100644
index 0000000000000000000000000000000000000000..cd0bb4d543ad72659c8a0d29e42ca1fde788e71a
--- /dev/null
+++ b/shell/pingable_app_dummy_empty.cc
@@ -0,0 +1,6 @@
+// This file contains no code but must exist so the
+// static_library("pingable_app_dummy") target has a parameter. This target has
+// to be a static_library, not a source_set, to hide linker dependencies (see
+// the BUILD.gn file for more details). This file must exist as some linkers
+// when told to produce a static library generate an error if passed an empty
+// set of files.
« no previous file with comments | « shell/context.cc ('k') | ui/events/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698