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

Side by Side Diff: build/common.gypi

Issue 61643017: Remove the intent to turn on Wextra for gcc (except MacOS) (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Remove the intent to turn on Werror for gcc Created 7 years, 1 month 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 2822 matching lines...) Expand 10 before | Expand all | Expand 10 after
2833 }, 2833 },
2834 'defines': [ 2834 'defines': [
2835 '_FILE_OFFSET_BITS=64', 2835 '_FILE_OFFSET_BITS=64',
2836 ], 2836 ],
2837 'cflags': [ 2837 'cflags': [
2838 '<(werror)', # See note above about the werror variable. 2838 '<(werror)', # See note above about the werror variable.
2839 '-pthread', 2839 '-pthread',
2840 '-fno-exceptions', 2840 '-fno-exceptions',
2841 '-fno-strict-aliasing', # See http://crbug.com/32204 2841 '-fno-strict-aliasing', # See http://crbug.com/32204
2842 '-Wall', 2842 '-Wall',
2843 # TODO(evan): turn this back on once all the builds work.
2844 # '-Wextra',
2845 # Don't warn about unused function params. We use those everywhere.
2846 '-Wno-unused-parameter',
2847 # Don't warn about the "struct foo f = {0};" initialization pattern.
2848 '-Wno-missing-field-initializers',
Nico 2013/11/10 03:41:08 Are -Wno-unused-parameter and -Wno-missing-field-i
lgombos 2013/11/10 04:16:28 The scope of this section is 'os_posix==1 and OS!=
lgombos 2014/07/04 19:06:46 It is the latter - it is not needed if -Wextra isn
2849 # Don't export any symbols (for example, to plugins we dlopen()). 2843 # Don't export any symbols (for example, to plugins we dlopen()).
2850 # Note: this is *required* to make some plugins work. 2844 # Note: this is *required* to make some plugins work.
2851 '-fvisibility=hidden', 2845 '-fvisibility=hidden',
2852 '-pipe', 2846 '-pipe',
2853 ], 2847 ],
2854 'cflags_cc': [ 2848 'cflags_cc': [
2855 '-fno-rtti', 2849 '-fno-rtti',
2856 '-fno-threadsafe-statics', 2850 '-fno-threadsafe-statics',
2857 # Make inline functions have hidden visiblity by default. 2851 # Make inline functions have hidden visiblity by default.
2858 # Surprisingly, not covered by -fvisibility=hidden. 2852 # Surprisingly, not covered by -fvisibility=hidden.
(...skipping 1841 matching lines...) Expand 10 before | Expand all | Expand 10 after
4700 # settings in target dicts. SYMROOT is a special case, because many other 4694 # settings in target dicts. SYMROOT is a special case, because many other
4701 # Xcode variables depend on it, including variables such as 4695 # Xcode variables depend on it, including variables such as
4702 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 4696 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
4703 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 4697 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
4704 # files to appear (when present) in the UI as actual files and not red 4698 # files to appear (when present) in the UI as actual files and not red
4705 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 4699 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
4706 # and therefore SYMROOT, needs to be set at the project level. 4700 # and therefore SYMROOT, needs to be set at the project level.
4707 'SYMROOT': '<(DEPTH)/xcodebuild', 4701 'SYMROOT': '<(DEPTH)/xcodebuild',
4708 }, 4702 },
4709 } 4703 }
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