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

Side by Side Diff: build/common.gypi

Issue 11413011: Add -Wobjc-missing-property-synthesis to comment on symbolic name (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: fixery Created 8 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 3110 matching lines...) Expand 10 before | Expand all | Expand 10 after
3121 # development except for ASan builds. 3121 # development except for ASan builds.
3122 ['clang==1', { 3122 ['clang==1', {
3123 'CC': '$(SOURCE_ROOT)/<(clang_dir)/clang', 3123 'CC': '$(SOURCE_ROOT)/<(clang_dir)/clang',
3124 'LDPLUSPLUS': '$(SOURCE_ROOT)/<(clang_dir)/clang++', 3124 'LDPLUSPLUS': '$(SOURCE_ROOT)/<(clang_dir)/clang++',
3125 3125
3126 # Don't use -Wc++0x-extensions, which Xcode 4 enables by default 3126 # Don't use -Wc++0x-extensions, which Xcode 4 enables by default
3127 # when building with clang. This warning is triggered when the 3127 # when building with clang. This warning is triggered when the
3128 # override keyword is used via the OVERRIDE macro from 3128 # override keyword is used via the OVERRIDE macro from
3129 # base/compiler_specific.h. 3129 # base/compiler_specific.h.
3130 'CLANG_WARN_CXX0X_EXTENSIONS': 'NO', 3130 'CLANG_WARN_CXX0X_EXTENSIONS': 'NO',
3131 # Warn if automatic synthesis is triggered. 3131 # Warn if automatic synthesis is triggered with
3132 # the -Wobjc-missing-property-synthesis flag.
3132 'CLANG_WARN_OBJC_MISSING_PROPERTY_SYNTHESIS': 'YES', 3133 'CLANG_WARN_OBJC_MISSING_PROPERTY_SYNTHESIS': 'YES',
3133 'GCC_VERSION': 'com.apple.compilers.llvm.clang.1_0', 3134 'GCC_VERSION': 'com.apple.compilers.llvm.clang.1_0',
3134 'WARNING_CFLAGS': [ 3135 'WARNING_CFLAGS': [
3135 '-Wheader-hygiene', 3136 '-Wheader-hygiene',
3136 # Don't die on dtoa code that uses a char as an array index. 3137 # Don't die on dtoa code that uses a char as an array index.
3137 # This is required solely for base/third_party/dmg_fp/dtoa.cc. 3138 # This is required solely for base/third_party/dmg_fp/dtoa.cc.
3138 '-Wno-char-subscripts', 3139 '-Wno-char-subscripts',
3139 # Clang spots more unused functions. 3140 # Clang spots more unused functions.
3140 '-Wno-unused-function', 3141 '-Wno-unused-function',
3141 # See comments on this flag higher up in this file. 3142 # See comments on this flag higher up in this file.
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
3351 3352
3352 # This next block is mostly common with the 'mac' section above, 3353 # This next block is mostly common with the 'mac' section above,
3353 # but keying off (or setting) 'clang' isn't valid for iOS as it 3354 # but keying off (or setting) 'clang' isn't valid for iOS as it
3354 # also seems to mean using the custom build of clang. 3355 # also seems to mean using the custom build of clang.
3355 3356
3356 # Don't use -Wc++0x-extensions, which Xcode 4 enables by default 3357 # Don't use -Wc++0x-extensions, which Xcode 4 enables by default
3357 # when building with clang. This warning is triggered when the 3358 # when building with clang. This warning is triggered when the
3358 # override keyword is used via the OVERRIDE macro from 3359 # override keyword is used via the OVERRIDE macro from
3359 # base/compiler_specific.h. 3360 # base/compiler_specific.h.
3360 'CLANG_WARN_CXX0X_EXTENSIONS': 'NO', 3361 'CLANG_WARN_CXX0X_EXTENSIONS': 'NO',
3361 # Warn if automatic synthesis is triggered. 3362 # Warn if automatic synthesis is triggered with
3363 # the -Wobjc-missing-property-synthesis flag.
3362 'CLANG_WARN_OBJC_MISSING_PROPERTY_SYNTHESIS': 'YES', 3364 'CLANG_WARN_OBJC_MISSING_PROPERTY_SYNTHESIS': 'YES',
3363 'WARNING_CFLAGS': [ 3365 'WARNING_CFLAGS': [
3364 '-Wheader-hygiene', 3366 '-Wheader-hygiene',
3365 # Don't die on dtoa code that uses a char as an array index. 3367 # Don't die on dtoa code that uses a char as an array index.
3366 # This is required solely for base/third_party/dmg_fp/dtoa.cc. 3368 # This is required solely for base/third_party/dmg_fp/dtoa.cc.
3367 '-Wno-char-subscripts', 3369 '-Wno-char-subscripts',
3368 # Clang spots more unused functions. 3370 # Clang spots more unused functions.
3369 '-Wno-unused-function', 3371 '-Wno-unused-function',
3370 # See comments on this flag higher up in this file. 3372 # See comments on this flag higher up in this file.
3371 '-Wno-unnamed-type-template-args', 3373 '-Wno-unnamed-type-template-args',
(...skipping 402 matching lines...) Expand 10 before | Expand all | Expand 10 after
3774 # settings in target dicts. SYMROOT is a special case, because many other 3776 # settings in target dicts. SYMROOT is a special case, because many other
3775 # Xcode variables depend on it, including variables such as 3777 # Xcode variables depend on it, including variables such as
3776 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 3778 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
3777 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 3779 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
3778 # files to appear (when present) in the UI as actual files and not red 3780 # files to appear (when present) in the UI as actual files and not red
3779 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 3781 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
3780 # and therefore SYMROOT, needs to be set at the project level. 3782 # and therefore SYMROOT, needs to be set at the project level.
3781 'SYMROOT': '<(DEPTH)/xcodebuild', 3783 'SYMROOT': '<(DEPTH)/xcodebuild',
3782 }, 3784 },
3783 } 3785 }
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