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 = [ |
"..", |