diff options
Diffstat (limited to 'chrome_elf/chrome_elf.gyp')
-rw-r--r-- | chrome_elf/chrome_elf.gyp | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/chrome_elf/chrome_elf.gyp b/chrome_elf/chrome_elf.gyp index 92c8294..d011bbb 100644 --- a/chrome_elf/chrome_elf.gyp +++ b/chrome_elf/chrome_elf.gyp @@ -41,7 +41,8 @@ }, }, { - 'target_name': 'chrome_elf_unittests', + 'target_name': 'chrome_elf_unittests_exe', + 'product_name': 'chrome_elf_unittests', 'type': 'executable', 'sources': [ 'blacklist/test/blacklist_test.cc', @@ -67,6 +68,18 @@ ], }, { + # A dummy target to ensure that chrome_elf.dll and chrome.exe gets build + # when building chrome_elf_unittests.exe without introducing an + # explicit runtime dependency. + 'target_name': 'chrome_elf_unittests', + 'type': 'none', + 'dependencies': [ + '../chrome/chrome.gyp:chrome', + 'chrome_elf', + 'chrome_elf_unittests_exe', + ], + }, + { 'target_name': 'chrome_elf_lib', 'type': 'static_library', 'include_dirs': [ |