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 9f6f80f7baf9080d56ff518de95b42e802260115..d5f266d6b1e2f7959fa83b3f199f2a3b05d4851c 100644 |
--- a/third_party/instrumented_libraries/instrumented_libraries.gyp |
+++ b/third_party/instrumented_libraries/instrumented_libraries.gyp |
@@ -69,6 +69,7 @@ |
'<(_sanitizer_type)-libcups2', |
'<(_sanitizer_type)-pango1.0', |
'<(_sanitizer_type)-libcap2', |
+ '<(_sanitizer_type)-libudev0', |
], |
'conditions': [ |
['asan==1', { |
@@ -335,5 +336,16 @@ |
'dependencies=': [], |
'includes': ['standard_instrumented_library_target.gypi'], |
}, |
+ { |
+ 'library_name': 'libudev0', |
+ 'dependencies=': [], |
+ 'custom_configure_flags': [ |
+ # Without this flag there's a linking step that doesn't honor LDFLAGS |
+ # and fails. |
+ # TODO(earthdok): find a better fix. |
+ '--disable-gudev' |
+ ], |
+ 'includes': ['standard_instrumented_library_target.gypi'], |
+ }, |
], |
} |