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

Unified Diff: shell/android/main.cc

Issue 1044943003: Stop linking in desktop/main.cc into the Android build. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 9 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/BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: shell/android/main.cc
diff --git a/shell/android/main.cc b/shell/android/main.cc
index aa26a13086d497f86368728544981a546fbd3e0f..c554728b54248420d4faa651b437bdb16cf025a9 100644
--- a/shell/android/main.cc
+++ b/shell/android/main.cc
@@ -214,3 +214,9 @@ bool RegisterShellMain(JNIEnv* env) {
} // namespace shell
} // namespace mojo
+
+// TODO(vtl): Even though main() should never be called, mojo_shell fails to
+// link without it. Figure out if we can avoid this.
+int main(int argc, char** argv) {
+ NOTREACHED();
+}
« no previous file with comments | « shell/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698