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

Side by Side Diff: build/common.gypi

Issue 1139493003: plugin/win: Error in warnings-as-error builds. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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 2156 matching lines...) Expand 10 before | Expand all | Expand 10 after
2167 'variables': { 2167 'variables': {
2168 'conditions': [ 2168 'conditions': [
2169 ['OS=="mac" or OS=="ios"', { 2169 ['OS=="mac" or OS=="ios"', {
2170 'clang_lib_path%': '<!(cd <(DEPTH) && pwd -P)/third_party/ll vm-build/Release+Asserts/lib/libFindBadConstructs.dylib', 2170 'clang_lib_path%': '<!(cd <(DEPTH) && pwd -P)/third_party/ll vm-build/Release+Asserts/lib/libFindBadConstructs.dylib',
2171 }, { # OS != "mac" or OS != "ios" 2171 }, { # OS != "mac" or OS != "ios"
2172 'clang_lib_path%': '<!(cd <(DEPTH) && pwd -P)/third_party/ll vm-build/Release+Asserts/lib/libFindBadConstructs.so', 2172 'clang_lib_path%': '<!(cd <(DEPTH) && pwd -P)/third_party/ll vm-build/Release+Asserts/lib/libFindBadConstructs.so',
2173 }], 2173 }],
2174 ], 2174 ],
2175 }, 2175 },
2176 'clang_dynlib_flags%': '-Xclang -load -Xclang <(clang_lib_path) ', 2176 'clang_dynlib_flags%': '-Xclang -load -Xclang <(clang_lib_path) ',
2177 'clang_plugin_args%': '',
2178 }, { # OS == "win" 2177 }, { # OS == "win"
2179 # On Windows, the plugin is built directly into clang, so there's 2178 # On Windows, the plugin is built directly into clang, so there's
2180 # no need to load it dynamically. 2179 # no need to load it dynamically.
2181 'clang_dynlib_flags%': '', 2180 'clang_dynlib_flags%': '',
2182
2183 # Don't error on plugin warnings on Windows until pre-existing war nings
2184 # are cleaned up. https://crbug.com/467287
2185 'clang_plugin_args%': '-Xclang -plugin-arg-find-bad-constructs -Xc lang warn-only',
2186 }] 2181 }]
2187 ], 2182 ],
2188 }, 2183 },
2189 # If you change these, also change build/config/clang/BUILD.gn. 2184 # If you change these, also change build/config/clang/BUILD.gn.
2190 'clang_chrome_plugins_flags%': 2185 'clang_chrome_plugins_flags%':
2191 '<(clang_dynlib_flags)' 2186 '<(clang_dynlib_flags)'
2192 '-Xclang -add-plugin -Xclang find-bad-constructs ' 2187 '-Xclang -add-plugin -Xclang find-bad-constructs ',
2193 '<(clang_plugin_args)',
2194 }], 2188 }],
2195 ['asan==1 or msan==1 or lsan==1 or tsan==1', { 2189 ['asan==1 or msan==1 or lsan==1 or tsan==1', {
2196 'clang%': 1, 2190 'clang%': 1,
2197 'use_allocator%': 'none', 2191 'use_allocator%': 'none',
2198 'use_sanitizer_options%': 1, 2192 'use_sanitizer_options%': 1,
2199 # Disable ICF in the linker to avoid debug info loss. 2193 # Disable ICF in the linker to avoid debug info loss.
2200 'gold_icf_level%': 'none', 2194 'gold_icf_level%': 'none',
2201 }], 2195 }],
2202 ['asan==1 and OS=="linux" and chromeos==0', { 2196 ['asan==1 and OS=="linux" and chromeos==0', {
2203 'use_custom_libcxx%': 1, 2197 'use_custom_libcxx%': 1,
(...skipping 3982 matching lines...) Expand 10 before | Expand all | Expand 10 after
6186 # settings in target dicts. SYMROOT is a special case, because many other 6180 # settings in target dicts. SYMROOT is a special case, because many other
6187 # Xcode variables depend on it, including variables such as 6181 # Xcode variables depend on it, including variables such as
6188 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 6182 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
6189 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 6183 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
6190 # files to appear (when present) in the UI as actual files and not red 6184 # files to appear (when present) in the UI as actual files and not red
6191 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 6185 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
6192 # and therefore SYMROOT, needs to be set at the project level. 6186 # and therefore SYMROOT, needs to be set at the project level.
6193 'SYMROOT': '<(DEPTH)/xcodebuild', 6187 'SYMROOT': '<(DEPTH)/xcodebuild',
6194 }, 6188 },
6195 } 6189 }
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