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

Unified Diff: base/test/main_stub.cc

Issue 2549363004: Multiprocess test client: Android child process launcher rework. (Closed)
Patch Set: content_unittests + sync Created 3 years, 11 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 | « base/test/android/test_support_jni_registrar.cc ('k') | base/test/multiprocess_test.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/test/main_stub.cc
diff --git a/base/test/main_stub.cc b/base/test/main_stub.cc
new file mode 100644
index 0000000000000000000000000000000000000000..c4bcb1a8684cfaac1f9017f94d1418ffbce5a223
--- /dev/null
+++ b/base/test/main_stub.cc
@@ -0,0 +1,12 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "base/logging.h"
+
+int main(int argc, char** argv) {
+ // This is used so we can link with base:test_support even for components that
+ // don't have a main function.
+ NOTREACHED();
+ return 1;
+}
« no previous file with comments | « base/test/android/test_support_jni_registrar.cc ('k') | base/test/multiprocess_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698