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

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, 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
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.
},
],
},

Powered by Google App Engine
This is Rietveld 408576698