Index: third_party/instrumented_libraries/instrumented_libraries.gyp |
=================================================================== |
--- third_party/instrumented_libraries/instrumented_libraries.gyp (revision 237902) |
+++ 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,9 @@ |
'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': ['./fix_rpaths.sh', '<(PRODUCT_DIR)/instrumented_libraries/<(_sanitizer_type)'], |
Alexander Potapenko
2013/12/03 10:23:54
I suggest to wrap this line (see the next comment)
alextaran1
2013/12/03 11:35:47
Done.
|
}, |
], |
}, |