From 2b080ab575dbc3426282c200b6d5cfdf5b352902 Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Wed, 20 Jun 2018 20:50:56 +0900 Subject: [PATCH] fix: link with crashpad_client for MAS build --- electron.gyp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/electron.gyp b/electron.gyp index a7470f805945..4080a71e8350 100644 --- a/electron.gyp +++ b/electron.gyp @@ -399,6 +399,13 @@ 'atom/common/crash_reporter/crash_reporter_mac.h', 'atom/common/crash_reporter/crash_reporter_mac.mm', ], + 'dependencies': [ + # Somehow we have code from Chromium using crashpad, very likely + # from components/crash. + # Since we do not actually invoke code from components/crash, this + # dependency should be eventually optimized out by linker. + 'vendor/crashpad/client/client.gyp:crashpad_client', + ], }], # OS=="mac" and mas_build==1 ['OS=="linux"', { 'sources': [