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

Side by Side Diff: build/common.gypi

Issue 1516433003: Roll Clang 254793:255169 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 years 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 | build/config/clang/BUILD.gn » ('j') | 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 2210 matching lines...) Expand 10 before | Expand all | Expand 10 after
2221 }], 2221 }],
2222 ], 2222 ],
2223 }, 2223 },
2224 'clang_dynlib_flags%': '-Xclang -load -Xclang <(clang_lib_path) ', 2224 'clang_dynlib_flags%': '-Xclang -load -Xclang <(clang_lib_path) ',
2225 }, { # OS == "win" 2225 }, { # OS == "win"
2226 # On Windows, the plugin is built directly into clang, so there's 2226 # On Windows, the plugin is built directly into clang, so there's
2227 # no need to load it dynamically. 2227 # no need to load it dynamically.
2228 'clang_dynlib_flags%': '', 2228 'clang_dynlib_flags%': '',
2229 }], 2229 }],
2230 ], 2230 ],
2231 'clang_plugin_args%': '-Xclang -plugin-arg-find-bad-constructs -Xclang check-templates ' 2231 'clang_plugin_args%': '-Xclang -plugin-arg-find-bad-constructs -Xclang check-templates',
2232 '-Xclang -plugin-arg-find-bad-constructs -Xclang enforce-overriding-bl ink ',
2233 }, 2232 },
2234 # If you change these, also change build/config/clang/BUILD.gn. 2233 # If you change these, also change build/config/clang/BUILD.gn.
2235 'clang_chrome_plugins_flags%': 2234 'clang_chrome_plugins_flags%':
2236 '<(clang_dynlib_flags)' 2235 '<(clang_dynlib_flags)'
2237 '-Xclang -add-plugin -Xclang find-bad-constructs <(clang_plugin_args)' , 2236 '-Xclang -add-plugin -Xclang find-bad-constructs <(clang_plugin_args)' ,
2238 }], 2237 }],
2239 ['asan==1 or msan==1 or lsan==1 or tsan==1', { 2238 ['asan==1 or msan==1 or lsan==1 or tsan==1', {
2240 'clang%': 1, 2239 'clang%': 1,
2241 'use_allocator%': 'none', 2240 'use_allocator%': 'none',
2242 'use_sanitizer_options%': 1, 2241 'use_sanitizer_options%': 1,
(...skipping 4155 matching lines...) Expand 10 before | Expand all | Expand 10 after
6398 # settings in target dicts. SYMROOT is a special case, because many other 6397 # settings in target dicts. SYMROOT is a special case, because many other
6399 # Xcode variables depend on it, including variables such as 6398 # Xcode variables depend on it, including variables such as
6400 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 6399 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
6401 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 6400 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
6402 # files to appear (when present) in the UI as actual files and not red 6401 # files to appear (when present) in the UI as actual files and not red
6403 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 6402 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
6404 # and therefore SYMROOT, needs to be set at the project level. 6403 # and therefore SYMROOT, needs to be set at the project level.
6405 'SYMROOT': '<(DEPTH)/xcodebuild', 6404 'SYMROOT': '<(DEPTH)/xcodebuild',
6406 }, 6405 },
6407 } 6406 }
OLDNEW
« no previous file with comments | « no previous file | build/config/clang/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698