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

Side by Side Diff: build/common.gypi

Issue 17003006: Pass -Wno-header-guard when using Clang to avoid reporting the following error in the system NSS he… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 6 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 | 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 3063 matching lines...) Expand 10 before | Expand all | Expand 10 after
3074 3074
3075 # Clang spots more unused functions. 3075 # Clang spots more unused functions.
3076 '-Wno-unused-function', 3076 '-Wno-unused-function',
3077 3077
3078 # Warns on switches on enums that cover all enum values but 3078 # Warns on switches on enums that cover all enum values but
3079 # also contain a default: branch. Chrome is full of that. 3079 # also contain a default: branch. Chrome is full of that.
3080 '-Wno-covered-switch-default', 3080 '-Wno-covered-switch-default',
3081 3081
3082 # Warns when a const char[] is converted to bool. 3082 # Warns when a const char[] is converted to bool.
3083 '-Wstring-conversion', 3083 '-Wstring-conversion',
3084
3085 # Clang reports an incorrect define guard in
3086 # /usr/include/nss/secmod.h
wtc 2013/06/19 20:01:22 I forgot to add: please add the upstream NSS bug U
3087 '-Wno-header-guard',
3088
3084 ], 3089 ],
3085 'cflags!': [ 3090 'cflags!': [
3086 # Clang doesn't seem to know know this flag. 3091 # Clang doesn't seem to know know this flag.
3087 '-mfpmath=sse', 3092 '-mfpmath=sse',
3088 ], 3093 ],
3089 }], 3094 }],
3090 ['clang==1 and OS!="android"', { 3095 ['clang==1 and OS!="android"', {
3091 # Turn on C++11. 3096 # Turn on C++11.
3092 'cflags': [ 3097 'cflags': [
3093 # This warns on using ints as initializers for floats in 3098 # This warns on using ints as initializers for floats in
(...skipping 1478 matching lines...) Expand 10 before | Expand all | Expand 10 after
4572 # settings in target dicts. SYMROOT is a special case, because many other 4577 # settings in target dicts. SYMROOT is a special case, because many other
4573 # Xcode variables depend on it, including variables such as 4578 # Xcode variables depend on it, including variables such as
4574 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 4579 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
4575 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 4580 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
4576 # files to appear (when present) in the UI as actual files and not red 4581 # files to appear (when present) in the UI as actual files and not red
4577 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 4582 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
4578 # and therefore SYMROOT, needs to be set at the project level. 4583 # and therefore SYMROOT, needs to be set at the project level.
4579 'SYMROOT': '<(DEPTH)/xcodebuild', 4584 'SYMROOT': '<(DEPTH)/xcodebuild',
4580 }, 4585 },
4581 } 4586 }
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