Index: third_party/crashpad/crashpad/util/win/safe_terminate_process_test_child.cc |
diff --git a/third_party/crashpad/crashpad/util/win/safe_terminate_process_test_child.cc b/third_party/crashpad/crashpad/util/win/safe_terminate_process_test_child.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..605778b05aae22cf77546a462239ab346a3a23a1 |
--- /dev/null |
+++ b/third_party/crashpad/crashpad/util/win/safe_terminate_process_test_child.cc |
@@ -0,0 +1,22 @@ |
+// Copyright 2017 The Crashpad Authors. All rights reserved. |
+// |
+// Licensed under the Apache License, Version 2.0 (the "License"); |
+// you may not use this file except in compliance with the License. |
+// You may obtain a copy of the License at |
+// |
+// http://www.apache.org/licenses/LICENSE-2.0 |
+// |
+// Unless required by applicable law or agreed to in writing, software |
+// distributed under the License is distributed on an "AS IS" BASIS, |
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
+// See the License for the specific language governing permissions and |
+// limitations under the License. |
+ |
+#include <stdlib.h> |
+#include <wchar.h> |
+#include <windows.h> |
+ |
+int wmain(int argc, wchar_t** argv) { |
+ Sleep(INFINITE); |
+ return EXIT_FAILURE; |
+} |