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 3938 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
3949 'cflags': [ | 3949 'cflags': [ |
3950 '-msse2', | 3950 '-msse2', |
3951 '-mfpmath=sse', | 3951 '-mfpmath=sse', |
3952 '-mmmx', # Allows mmintrin.h for MMX intrinsics. | 3952 '-mmmx', # Allows mmintrin.h for MMX intrinsics. |
3953 '-m32', | 3953 '-m32', |
3954 ], | 3954 ], |
3955 'ldflags': [ | 3955 'ldflags': [ |
3956 '-m32', | 3956 '-m32', |
3957 ], | 3957 ], |
3958 'conditions': [ | 3958 'conditions': [ |
3959 # Use gold linker for Android ia32 target. | |
3960 ['OS=="android"', { | 3959 ['OS=="android"', { |
3960 # Use gold linker for Android ia32 target. | |
3961 'ldflags': [ | 3961 'ldflags': [ |
3962 '-fuse-ld=gold', | 3962 '-fuse-ld=gold', |
3963 ], | 3963 ], |
3964 # Use -mstackrealign due to a bug on ia32 Jelly Bean. | |
3965 # See crbug.com/521527 | |
Nico
2015/08/18 23:24:52
https://android-review.googlesource.com/#/c/110770
Fabrice (no longer in Chrome)
2015/08/18 23:30:59
My best guess is that there is something wrong in
Nico
2015/08/18 23:35:59
Shouldn't the comment be more along the lines of "
| |
3966 'cflags': [ | |
3967 '-mstackrealign', | |
3968 ], | |
3964 }], | 3969 }], |
3965 ], | 3970 ], |
3966 }], | 3971 }], |
3967 ], | 3972 ], |
3968 }], | 3973 }], |
3969 ['target_arch=="x64"', { | 3974 ['target_arch=="x64"', { |
3970 'target_conditions': [ | 3975 'target_conditions': [ |
3971 ['_toolset=="target"', { | 3976 ['_toolset=="target"', { |
3972 'conditions': [ | 3977 'conditions': [ |
3973 # Use gold linker for Android x64 target. | 3978 # Use gold linker for Android x64 target. |
(...skipping 2345 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
6319 # settings in target dicts. SYMROOT is a special case, because many other | 6324 # settings in target dicts. SYMROOT is a special case, because many other |
6320 # Xcode variables depend on it, including variables such as | 6325 # Xcode variables depend on it, including variables such as |
6321 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 6326 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
6322 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 6327 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
6323 # files to appear (when present) in the UI as actual files and not red | 6328 # files to appear (when present) in the UI as actual files and not red |
6324 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 6329 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
6325 # and therefore SYMROOT, needs to be set at the project level. | 6330 # and therefore SYMROOT, needs to be set at the project level. |
6326 'SYMROOT': '<(DEPTH)/xcodebuild', | 6331 'SYMROOT': '<(DEPTH)/xcodebuild', |
6327 }, | 6332 }, |
6328 } | 6333 } |
OLD | NEW |