~justinmcp/oxide/mediahub-fixes-1.9

« back to all changes in this revision

Viewing changes to patches/arm-webrtc.patch

  • Committer: Chris Coulson
  • Date: 2015-07-16 10:09:46 UTC
  • mfrom: (640.1.329 canary)
  • Revision ID: chris.coulson@canonical.com-20150716100946-k9707yx7xquf14ks
Bump Chromium rev to 45.0.2454.6

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Description: Don't assume that arm_version>=7 means that neon code
2
 
#  should be built. Instead, use arm_neon==1 or arm_neon_optional==1
3
 
# Author: Chris Coulson <chris.coulson@canonical.com>
4
 
 
5
 
diff --git a/third_party/webrtc/common_audio/common_audio.gyp b/third_party/webrtc/common_audio/common_audio.gyp
6
 
--- a/third_party/webrtc/common_audio/common_audio.gyp
7
 
+++ b/third_party/webrtc/common_audio/common_audio.gyp
8
 
@@ -141,17 +141,17 @@
9
 
             'signal_processing/complex_bit_reverse_arm.S',
10
 
             'signal_processing/spl_sqrt_floor_arm.S',
11
 
           ],
12
 
           'sources!': [
13
 
             'signal_processing/complex_bit_reverse.c',
14
 
             'signal_processing/spl_sqrt_floor.c',
15
 
           ],
16
 
           'conditions': [
17
 
-            ['arm_version>=7', {
18
 
+            ['arm_neon==1 or arm_neon_optional==1', {
19
 
               'dependencies': ['common_audio_neon',],
20
 
               'sources': [
21
 
                 'signal_processing/filter_ar_fast_q12_armv7.S',
22
 
               ],
23
 
               'sources!': [
24
 
                 'signal_processing/filter_ar_fast_q12.c',
25
 
               ],
26
 
             }],
27
 
@@ -207,17 +207,17 @@
28
 
               'xcode_settings': {
29
 
                 'OTHER_CFLAGS': [ '-msse2', ],
30
 
               },
31
 
             }],
32
 
           ],
33
 
         },
34
 
       ],  # targets
35
 
     }],
36
 
-    ['target_arch=="arm" and arm_version>=7 or target_arch=="arm64"', {
37
 
+    ['target_arch=="arm" and (arm_neon==1 or arm_neon_optional==1) or target_arch=="arm64"', {
38
 
       'targets': [
39
 
         {
40
 
           'target_name': 'common_audio_neon',
41
 
           'type': 'static_library',
42
 
           'includes': ['../build/arm_neon.gypi',],
43
 
           'sources': [
44
 
             'fir_filter_neon.cc',
45
 
             'resampler/sinc_resampler_neon.cc',