From 8b3670491a67a5ab16a3df58bfda60f0fb42afa2 Mon Sep 17 00:00:00 2001 From: brucedawson Date: Mon, 14 Mar 2016 18:24:39 -0700 Subject: Update chrome_elf_unittests imports list for VS 2015 VS 2015 component builds import more DLLs so chrome_elf_unittests needs updating to reflect that. This change also tightens the restrictions on the import list - the CRT DLLs should only be needed in component builds. BUG=440500,594360 Review URL: https://codereview.chromium.org/1801953003 Cr-Commit-Position: refs/heads/master@{#381145} --- chrome_elf/elf_imports_unittest.cc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'chrome_elf') diff --git a/chrome_elf/elf_imports_unittest.cc b/chrome_elf/elf_imports_unittest.cc index 946b9b5..c999932 100644 --- a/chrome_elf/elf_imports_unittest.cc +++ b/chrome_elf/elf_imports_unittest.cc @@ -77,7 +77,11 @@ TEST_F(ELFImportsTest, ChromeElfSanityCheck) { static const char* const kValidFilePatterns[] = { "KERNEL32.dll", - "MSVC*", +#if defined(COMPONENT_BUILD) + "MSVC*.dll", + "VCRUNTIME*.dll", + "api-ms-win-crt-*.dll", +#endif #if defined(SYZYASAN) "syzyasan_rtl.dll", #endif -- cgit v1.1