Index: chrome_elf/elf_imports_unittest.cc |
diff --git a/chrome_elf/elf_imports_unittest.cc b/chrome_elf/elf_imports_unittest.cc |
index c4b9dd4e21df03f436ba65561ca5a0d62ac77319..136912beac9908aae07947872e687127385a23b1 100644 |
--- a/chrome_elf/elf_imports_unittest.cc |
+++ b/chrome_elf/elf_imports_unittest.cc |
@@ -61,12 +61,13 @@ TEST_F(ELFImportsTest, ChromeElfSanityCheck) { |
std::vector<std::string>::iterator it(elf_imports.begin()); |
static const char* const kValidFilePatterns[] = { |
- "KERNEL32.dll", |
- "MSVC*", |
-#if defined(ADDRESS_SANITIZER) |
- "syzyasan_rtl.dll", |
+ "KERNEL32.dll", |
+ "MSVC*", |
+#if defined(SYZYASAN) |
+ "syzyasan_rtl.dll", |
#endif |
- "ADVAPI32.dll"}; |
+ "ADVAPI32.dll" |
+ }; |
// Make sure all of ELF's imports are in the valid imports list. |
for (; it != elf_imports.end(); it++) { |