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

Unified Diff: third_party/instrumented_libraries/instrumented_libraries.gyp

Issue 96083003: Add instrumented libraries build with msan (Closed) Base URL: https://src.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years 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
===================================================================
--- third_party/instrumented_libraries/instrumented_libraries.gyp (revision 238347)
+++ third_party/instrumented_libraries/instrumented_libraries.gyp (working copy)
@@ -3,6 +3,14 @@
# found in the LICENSE file.
{
+ 'conditions': [
+ ['asan==1', {
+ 'sanitizer_type': 'asan',
+ }],
+ ['msan==1', {
+ 'sanitizer_type': 'msan',
+ }],
+ ],
'targets': [
{
'target_name': 'instrumented_libraries',
@@ -22,9 +30,12 @@
'fix_rpaths.sh',
],
'outputs': [
- '<(PRODUCT_DIR)/instrumented_libraries/asan/rpaths.fixed.txt',
+ '<(PRODUCT_DIR)/instrumented_libraries/<(_sanitizer_type)/rpaths.fixed.txt',
],
- 'action': ['./fix_rpaths.sh', '<(PRODUCT_DIR)/instrumented_libraries/asan'],
+ 'action': [
+ '<(DEPTH)/third_party/instrumented_libraries/fix_rpaths.sh',
+ '<(PRODUCT_DIR)/instrumented_libraries/<(_sanitizer_type)'
+ ],
},
],
},

Powered by Google App Engine
This is Rietveld 408576698