OLD | NEW |
1 # Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. |
2 # | 2 # |
3 # Use of this source code is governed by a BSD-style license | 3 # Use of this source code is governed by a BSD-style license |
4 # that can be found in the LICENSE file in the root of the source | 4 # that can be found in the LICENSE file in the root of the source |
5 # tree. An additional intellectual property rights grant can be found | 5 # tree. An additional intellectual property rights grant can be found |
6 # in the file PATENTS. All contributing project authors may | 6 # in the file PATENTS. All contributing project authors may |
7 # be found in the AUTHORS file in the root of the source tree. | 7 # be found in the AUTHORS file in the root of the source tree. |
8 | 8 |
9 { | 9 { |
10 'variables' : { | 10 'variables' : { |
11 # Override this value to build with small float FFT tables | 11 # Override this value to build with small float FFT tables |
12 'big_float_fft%' : 1, | 12 'big_float_fft%' : 1, |
13 'use_lto%': 0, | 13 'use_lto%': 0, |
14 }, | 14 }, |
15 'target_defaults': { | 15 'target_defaults': { |
16 'include_dirs': [ | 16 'include_dirs': [ |
17 '../', | 17 '../', |
18 ], | 18 ], |
19 'conditions' : [ | 19 'conditions' : [ |
20 ['target_arch=="arm"', { | 20 ['target_arch=="arm"', { |
21 'conditions' : [ | 21 'conditions' : [ |
| 22 ['clang==1', { |
| 23 # TODO(hans) Enable integrated-as (crbug.com/124610). |
| 24 'cflags': [ |
| 25 '-fno-integrated-as', |
| 26 '-B<(android_toolchain)', # Else /usr/bin/as gets picked up. |
| 27 ], |
| 28 }], |
22 ['arm_neon==1', { | 29 ['arm_neon==1', { |
23 # Enable build-time NEON selection. | 30 # Enable build-time NEON selection. |
24 'defines': ['DL_ARM_NEON',], | 31 'defines': ['DL_ARM_NEON',], |
25 'direct_dependent_settings': { | 32 'direct_dependent_settings': { |
26 'defines': ['DL_ARM_NEON',], | 33 'defines': ['DL_ARM_NEON',], |
27 }, | 34 }, |
28 }], | 35 }], |
29 ['arm_neon==0 and arm_neon_optional==1', { | 36 ['arm_neon==0 and arm_neon_optional==1', { |
30 # Enable run-time NEON selection. | 37 # Enable run-time NEON selection. |
31 'defines': ['DL_ARM_NEON_OPTIONAL',], | 38 'defines': ['DL_ARM_NEON_OPTIONAL',], |
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
294 '-flto', | 301 '-flto', |
295 '-ffat-lto-objects', | 302 '-ffat-lto-objects', |
296 ], | 303 ], |
297 }], | 304 }], |
298 ], | 305 ], |
299 }, | 306 }, |
300 ], | 307 ], |
301 }], | 308 }], |
302 ], | 309 ], |
303 } | 310 } |
OLD | NEW |