Index: build/secondary/third_party/crashpad/crashpad/client/BUILD.gn |
diff --git a/build/secondary/third_party/crashpad/crashpad/client/BUILD.gn b/build/secondary/third_party/crashpad/crashpad/client/BUILD.gn |
index 5cfadfacd719f64f42b88ff3ab12733e45e231ca..4ebb22d1d6b7f5c260270376e58b5f35590f4da1 100644 |
--- a/build/secondary/third_party/crashpad/crashpad/client/BUILD.gn |
+++ b/build/secondary/third_party/crashpad/crashpad/client/BUILD.gn |
@@ -8,8 +8,6 @@ config("client_config") { |
source_set("client") { |
sources = [ |
- "capture_context_mac.S", |
- "capture_context_mac.h", |
"crash_report_database.cc", |
"crash_report_database.h", |
"crash_report_database_mac.mm", |
@@ -31,6 +29,13 @@ source_set("client") { |
"simulate_crash_win.h", |
] |
+ if (is_mac) { |
+ sources += [ |
+ "capture_context_mac.S", |
+ "capture_context_mac.h", |
+ ] |
+ } |
+ |
public_configs = [ ":client_config" ] |
deps = [ |