From caad799c28f267c9d33d680b2298826cd6336480 Mon Sep 17 00:00:00 2001 From: Vlad Tsyrklevich Date: Wed, 6 Feb 2019 12:43:50 -0800 Subject: [PATCH] Delete chromium-specific macOS rpaths These flags are no longer tracked here since the macOS crashpad_handler is built upstream as of https://crrev.com/629713 Bug: chromium:912286 Change-Id: I6735a6a1364086e67d1b7c2d316829c74c20d0d9 Reviewed-on: https://chromium-review.googlesource.com/c/1456777 Reviewed-by: Mark Mentovai Commit-Queue: Vlad Tsyrklevich --- handler/BUILD.gn | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/handler/BUILD.gn b/handler/BUILD.gn index 7a91b1c3..32d4d6c1 100644 --- a/handler/BUILD.gn +++ b/handler/BUILD.gn @@ -135,29 +135,6 @@ crashpad_executable("crashpad_handler") { "../third_party/mini_chromium:base", ] - if (crashpad_is_mac && crashpad_is_in_chromium) { - if (is_component_build) { - ldflags = [ - # The handler is in - # Chromium.app/Contents/Versions/X/Chromium Framework.framework/Versions/A/Helpers/ - # so set rpath up to the base. - "-rpath", - "@loader_path/../../../../../../../..", - - # The handler is also in - # Content Shell.app/Contents/Frameworks/Content Shell Framework.framework/Versions/C/Helpers/ - # so set the rpath for that too. - "-rpath", - "@loader_path/../../../../../../..", - - # The handler can also be executed in an unbundled framework at - # Chromium Framework.framework/Versions/A/Helpers/ - "-rpath", - "@loader_path/../../../..", - ] - } - } - if (crashpad_is_win) { if (crashpad_is_in_chromium || crashpad_is_in_dart) { remove_configs = [ "//build/config/win:console" ]