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', { | 22 ['clang==1', { |
23 # TODO(hans) Enable integrated-as (crbug.com/124610). | 23 # TODO(hans) Enable integrated-as (crbug.com/124610). |
24 'cflags': [ | 24 'cflags': [ '-fno-integrated-as' ], |
25 '-fno-integrated-as', | 25 'conditions': [ |
26 '-B<(android_toolchain)', # Else /usr/bin/as gets picked up. | 26 ['OS == "android"', { |
| 27 # Else /usr/bin/as gets picked up. |
| 28 'cflags': [ '-B<(android_toolchain)' ], |
| 29 }], |
27 ], | 30 ], |
28 }], | 31 }], |
29 ['arm_neon==1', { | 32 ['arm_neon==1', { |
30 # Enable build-time NEON selection. | 33 # Enable build-time NEON selection. |
31 'defines': ['DL_ARM_NEON',], | 34 'defines': ['DL_ARM_NEON',], |
32 'direct_dependent_settings': { | 35 'direct_dependent_settings': { |
33 'defines': ['DL_ARM_NEON',], | 36 'defines': ['DL_ARM_NEON',], |
34 }, | 37 }, |
35 }], | 38 }], |
36 ['arm_neon==0 and arm_neon_optional==1', { | 39 ['arm_neon==0 and arm_neon_optional==1', { |
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
301 '-flto', | 304 '-flto', |
302 '-ffat-lto-objects', | 305 '-ffat-lto-objects', |
303 ], | 306 ], |
304 }], | 307 }], |
305 ], | 308 ], |
306 }, | 309 }, |
307 ], | 310 ], |
308 }], | 311 }], |
309 ], | 312 ], |
310 } | 313 } |
OLD | NEW |