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

Side by Side Diff: build/common.gypi

Issue 23181007: Add the "mfpmath=sse" compiler flag for ChromeOS devices. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 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 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 # IMPORTANT: 5 # IMPORTANT:
6 # Please don't directly include this file if you are building via gyp_chromium, 6 # Please don't directly include this file if you are building via gyp_chromium,
7 # since gyp_chromium is automatically forcing its inclusion. 7 # since gyp_chromium is automatically forcing its inclusion.
8 { 8 {
9 # Variables expected to be overriden on the GYP command line (-D) or by 9 # Variables expected to be overriden on the GYP command line (-D) or by
10 # ~/.gyp/include.gypi. 10 # ~/.gyp/include.gypi.
(...skipping 2969 matching lines...) Expand 10 before | Expand all | Expand 10 after
2980 '-mfpmath=sse', 2980 '-mfpmath=sse',
2981 ], 2981 ],
2982 }], 2982 }],
2983 # ChromeOS targets Pinetrail, which is sse3, but most of the 2983 # ChromeOS targets Pinetrail, which is sse3, but most of the
2984 # benefit comes from sse2 so this setting allows ChromeOS 2984 # benefit comes from sse2 so this setting allows ChromeOS
2985 # to build on other CPUs. In the future -march=atom would 2985 # to build on other CPUs. In the future -march=atom would
2986 # help but requires a newer compiler. 2986 # help but requires a newer compiler.
2987 ['chromeos==1 and disable_sse2==0', { 2987 ['chromeos==1 and disable_sse2==0', {
2988 'cflags': [ 2988 'cflags': [
2989 '-msse2', 2989 '-msse2',
2990 '-mfpmath=sse',
2990 ], 2991 ],
2991 }], 2992 }],
2992 # Use gold linker for Android ia32 target. 2993 # Use gold linker for Android ia32 target.
2993 ['OS=="android"', { 2994 ['OS=="android"', {
2994 'cflags': [ 2995 'cflags': [
2995 '-fuse-ld=gold', 2996 '-fuse-ld=gold',
2996 ], 2997 ],
2997 'ldflags': [ 2998 'ldflags': [
2998 '-fuse-ld=gold', 2999 '-fuse-ld=gold',
2999 ], 3000 ],
(...skipping 1707 matching lines...) Expand 10 before | Expand all | Expand 10 after
4707 # settings in target dicts. SYMROOT is a special case, because many other 4708 # settings in target dicts. SYMROOT is a special case, because many other
4708 # Xcode variables depend on it, including variables such as 4709 # Xcode variables depend on it, including variables such as
4709 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 4710 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
4710 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 4711 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
4711 # files to appear (when present) in the UI as actual files and not red 4712 # files to appear (when present) in the UI as actual files and not red
4712 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 4713 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
4713 # and therefore SYMROOT, needs to be set at the project level. 4714 # and therefore SYMROOT, needs to be set at the project level.
4714 'SYMROOT': '<(DEPTH)/xcodebuild', 4715 'SYMROOT': '<(DEPTH)/xcodebuild',
4715 }, 4716 },
4716 } 4717 }
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