summaryrefslogtreecommitdiff
path: root/libvpx.gyp
diff options
context:
space:
mode:
authorsebmarchand@chromium.org <sebmarchand@chromium.org@4ff67af0-8c30-449e-8e8b-ad334ec8d88c>2014-03-17 21:48:53 +0000
committersebmarchand@chromium.org <sebmarchand@chromium.org@4ff67af0-8c30-449e-8e8b-ad334ec8d88c>2014-03-17 21:48:53 +0000
commitadc66e2f7c95a249c86f2f54ce8306b8b3f2c14c (patch)
tree9a4796049095aac49418d95ae525a6a894ad490a /libvpx.gyp
parent1fe30dc4ba2944c0dc697625611e0bad173003a0 (diff)
downloadlibvpx-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.gyp10
1 files changed, 10 insertions, 0 deletions
diff --git a/libvpx.gyp b/libvpx.gyp
index 038ea31..1fd8052 100644
--- a/libvpx.gyp
+++ b/libvpx.gyp
@@ -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"', {