Index: build/secondary/third_party/crashpad/crashpad/handler/BUILD.gn |
diff --git a/build/secondary/third_party/crashpad/crashpad/handler/BUILD.gn b/build/secondary/third_party/crashpad/crashpad/handler/BUILD.gn |
new file mode 100644 |
index 0000000000000000000000000000000000000000..9ad34648ffcd90ed9e4a8fb1372aa0dfb9f08c50 |
--- /dev/null |
+++ b/build/secondary/third_party/crashpad/crashpad/handler/BUILD.gn |
@@ -0,0 +1,46 @@ |
+# Copyright 2015 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. |
+ |
+source_set("handler_lib") { |
+ sources = [ |
+ "crash_report_upload_thread.cc", |
+ "crash_report_upload_thread.h", |
+ "handler_main.cc", |
+ "handler_main.h", |
+ "mac/crash_report_exception_handler.cc", |
+ "mac/crash_report_exception_handler.h", |
+ "mac/exception_handler_server.cc", |
+ "mac/exception_handler_server.h", |
+ "win/crash_report_exception_handler.cc", |
+ "win/crash_report_exception_handler.h", |
+ ] |
+ |
+ include_dirs = [ ".." ] |
+ |
+ deps = [ |
+ "../compat", |
+ "../minidump", |
+ "../snapshot", |
+ "../tools:tool_support", |
+ "//base", |
+ ] |
+ |
+ if (is_win) { |
+ cflags = [ "/wd4201" ] |
+ } |
+} |
+ |
+executable("crashpad_handler") { |
+ sources = [ |
+ "main.cc", |
+ ] |
+ |
+ include_dirs = [ ".." ] |
+ |
+ deps = [ |
+ ":handler_lib", |
+ "../compat", |
+ "//base", |
+ ] |
+} |