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

Unified Diff: third_party/instrumented_libraries/instrumented_libraries.gyp

Issue 723033006: Instrumented libraries: overhaul RPATH handling. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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 | « third_party/instrumented_libraries/fix_rpaths.sh ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/instrumented_libraries/instrumented_libraries.gyp
diff --git a/third_party/instrumented_libraries/instrumented_libraries.gyp b/third_party/instrumented_libraries/instrumented_libraries.gyp
index 8e66d8bfe9e046f771ffb15723472c5011429406..ebb19e6465ae6e4ed031d09d3eba939e9503b0f2 100644
--- a/third_party/instrumented_libraries/instrumented_libraries.gyp
+++ b/third_party/instrumented_libraries/instrumented_libraries.gyp
@@ -157,27 +157,12 @@
],
}],
],
- 'actions': [
- {
- 'action_name': 'fix_rpaths',
- 'inputs': [
- 'fix_rpaths.sh',
- ],
- 'outputs': [
- '<(PRODUCT_DIR)/instrumented_libraries/<(_sanitizer_type)/rpaths.fixed.txt',
- ],
- 'action': [
- './fix_rpaths.sh',
- '<(PRODUCT_DIR)/instrumented_libraries/<(_sanitizer_type)'
- ],
- },
- ],
'direct_dependent_settings': {
'target_conditions': [
['_toolset=="target"', {
'ldflags': [
# Add RPATH to result binary to make it linking instrumented libraries ($ORIGIN means relative RPATH)
- '-Wl,-R,\$$ORIGIN/instrumented_libraries/<(_sanitizer_type)/lib/:\$$ORIGIN/instrumented_libraries/<(_sanitizer_type)/usr/lib/x86_64-linux-gnu/',
+ '-Wl,-R,\$$ORIGIN/instrumented_libraries/<(_sanitizer_type)/lib/',
'-Wl,-z,origin',
],
}],
« no previous file with comments | « third_party/instrumented_libraries/fix_rpaths.sh ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698