OLD | NEW |
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 Loading... |
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 Loading... |
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 } |
OLD | NEW |