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 <mark@chromium.org>
Commit-Queue: Vlad Tsyrklevich <vtsyrklevich@chromium.org>
This commit is contained in:
Vlad Tsyrklevich 2019-02-06 12:43:50 -08:00 committed by Commit Bot
parent 84ef87ef51
commit caad799c28

View File

@ -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" ]