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

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: gn secondary, mac .S not on windows 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
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..f90327e847af9b93a65245f296432600639abd35 100644
--- a/build/secondary/third_party/crashpad/crashpad/util/BUILD.gn
+++ b/build/secondary/third_party/crashpad/crashpad/util/BUILD.gn
@@ -49,48 +49,6 @@ source_set("util") {
"file/file_writer.h",
"file/string_file.cc",
"file/string_file.h",
- "mac/checked_mach_address_range.h",
- "mac/launchd.h",
- "mac/launchd.mm",
- "mac/mac_util.cc",
- "mac/mac_util.h",
- "mac/service_management.cc",
- "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 +59,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",
@@ -185,6 +145,53 @@ source_set("util") {
"win/xp_compat.h",
]
+ if (is_mac) {
+ sources += [
+ "mac/checked_mach_address_range.h",
+ "mac/launchd.h",
+ "mac/launchd.mm",
+ "mac/mac_util.cc",
+ "mac/mac_util.h",
+ "mac/service_management.cc",
+ "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",
+ ]
+ }
+
# Include files from here and generated files starting with "util".
include_dirs = [
"..",

Powered by Google App Engine
This is Rietveld 408576698