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

Side by Side Diff: build/common.gypi

Issue 13811009: Fix build warnings with gcc4.8 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add gcc_version check Created 7 years, 8 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 2676 matching lines...) Expand 10 before | Expand all | Expand 10 after
2687 }, 2687 },
2688 'profile': { 2688 'profile': {
2689 'cflags': ['-pg', '-g'], 2689 'cflags': ['-pg', '-g'],
2690 'ldflags': ['-pg'], 2690 'ldflags': ['-pg'],
2691 }, 2691 },
2692 'symbols': { 2692 'symbols': {
2693 'cflags': ['-g'], 2693 'cflags': ['-g'],
2694 }, 2694 },
2695 }, 2695 },
2696 'conditions': [ 2696 'conditions': [
2697 # Don't warn about the "typedef 'foo' locally defined but not used"
2698 # for gcc 4.8.
2699 # TODO: remove this flag once all builds work. See crbug.com/227506
2700 [ 'gcc_version>=48', {
2701 'cflags': [
2702 '-Wno-unused-local-typedefs',
2703 ],
2704 }],
2697 ['target_arch=="ia32"', { 2705 ['target_arch=="ia32"', {
2698 'target_conditions': [ 2706 'target_conditions': [
2699 ['_toolset=="target"', { 2707 ['_toolset=="target"', {
2700 'asflags': [ 2708 'asflags': [
2701 # Needed so that libs with .s files (e.g. libicudata.a) 2709 # Needed so that libs with .s files (e.g. libicudata.a)
2702 # are compatible with the general 32-bit-ness. 2710 # are compatible with the general 32-bit-ness.
2703 '-32', 2711 '-32',
2704 ], 2712 ],
2705 # All floating-point computations on x87 happens in 80-bit 2713 # All floating-point computations on x87 happens in 80-bit
2706 # precision. Because the C and C++ language standards allow 2714 # precision. Because the C and C++ language standards allow
(...skipping 1515 matching lines...) Expand 10 before | Expand all | Expand 10 after
4222 # settings in target dicts. SYMROOT is a special case, because many other 4230 # settings in target dicts. SYMROOT is a special case, because many other
4223 # Xcode variables depend on it, including variables such as 4231 # Xcode variables depend on it, including variables such as
4224 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 4232 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
4225 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 4233 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
4226 # files to appear (when present) in the UI as actual files and not red 4234 # files to appear (when present) in the UI as actual files and not red
4227 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 4235 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
4228 # and therefore SYMROOT, needs to be set at the project level. 4236 # and therefore SYMROOT, needs to be set at the project level.
4229 'SYMROOT': '<(DEPTH)/xcodebuild', 4237 'SYMROOT': '<(DEPTH)/xcodebuild',
4230 }, 4238 },
4231 } 4239 }
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