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

Side by Side Diff: webrtc/build/arm_neon.gypi

Issue 1294293003: Re-enable LLVM LTO on Neon targets. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 5 years, 4 months 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 | « no previous file | 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) 2012 The WebRTC project authors. All Rights Reserved. 1 # Copyright (c) 2012 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 # This file sets correct neon flags. Include it if you want to build 9 # This file sets correct neon flags. Include it if you want to build
10 # source with neon intrinsics. 10 # source with neon intrinsics.
(...skipping 12 matching lines...) Expand all
23 'cflags!': [ 23 'cflags!': [
24 '-mfpu=vfpv3-d16', 24 '-mfpu=vfpv3-d16',
25 ], 25 ],
26 'conditions': [ 26 'conditions': [
27 # "-mfpu=neon" is not required for arm64 in GCC. 27 # "-mfpu=neon" is not required for arm64 in GCC.
28 ['target_arch!="arm64"', { 28 ['target_arch!="arm64"', {
29 'cflags': [ 29 'cflags': [
30 '-mfpu=neon', 30 '-mfpu=neon',
31 ], 31 ],
32 }], 32 }],
33 # Disable LTO on NEON targets due to compiler bug. 33 # Disable GCC LTO on NEON targets due to compiler bug.
34 # TODO(fdegans): Enable this. See crbug.com/408997. 34 # TODO(fdegans): Enable this. See crbug.com/408997.
35 ['use_lto==1', { 35 ['clang==0 and use_lto==1', {
36 'cflags!': [ 36 'cflags!': [
37 '-flto', 37 '-flto',
38 '-ffat-lto-objects', 38 '-ffat-lto-objects',
39 ], 39 ],
40 }], 40 }],
41 ], 41 ],
42 } 42 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698