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..2a1fb24804ae9e99cbbef80ae0c87b4531681286 |
--- /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 min function. |
Robert Sesek
2016/12/20 20:44:34
nit: main
Jay Civelli
2016/12/20 23:07:27
Done.
|
+ NOTREACHED(); |
+ return 1; |
+} |