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

Side by Side Diff: build/common.gypi

Issue 10972012: Turn off SSE2 when building for ARM or MIPS. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | third_party/qcms/qcms.gyp » ('j') | 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 601 matching lines...) Expand 10 before | Expand all | Expand 10 after
612 'use_xi2_mt%':'<(use_xi2_mt)', 612 'use_xi2_mt%':'<(use_xi2_mt)',
613 'file_manager_extension%': '<(file_manager_extension)', 613 'file_manager_extension%': '<(file_manager_extension)',
614 'inside_chromium_build%': '<(inside_chromium_build)', 614 'inside_chromium_build%': '<(inside_chromium_build)',
615 'fastbuild%': '<(fastbuild)', 615 'fastbuild%': '<(fastbuild)',
616 'dcheck_always_on%': '<(dcheck_always_on)', 616 'dcheck_always_on%': '<(dcheck_always_on)',
617 'python_ver%': '<(python_ver)', 617 'python_ver%': '<(python_ver)',
618 'armv7%': '<(armv7)', 618 'armv7%': '<(armv7)',
619 'arm_neon%': '<(arm_neon)', 619 'arm_neon%': '<(arm_neon)',
620 'sysroot%': '<(sysroot)', 620 'sysroot%': '<(sysroot)',
621 'system_libdir%': '<(system_libdir)', 621 'system_libdir%': '<(system_libdir)',
622 'disable_sse2%': '<(disable_sse2)',
623 'component%': '<(component)', 622 'component%': '<(component)',
624 'use_titlecase_in_grd_files%': '<(use_titlecase_in_grd_files)', 623 'use_titlecase_in_grd_files%': '<(use_titlecase_in_grd_files)',
625 'use_third_party_translations%': '<(use_third_party_translations)', 624 'use_third_party_translations%': '<(use_third_party_translations)',
626 'remoting%': '<(remoting)', 625 'remoting%': '<(remoting)',
627 'enable_one_click_signin%': '<(enable_one_click_signin)', 626 'enable_one_click_signin%': '<(enable_one_click_signin)',
628 'enable_webrtc%': '<(enable_webrtc)', 627 'enable_webrtc%': '<(enable_webrtc)',
629 'chromium_win_pch%': '<(chromium_win_pch)', 628 'chromium_win_pch%': '<(chromium_win_pch)',
630 'configuration_policy%': '<(configuration_policy)', 629 'configuration_policy%': '<(configuration_policy)',
631 'safe_browsing%': '<(safe_browsing)', 630 'safe_browsing%': '<(safe_browsing)',
632 'input_speech%': '<(input_speech)', 631 'input_speech%': '<(input_speech)',
(...skipping 534 matching lines...) Expand 10 before | Expand all | Expand 10 after
1167 'use_cups%': 0, 1166 'use_cups%': 0,
1168 }], 1167 }],
1169 1168
1170 # Native Client glibc toolchain is enabled by default except on arm. 1169 # Native Client glibc toolchain is enabled by default except on arm.
1171 ['target_arch=="arm"', { 1170 ['target_arch=="arm"', {
1172 'disable_glibc%': 1, 1171 'disable_glibc%': 1,
1173 }, { 1172 }, {
1174 'disable_glibc%': 0, 1173 'disable_glibc%': 0,
1175 }], 1174 }],
1176 1175
1176 # Disable SSE2 when building for ARM or MIPS.
1177 ['target_arch=="arm" or target_arch=="mipsel"', {
1178 'disable_sse2%': 1,
1179 }, {
1180 'disable_sse2%': '<(disable_sse2)',
1181 }],
1182
1177 # Set the relative path from this file to the GYP file of the JPEG 1183 # Set the relative path from this file to the GYP file of the JPEG
1178 # library used by Chromium. 1184 # library used by Chromium.
1179 ['use_system_libjpeg==1 or use_libjpeg_turbo==0', { 1185 ['use_system_libjpeg==1 or use_libjpeg_turbo==0', {
1180 # Configuration for using the system libjeg is here. 1186 # Configuration for using the system libjeg is here.
1181 'libjpeg_gyp_path': '../third_party/libjpeg/libjpeg.gyp', 1187 'libjpeg_gyp_path': '../third_party/libjpeg/libjpeg.gyp',
1182 }, { 1188 }, {
1183 'libjpeg_gyp_path': '../third_party/libjpeg_turbo/libjpeg.gyp', 1189 'libjpeg_gyp_path': '../third_party/libjpeg_turbo/libjpeg.gyp',
1184 }], 1190 }],
1185 1191
1186 # Options controlling the use of GConf (the classic GNOME configuration 1192 # Options controlling the use of GConf (the classic GNOME configuration
(...skipping 2288 matching lines...) Expand 10 before | Expand all | Expand 10 after
3475 # settings in target dicts. SYMROOT is a special case, because many other 3481 # settings in target dicts. SYMROOT is a special case, because many other
3476 # Xcode variables depend on it, including variables such as 3482 # Xcode variables depend on it, including variables such as
3477 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 3483 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
3478 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 3484 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
3479 # files to appear (when present) in the UI as actual files and not red 3485 # files to appear (when present) in the UI as actual files and not red
3480 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 3486 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
3481 # and therefore SYMROOT, needs to be set at the project level. 3487 # and therefore SYMROOT, needs to be set at the project level.
3482 'SYMROOT': '<(DEPTH)/xcodebuild', 3488 'SYMROOT': '<(DEPTH)/xcodebuild',
3483 }, 3489 },
3484 } 3490 }
OLDNEW
« no previous file with comments | « no previous file | third_party/qcms/qcms.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698