Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(90)

Side by Side Diff: dl/dl.gyp

Issue 1486143002: Only pass android_toolchain in android builds. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc/deps/third_party/openmax.git@master
Patch Set: . Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « dl/BUILD.gn ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « dl/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698