summaryrefslogtreecommitdiffstats
path: root/chrome_elf/chrome_elf.gyp
diff options
context:
space:
mode:
authorsebmarchand@chromium.org <sebmarchand@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-01-21 17:19:24 +0000
committersebmarchand@chromium.org <sebmarchand@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-01-21 17:19:24 +0000
commitdc65a1dc6754ca52c7d63dd1be3d7469b5948fe7 (patch)
tree60b8cc557b5af54787ff56669535c1aa6077d69d /chrome_elf/chrome_elf.gyp
parent89f0296874e9f4378198d2dc435785912c76e626 (diff)
downloadchromium_src-dc65a1dc6754ca52c7d63dd1be3d7469b5948fe7.zip
chromium_src-dc65a1dc6754ca52c7d63dd1be3d7469b5948fe7.tar.gz
chromium_src-dc65a1dc6754ca52c7d63dd1be3d7469b5948fe7.tar.bz2
Allows chrome_elf_unittests to be run under SyzyASan.
This also fix a missing dependency on chrome_elf_unittests, it should have a dependency on chrome_elf.dll and chrome.exe if you want to be able to do: - ninja -C out\Release chrome_elf_unittests - out\Release\chrome_elf_unittests.exe on a fresh checkout... R=robertshield@chromium.org Review URL: https://codereview.chromium.org/132823006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@246061 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome_elf/chrome_elf.gyp')
-rw-r--r--chrome_elf/chrome_elf.gyp15
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': [