OLD | NEW |
---|---|
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'variables': { | 6 'variables': { |
7 'conditions': [ | 7 'conditions': [ |
8 ['target_arch=="arm" or target_arch=="arm64"', { | 8 ['target_arch=="arm" or target_arch=="arm64"', { |
9 'use_opus_fixed_point%': 1, | 9 'use_opus_fixed_point%': 1, |
10 }, { | 10 }, { |
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
152 ], | 152 ], |
153 'conditions': [ | 153 'conditions': [ |
154 ['use_opus_rtcd==1', { | 154 ['use_opus_rtcd==1', { |
155 'defines': [ | 155 'defines': [ |
156 'OPUS_ARM_MAY_HAVE_EDSP', | 156 'OPUS_ARM_MAY_HAVE_EDSP', |
157 'OPUS_ARM_MAY_HAVE_MEDIA', | 157 'OPUS_ARM_MAY_HAVE_MEDIA', |
158 'OPUS_ARM_MAY_HAVE_NEON', | 158 'OPUS_ARM_MAY_HAVE_NEON', |
159 'OPUS_ARM_MAY_HAVE_NEON_INTR', | 159 'OPUS_ARM_MAY_HAVE_NEON_INTR', |
160 'OPUS_HAVE_RTCD', | 160 'OPUS_HAVE_RTCD', |
161 ], | 161 ], |
162 'include_dirs': [ | |
minyue
2016/07/26 12:58:39
why this?
flim-chromium
2016/07/26 13:05:47
In the new file silk/arm/NSQ_neon.c, it has "#incl
| |
163 'src', | |
164 ], | |
162 'includes': [ | 165 'includes': [ |
163 'opus_srcs_rtcd.gypi', | 166 'opus_srcs_rtcd.gypi', |
164 ], | 167 ], |
165 'cflags!': [ '-mfpu=vfpv3-d16' ], | 168 'cflags!': [ '-mfpu=vfpv3-d16' ], |
166 'cflags': [ '-mfpu=neon' ], | 169 'cflags': [ '-mfpu=neon' ], |
167 }], | 170 }], |
168 ], | 171 ], |
169 }], | 172 }], |
170 ], | 173 ], |
171 }], | 174 }], |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
240 'type': 'executable', | 243 'type': 'executable', |
241 'dependencies': [ | 244 'dependencies': [ |
242 'opus' | 245 'opus' |
243 ], | 246 ], |
244 'sources': [ | 247 'sources': [ |
245 'src/tests/test_opus_padding.c', | 248 'src/tests/test_opus_padding.c', |
246 ], | 249 ], |
247 }, # target test_opus_padding | 250 }, # target test_opus_padding |
248 ] | 251 ] |
249 } | 252 } |
OLD | NEW |