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

Side by Side Diff: trunk/src/build/common.gypi

Issue 27092002: Revert 227219 "Revert 226920 "Roll Clang 188423:191856."" (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 2 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
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 3104 matching lines...) Expand 10 before | Expand all | Expand 10 after
3115 }], 3115 }],
3116 ['clang==1', { 3116 ['clang==1', {
3117 'cflags!': [ 3117 'cflags!': [
3118 # Clang does not support the following options. 3118 # Clang does not support the following options.
3119 '-mthumb-interwork', 3119 '-mthumb-interwork',
3120 '-finline-limit=64', 3120 '-finline-limit=64',
3121 '-fno-tree-sra', 3121 '-fno-tree-sra',
3122 '-fuse-ld=gold', 3122 '-fuse-ld=gold',
3123 '-Wno-psabi', 3123 '-Wno-psabi',
3124 ], 3124 ],
3125 'ldflags!': [
3126 # Clang does not support the following options.
3127 '-fuse-ld=gold',
3128 ],
3125 }], 3129 }],
3126 ], 3130 ],
3127 }], 3131 }],
3128 ], 3132 ],
3129 }], 3133 }],
3130 ], 3134 ],
3131 }], 3135 }],
3132 ['target_arch=="mipsel"', { 3136 ['target_arch=="mipsel"', {
3133 'target_conditions': [ 3137 'target_conditions': [
3134 ['_toolset=="target"', { 3138 ['_toolset=="target"', {
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
3199 # this is worth fixing. 3203 # this is worth fixing.
3200 '-Wno-c++11-narrowing', 3204 '-Wno-c++11-narrowing',
3201 3205
3202 # TODO(thakis): Remove, http://crbug.com/263960 3206 # TODO(thakis): Remove, http://crbug.com/263960
3203 '-Wno-reserved-user-defined-literal', 3207 '-Wno-reserved-user-defined-literal',
3204 3208
3205 # Clang considers the `register` keyword as deprecated, but e.g. 3209 # Clang considers the `register` keyword as deprecated, but e.g.
3206 # code generated by flex (used in angle) contains that keyword. 3210 # code generated by flex (used in angle) contains that keyword.
3207 # http://crbug.com/255186 3211 # http://crbug.com/255186
3208 '-Wno-deprecated-register', 3212 '-Wno-deprecated-register',
3213
3214 # TODO(hans): Remove once we've cleaned up the warnings.
3215 '-Wno-unused-const-variable',
3216
3217 # This warns about auto_ptr<>, used in third-party code.
3218 '-Wno-deprecated-declarations',
3209 ], 3219 ],
3210 'cflags!': [ 3220 'cflags!': [
3211 # Clang doesn't seem to know know this flag. 3221 # Clang doesn't seem to know know this flag.
3212 '-mfpmath=sse', 3222 '-mfpmath=sse',
3213 ], 3223 ],
3214 'cflags_cc': [ 3224 'cflags_cc': [
3215 # See the comment in the Mac section for what it takes to move 3225 # See the comment in the Mac section for what it takes to move
3216 # this to -std=c++11. 3226 # this to -std=c++11.
3217 '-std=gnu++11', 3227 '-std=gnu++11',
3218 ], 3228 ],
(...skipping 683 matching lines...) Expand 10 before | Expand all | Expand 10 after
3902 # also contain a default: branch. Chrome is full of that. 3912 # also contain a default: branch. Chrome is full of that.
3903 '-Wno-covered-switch-default', 3913 '-Wno-covered-switch-default',
3904 3914
3905 # Warns when a const char[] is converted to bool. 3915 # Warns when a const char[] is converted to bool.
3906 '-Wstring-conversion', 3916 '-Wstring-conversion',
3907 3917
3908 # Clang considers the `register` keyword as deprecated, but e.g. 3918 # Clang considers the `register` keyword as deprecated, but e.g.
3909 # code generated by flex (used in angle) contains that keyword. 3919 # code generated by flex (used in angle) contains that keyword.
3910 # http://crbug.com/255186 3920 # http://crbug.com/255186
3911 '-Wno-deprecated-register', 3921 '-Wno-deprecated-register',
3922
3923 # TODO(hans): Remove once we've cleaned up the warnings.
3924 '-Wno-unused-const-variable',
3925
3926 # This warns about auto_ptr<>, used in third-party code.
3927 '-Wno-deprecated-declarations',
3912 ], 3928 ],
3913 }], 3929 }],
3914 ['clang==1 and clang_use_chrome_plugins==1', { 3930 ['clang==1 and clang_use_chrome_plugins==1', {
3915 'OTHER_CFLAGS': [ 3931 'OTHER_CFLAGS': [
3916 '<@(clang_chrome_plugins_flags)', 3932 '<@(clang_chrome_plugins_flags)',
3917 ], 3933 ],
3918 }], 3934 }],
3919 ['clang==1 and clang_load!=""', { 3935 ['clang==1 and clang_load!=""', {
3920 'OTHER_CFLAGS': [ 3936 'OTHER_CFLAGS': [
3921 '-Xclang', '-load', '-Xclang', '<(clang_load)', 3937 '-Xclang', '-load', '-Xclang', '<(clang_load)',
(...skipping 804 matching lines...) Expand 10 before | Expand all | Expand 10 after
4726 # settings in target dicts. SYMROOT is a special case, because many other 4742 # settings in target dicts. SYMROOT is a special case, because many other
4727 # Xcode variables depend on it, including variables such as 4743 # Xcode variables depend on it, including variables such as
4728 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 4744 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
4729 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 4745 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
4730 # files to appear (when present) in the UI as actual files and not red 4746 # files to appear (when present) in the UI as actual files and not red
4731 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 4747 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
4732 # and therefore SYMROOT, needs to be set at the project level. 4748 # and therefore SYMROOT, needs to be set at the project level.
4733 'SYMROOT': '<(DEPTH)/xcodebuild', 4749 'SYMROOT': '<(DEPTH)/xcodebuild',
4734 }, 4750 },
4735 } 4751 }
OLDNEW
« no previous file with comments | « trunk/src/base/security_unittest.cc ('k') | trunk/src/net/cert/multi_threaded_cert_verifier_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698