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

Unified Diff: build/secondary/third_party/crashpad/crashpad/util/BUILD.gn

Issue 1416133003: Crashpad Windows: Use the Crashpad client instead of Breakpad on Windows (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add some stub gn files Created 5 years, 1 month 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 | « build/secondary/third_party/crashpad/crashpad/tools/BUILD.gn ('k') | chrome/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/secondary/third_party/crashpad/crashpad/util/BUILD.gn
diff --git a/build/secondary/third_party/crashpad/crashpad/util/BUILD.gn b/build/secondary/third_party/crashpad/crashpad/util/BUILD.gn
index 0fe15b6137ef68c8543dea428c28d3a99b6fc8cd..9429597e7c532df574fd14751686989bfed1b807 100644
--- a/build/secondary/third_party/crashpad/crashpad/util/BUILD.gn
+++ b/build/secondary/third_party/crashpad/crashpad/util/BUILD.gn
@@ -58,39 +58,6 @@ source_set("util") {
"mac/service_management.h",
"mac/xattr.cc",
"mac/xattr.h",
- "mach/child_port_handshake.cc",
- "mach/child_port_handshake.h",
- "mach/child_port_server.cc",
- "mach/child_port_server.h",
- "mach/child_port_types.h",
- "mach/composite_mach_message_server.cc",
- "mach/composite_mach_message_server.h",
- "mach/exc_client_variants.cc",
- "mach/exc_client_variants.h",
- "mach/exc_server_variants.cc",
- "mach/exc_server_variants.h",
- "mach/exception_behaviors.cc",
- "mach/exception_behaviors.h",
- "mach/exception_ports.cc",
- "mach/exception_ports.h",
- "mach/exception_types.cc",
- "mach/exception_types.h",
- "mach/mach_extensions.cc",
- "mach/mach_extensions.h",
- "mach/mach_message.cc",
- "mach/mach_message.h",
- "mach/mach_message_server.cc",
- "mach/mach_message_server.h",
- "mach/notify_server.cc",
- "mach/notify_server.h",
- "mach/scoped_task_suspend.cc",
- "mach/scoped_task_suspend.h",
- "mach/symbolic_constants_mach.cc",
- "mach/symbolic_constants_mach.h",
- "mach/task_for_pid.cc",
- "mach/task_for_pid.h",
- "mach/task_memory.cc",
- "mach/task_memory.h",
"misc/clock.h",
"misc/clock_mac.cc",
"misc/clock_posix.cc",
@@ -101,6 +68,8 @@ source_set("util") {
"misc/initialization_state_dcheck.h",
"misc/pdb_structures.cc",
"misc/pdb_structures.h",
+ "misc/random_string.cc",
+ "misc/random_string.h",
"misc/scoped_forbid_return.cc",
"misc/scoped_forbid_return.h",
"misc/symbolic_constants_common.h",
@@ -159,12 +128,16 @@ source_set("util") {
"win/capture_context.asm",
"win/capture_context.h",
"win/checked_win_address_range.h",
+ "win/command_line.cc",
+ "win/command_line.h",
"win/critical_section_with_debug_info.cc",
"win/critical_section_with_debug_info.h",
"win/exception_handler_server.cc",
"win/exception_handler_server.h",
"win/get_function.cc",
"win/get_function.h",
+ "win/handle.cc",
+ "win/handle.h",
"win/module_version.cc",
"win/module_version.h",
"win/nt_internals.cc",
@@ -178,6 +151,8 @@ source_set("util") {
"win/registration_protocol_win.h",
"win/scoped_handle.cc",
"win/scoped_handle.h",
+ "win/scoped_local_alloc.cc",
+ "win/scoped_local_alloc.h",
"win/scoped_process_suspend.cc",
"win/scoped_process_suspend.h",
"win/time.cc",
@@ -185,6 +160,45 @@ source_set("util") {
"win/xp_compat.h",
]
+ if (is_mac) {
+ # mach/ are not globally filtered.
+ sources += [
+ "mach/child_port_handshake.cc",
+ "mach/child_port_handshake.h",
+ "mach/child_port_server.cc",
+ "mach/child_port_server.h",
+ "mach/child_port_types.h",
+ "mach/composite_mach_message_server.cc",
+ "mach/composite_mach_message_server.h",
+ "mach/exc_client_variants.cc",
+ "mach/exc_client_variants.h",
+ "mach/exc_server_variants.cc",
+ "mach/exc_server_variants.h",
+ "mach/exception_behaviors.cc",
+ "mach/exception_behaviors.h",
+ "mach/exception_ports.cc",
+ "mach/exception_ports.h",
+ "mach/exception_types.cc",
+ "mach/exception_types.h",
+ "mach/mach_extensions.cc",
+ "mach/mach_extensions.h",
+ "mach/mach_message.cc",
+ "mach/mach_message.h",
+ "mach/mach_message_server.cc",
+ "mach/mach_message_server.h",
+ "mach/notify_server.cc",
+ "mach/notify_server.h",
+ "mach/scoped_task_suspend.cc",
+ "mach/scoped_task_suspend.h",
+ "mach/symbolic_constants_mach.cc",
+ "mach/symbolic_constants_mach.h",
+ "mach/task_for_pid.cc",
+ "mach/task_for_pid.h",
+ "mach/task_memory.cc",
+ "mach/task_memory.h",
+ ]
+ }
+
# Include files from here and generated files starting with "util".
include_dirs = [
"..",
@@ -203,6 +217,8 @@ source_set("util") {
"rpcrt4.lib",
"winhttp.lib",
]
+ cflags = [ "/wd4201" ] # nonstandard extension used : nameless struct/union.
+
# TODO(GYP) UseSafeExceptionHandlers masm rule.
} else if (is_mac) {
sources += get_target_outputs(":mig")
« no previous file with comments | « build/secondary/third_party/crashpad/crashpad/tools/BUILD.gn ('k') | chrome/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698