diff options
author | tkchin@webrtc.org <tkchin@webrtc.org> | 2014-10-31 00:14:39 +0000 |
---|---|---|
committer | tkchin@webrtc.org <tkchin@webrtc.org> | 2014-10-31 00:14:39 +0000 |
commit | 14146e40aaafadbd7fb99ea9e45f528624f71538 (patch) | |
tree | 600809d920696dac3df580f999de1f7ff65443c5 /webrtc/build/common.gypi | |
parent | 50ca986bc19e5a6ee7e7f6265dab8558bea979a3 (diff) | |
download | webrtc-14146e40aaafadbd7fb99ea9e45f528624f71538.tar.gz |
arm64 iOS build.
Allows successful build of arm64 libraries using
GYP_DEFINES="OS=ios target_arch=arm64 target_subarch=arm64".
Note that not all libraries will be NEON optimized (eg common_audio),
however most importantly libvpx will be. WEBRTC_ARCH_ARM needs to be
defined so that libvpx doesn't post-process, which is significantly
detrimental to performance.
BUG=3898
R=kjellander@webrtc.org, pthatcher@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/26959004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@7573 4adac7df-926f-26a2-2b94-8c16560cd09d
Diffstat (limited to 'webrtc/build/common.gypi')
-rw-r--r-- | webrtc/build/common.gypi | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/webrtc/build/common.gypi b/webrtc/build/common.gypi index 18b33830dd..33dbace9b0 100644 --- a/webrtc/build/common.gypi +++ b/webrtc/build/common.gypi @@ -250,6 +250,11 @@ }], ], }], + ['target_arch=="arm64"', { + 'defines': [ + 'WEBRTC_ARCH_ARM', + ], + }], ['target_arch=="arm" or target_arch=="armv7"', { 'defines': [ 'WEBRTC_ARCH_ARM', |