Commit e015b16b authored by hans@chromium.org's avatar hans@chromium.org

Fix non-components Win Debug build of extensions_unittests

It needs to depend on the allocator gyp target to pick up the
/NODEFAULTLIBS flags for libcmt.lib and libcmtd.lib and avoid
link errors about multiple definitions of allocation related
symbols.

BUG=
TEST=extensions_unittests links in non-components Debug build on Win

Review URL: https://codereview.chromium.org/394353008

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284632 0039d316-1c4b-4281-b951-d872f2087c98
parent 6ffdf9ca
...@@ -726,6 +726,13 @@ ...@@ -726,6 +726,13 @@
'test/test_permissions_provider.cc', 'test/test_permissions_provider.cc',
'test/test_permissions_provider.h', 'test/test_permissions_provider.h',
], ],
'conditions': [
['OS=="win" and win_use_allocator_shim==1', {
'dependencies': [
'../base/allocator/allocator.gyp:allocator',
],
}],
],
'actions': [ 'actions': [
{ {
'action_name': 'repack_components_pack', 'action_name': 'repack_components_pack',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment