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

Side by Side Diff: build/common.gypi

Issue 1260803002: Use clang by default for mips builds (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 1831 matching lines...) Expand 10 before | Expand all | Expand 10 after
1842 'arm_arch%': '', 1842 'arm_arch%': '',
1843 'arm_tune%': 'cortex-a9', 1843 'arm_tune%': 'cortex-a9',
1844 'arm_thumb%': 1, 1844 'arm_thumb%': 1,
1845 'video_hole%': 1, 1845 'video_hole%': 1,
1846 }], 1846 }],
1847 ], 1847 ],
1848 }], 1848 }],
1849 ['chromecast==1 and OS!="android"', { 1849 ['chromecast==1 and OS!="android"', {
1850 'ozone_platform_cast%': 1 1850 'ozone_platform_cast%': 1
1851 }], 1851 }],
1852 ['OS=="linux" and target_arch!="mipsel"', { 1852 ['OS=="linux"', {
1853 'clang%': 1, 1853 'clang%': 1,
1854 }], # OS=="mac" 1854 }], # OS=="mac"
1855 ['OS=="mac"', { 1855 ['OS=="mac"', {
1856 'conditions': [ 1856 'conditions': [
1857 # All Chrome builds have breakpad symbols, but only process the 1857 # All Chrome builds have breakpad symbols, but only process the
1858 # symbols from official builds. 1858 # symbols from official builds.
1859 ['(branding=="Chrome" and buildtype=="Official")', { 1859 ['(branding=="Chrome" and buildtype=="Official")', {
1860 'mac_strip_release%': 1, 1860 'mac_strip_release%': 1,
1861 }], 1861 }],
1862 ], 1862 ],
(...skipping 487 matching lines...) Expand 10 before | Expand all | Expand 10 after
2350 ], 2350 ],
2351 'arm_thumb%': 1, 2351 'arm_thumb%': 1,
2352 }], 2352 }],
2353 2353
2354 # Set default compiler flags for MIPS floating-point support. 2354 # Set default compiler flags for MIPS floating-point support.
2355 ['target_arch=="mipsel"', { 2355 ['target_arch=="mipsel"', {
2356 'mips_float_abi%': 'hard', 2356 'mips_float_abi%': 'hard',
2357 }], 2357 }],
2358 ['target_arch=="mipsel" and mips_arch_variant=="r2"', { 2358 ['target_arch=="mipsel" and mips_arch_variant=="r2"', {
2359 'mips_fpu_mode%': 'fp32', 2359 'mips_fpu_mode%': 'fp32',
2360 }, {
2361 'mips_fpu_mode%': '',
2360 }], 2362 }],
2361 2363
2362 # Enable brlapi by default for chromeos. 2364 # Enable brlapi by default for chromeos.
2363 ['chromeos==1', { 2365 ['chromeos==1', {
2364 'use_brlapi%': 1, 2366 'use_brlapi%': 1,
2365 }], 2367 }],
2366 2368
2367 ['use_ozone==1 and ozone_auto_platforms==1', { 2369 ['use_ozone==1 and ozone_auto_platforms==1', {
2368 # Use test as the default platform. 2370 # Use test as the default platform.
2369 'ozone_platform%': 'test', 2371 'ozone_platform%': 'test',
(...skipping 3875 matching lines...) Expand 10 before | Expand all | Expand 10 after
6245 # settings in target dicts. SYMROOT is a special case, because many other 6247 # settings in target dicts. SYMROOT is a special case, because many other
6246 # Xcode variables depend on it, including variables such as 6248 # Xcode variables depend on it, including variables such as
6247 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 6249 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
6248 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 6250 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
6249 # files to appear (when present) in the UI as actual files and not red 6251 # files to appear (when present) in the UI as actual files and not red
6250 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 6252 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
6251 # and therefore SYMROOT, needs to be set at the project level. 6253 # and therefore SYMROOT, needs to be set at the project level.
6252 'SYMROOT': '<(DEPTH)/xcodebuild', 6254 'SYMROOT': '<(DEPTH)/xcodebuild',
6253 }, 6255 },
6254 } 6256 }
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