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

Unified Diff: third_party/instrumented_libraries/instrumented_libraries.gyp

Issue 1003593002: Instrumented libraries: the much-needed build script rewrite. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address remaining comments Created 5 years, 9 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
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 105e9b841e22da98897e71a40c048ed8bd609c4d..0153c1ab9f394071563e8f9ca6c0441bccc7c860 100644
--- a/third_party/instrumented_libraries/instrumented_libraries.gyp
+++ b/third_party/instrumented_libraries/instrumented_libraries.gyp
@@ -8,6 +8,7 @@
'instrumented_libraries_jobs%': 1,
},
+ 'libdir': 'lib',
'ubuntu_release': '<!(lsb_release -cs)',
'conditions': [
@@ -174,7 +175,7 @@
['_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/',
+ '-Wl,-R,\$$ORIGIN/instrumented_libraries/<(_sanitizer_type)/<(_libdir)/',
'-Wl,-z,origin',
],
}],

Powered by Google App Engine
This is Rietveld 408576698