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

Side by Side Diff: build/common.gypi

Issue 669131: ARM: add arm_fpu option to specify which version of vfp to use (Closed)
Patch Set: . Created 10 years, 9 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) 2010 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2010 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': { 9 'variables': {
10 # .gyp files or targets should set chromium_code to 1 if they build 10 # .gyp files or targets should set chromium_code to 1 if they build
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 # Set to select the Title Case versions of strings in GRD files. 208 # Set to select the Title Case versions of strings in GRD files.
209 'use_titlecase_in_grd_files%': 0, 209 'use_titlecase_in_grd_files%': 0,
210 210
211 # Used to disable Native Client at compile time, for platforms where it 211 # Used to disable Native Client at compile time, for platforms where it
212 # isn't supported 212 # isn't supported
213 'disable_nacl%': 0, 213 'disable_nacl%': 0,
214 214
215 # Set Thumb compilation flags. 215 # Set Thumb compilation flags.
216 'arm_thumb%': 0, 216 'arm_thumb%': 0,
217 217
218 # Set ARM fpu compilation flags (only meaningful if armv7==1 and
219 # arm_neon==0).
220 'arm_fpu%': 'vfpv3',
221
218 'conditions': [ 222 'conditions': [
219 ['OS=="linux" or OS=="freebsd" or OS=="openbsd"', { 223 ['OS=="linux" or OS=="freebsd" or OS=="openbsd"', {
220 # This will set gcc_version to XY if you are running gcc X.Y.*. 224 # This will set gcc_version to XY if you are running gcc X.Y.*.
221 # This is used to tweak build flags for gcc 4.4. 225 # This is used to tweak build flags for gcc 4.4.
222 'gcc_version%': '<!(python <(DEPTH)/build/compiler_version.py)', 226 'gcc_version%': '<!(python <(DEPTH)/build/compiler_version.py)',
223 # Figure out the python architecture to decide if we build pyauto. 227 # Figure out the python architecture to decide if we build pyauto.
224 'python_arch%': '<!(<(DEPTH)/build/linux/python_arch.sh <(sysroot)/usr/l ib/libpython<(python_ver).so.1.0)', 228 'python_arch%': '<!(<(DEPTH)/build/linux/python_arch.sh <(sysroot)/usr/l ib/libpython<(python_ver).so.1.0)',
225 'conditions': [ 229 'conditions': [
226 ['branding=="Chrome" or linux_chromium_breakpad==1', { 230 ['branding=="Chrome" or linux_chromium_breakpad==1', {
227 'linux_breakpad%': 1, 231 'linux_breakpad%': 1,
(...skipping 687 matching lines...) Expand 10 before | Expand all | Expand 10 after
915 ['armv7==1', { 919 ['armv7==1', {
916 'cflags': [ 920 'cflags': [
917 '-march=armv7-a', 921 '-march=armv7-a',
918 '-mtune=cortex-a8', 922 '-mtune=cortex-a8',
919 '-mfloat-abi=softfp', 923 '-mfloat-abi=softfp',
920 ], 924 ],
921 'conditions': [ 925 'conditions': [
922 ['arm_neon==1', { 926 ['arm_neon==1', {
923 'cflags': [ '-mfpu=neon', ], 927 'cflags': [ '-mfpu=neon', ],
924 }, { 928 }, {
925 'cflags': [ '-mfpu=vfpv3', ], 929 'cflags': [ '-mfpu=<(arm_fpu)', ],
926 }] 930 }]
927 ], 931 ],
928 }], 932 }],
929 ], 933 ],
930 }], 934 }],
931 ], 935 ],
932 }], 936 }],
933 ['linux_fpic==1', { 937 ['linux_fpic==1', {
934 'cflags': [ 938 'cflags': [
935 '-fPIC', 939 '-fPIC',
(...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after
1234 # and therefore SYMROOT, needs to be set at the project level. 1238 # and therefore SYMROOT, needs to be set at the project level.
1235 'SYMROOT': '<(DEPTH)/xcodebuild', 1239 'SYMROOT': '<(DEPTH)/xcodebuild',
1236 }, 1240 },
1237 } 1241 }
1238 1242
1239 # Local Variables: 1243 # Local Variables:
1240 # tab-width:2 1244 # tab-width:2
1241 # indent-tabs-mode:nil 1245 # indent-tabs-mode:nil
1242 # End: 1246 # End:
1243 # vim: set expandtab tabstop=2 shiftwidth=2: 1247 # vim: set expandtab tabstop=2 shiftwidth=2:
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