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

Unified Diff: breakpad/BUILD.gn

Issue 448743003: gn win: Add breakpad_handler target, necessary to compile breakpad on win (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 4 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 | « no previous file | components/breakpad/app/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: breakpad/BUILD.gn
diff --git a/breakpad/BUILD.gn b/breakpad/BUILD.gn
index bfec4124714892807b24c6eaae4cc0cafb563e78..0ae5a2b6934f2e9965ae6b6d896df365aa1b0804 100644
--- a/breakpad/BUILD.gn
+++ b/breakpad/BUILD.gn
@@ -31,6 +31,11 @@ config("client_config") {
}
}
+config("handler_config") {
+ include_dirs = [
+ "src",
+ ]
+}
# minidump_stackwalk and minidump_dump are tool-type executables that do
# not build on iOS.
@@ -657,4 +662,30 @@ if (is_win) {
group("client") {
direct_dependent_configs = [ ":client_config" ]
}
+
+ source_set("breakpad_handler") {
+ configs += [ ":handler_config" ]
+ if (is_win) {
+ direct_dependent_configs = [ ":handler_config" ]
+ }
+
+ defines = [ "BREAKPAD_NO_TERMINATE_THREAD" ]
+
+ sources = [
+ "src/client/windows/crash_generation/client_info.cc",
+ "src/client/windows/crash_generation/client_info.h",
+ "src/client/windows/crash_generation/crash_generation_client.cc",
+ "src/client/windows/crash_generation/crash_generation_client.h",
+ "src/client/windows/crash_generation/crash_generation_server.cc",
+ "src/client/windows/crash_generation/crash_generation_server.h",
+ "src/client/windows/handler/exception_handler.cc",
+ "src/client/windows/handler/exception_handler.h",
+ "src/common/windows/guid_string.cc",
+ "src/common/windows/guid_string.h",
+ "src/google_breakpad/common/minidump_format.h",
+ "src/client/windows/crash_generation/minidump_generator.cc",
+ "src/client/windows/crash_generation/minidump_generator.h",
+ "src/common/windows/string_utils-inl.h",
+ ]
+ }
}
« no previous file with comments | « no previous file | components/breakpad/app/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698