Bug 1252699 - Set WEBRTC_DETECT_ARM_NEON when optional neon is requested draft
authorMike Hommey <mh+mozilla@glandium.org>
Wed, 02 Mar 2016 10:01:15 +0900
changeset 335993 174242c790d9d4aea6a03e83db8cf6db13ac6bf6
parent 334813 97636b12d45871d5783afe69c5be4e394d9f3e3a
child 515264 adf623bd6c30d1fc89a525996845d20fed6d3efa
push id11930
push userbmo:mh+mozilla@glandium.org
push dateWed, 02 Mar 2016 01:05:48 +0000
bugs1252699
milestone47.0a1
Bug 1252699 - Set WEBRTC_DETECT_ARM_NEON when optional neon is requested
media/webrtc/trunk/webrtc/build/common.gypi
--- a/media/webrtc/trunk/webrtc/build/common.gypi
+++ b/media/webrtc/trunk/webrtc/build/common.gypi
@@ -315,17 +315,17 @@
         'conditions': [
           ['arm_version>=7', {
             'defines': ['WEBRTC_ARCH_ARM_V7',
                         'WEBRTC_BUILD_NEON_LIBS'],
             'conditions': [
               ['arm_neon==1', {
                 'defines': ['WEBRTC_ARCH_ARM_NEON',],
               }],
-              ['arm_neon==0 and (OS=="android" or moz_widget_toolkit_gonk==1)', {
+              ['arm_neon==0 and arm_neon_optional==1', {
                 'defines': ['WEBRTC_DETECT_ARM_NEON',],
               }],
             ],
           }],
         ],
       }],
       ['os_bsd==1', {
         'defines': [