Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(622)

Unified Diff: build/secondary/third_party/crashpad/crashpad/handler/BUILD.gn

Issue 1961473003: [Mac/GN] Set up the component build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Comment and rebase Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/BUILD.gn ('k') | build/toolchain/mac/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/secondary/third_party/crashpad/crashpad/handler/BUILD.gn
diff --git a/build/secondary/third_party/crashpad/crashpad/handler/BUILD.gn b/build/secondary/third_party/crashpad/crashpad/handler/BUILD.gn
index 0c455f50b5e0ef54c2a82b487c482651c5f1ba7e..13a25b30f1b6adc161cb5f13afa1b90b5be23cad 100644
--- a/build/secondary/third_party/crashpad/crashpad/handler/BUILD.gn
+++ b/build/secondary/third_party/crashpad/crashpad/handler/BUILD.gn
@@ -46,4 +46,13 @@ executable("crashpad_handler") {
"//base",
"//build/win:default_exe_manifest",
]
+
+ if (is_mac && is_component_build) {
+ # The handler is in Chromium.app/Contents/Versions/X/Chromium Framework.framework/Helpers/
+ # so set rpath up to the base.
+ ldflags = [
+ "-rpath",
+ "@loader_path/../../../../../..",
+ ]
+ }
}
« no previous file with comments | « base/BUILD.gn ('k') | build/toolchain/mac/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698