diff options
author | sebmarchand@chromium.org <sebmarchand@chromium.org@4ff67af0-8c30-449e-8e8b-ad334ec8d88c> | 2014-03-17 21:48:53 +0000 |
---|---|---|
committer | sebmarchand@chromium.org <sebmarchand@chromium.org@4ff67af0-8c30-449e-8e8b-ad334ec8d88c> | 2014-03-17 21:48:53 +0000 |
commit | adc66e2f7c95a249c86f2f54ce8306b8b3f2c14c (patch) | |
tree | 9a4796049095aac49418d95ae525a6a894ad490a /libvpx.gyp | |
parent | 1fe30dc4ba2944c0dc697625611e0bad173003a0 (diff) | |
download | libvpx-adc66e2f7c95a249c86f2f54ce8306b8b3f2c14c.tar.gz |
Force libvpx to be optimized for size (on Windows).
Clone of https://codereview.chromium.org/199823003/
TBR=tomfinegan@chromium.org
Review URL: https://codereview.chromium.org/199893007
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libvpx@257501 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Diffstat (limited to 'libvpx.gyp')
-rw-r--r-- | libvpx.gyp | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -41,6 +41,16 @@ 'sources/': [ ['exclude', '(^|/)vp9/'], ], }], ], + 'variables': { + 'conditions': [ + ['OS=="win" and buildtype=="Official"', { + # Setting the optimizations to 'speed' or to 'max' results in a lot of + # unresolved symbols. The only supported mode is 'size' (see + # crbug.com/352476). + 'optimize' :'size', + }], + ], + }, }, 'conditions': [ ['target_arch=="ia32"', { |