OLD | NEW |
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 2245 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2256 }, | 2256 }, |
2257 'clang_dynlib_flags%': '-Xclang -load -Xclang <(clang_lib_path) ', | 2257 'clang_dynlib_flags%': '-Xclang -load -Xclang <(clang_lib_path) ', |
2258 }, { # OS == "win" | 2258 }, { # OS == "win" |
2259 # On Windows, the plugin is built directly into clang, so there's | 2259 # On Windows, the plugin is built directly into clang, so there's |
2260 # no need to load it dynamically. | 2260 # no need to load it dynamically. |
2261 'clang_dynlib_flags%': '', | 2261 'clang_dynlib_flags%': '', |
2262 }], | 2262 }], |
2263 ], | 2263 ], |
2264 'clang_plugin_args%': '-Xclang -plugin-arg-find-bad-constructs -Xclang
check-templates ' | 2264 'clang_plugin_args%': '-Xclang -plugin-arg-find-bad-constructs -Xclang
check-templates ' |
2265 '-Xclang -plugin-arg-find-bad-constructs -Xclang follow-macro-expansio
n ', | 2265 '-Xclang -plugin-arg-find-bad-constructs -Xclang follow-macro-expansio
n ', |
| 2266 '-Xclang -plugin-arg-find-bad-constructs -Xclang check-implicit-copy-c
tors ', |
2266 }, | 2267 }, |
2267 # If you change these, also change build/config/clang/BUILD.gn. | 2268 # If you change these, also change build/config/clang/BUILD.gn. |
2268 'clang_chrome_plugins_flags%': | 2269 'clang_chrome_plugins_flags%': |
2269 '<(clang_dynlib_flags)' | 2270 '<(clang_dynlib_flags)' |
2270 '-Xclang -add-plugin -Xclang find-bad-constructs <(clang_plugin_args)'
, | 2271 '-Xclang -add-plugin -Xclang find-bad-constructs <(clang_plugin_args)'
, |
2271 }], | 2272 }], |
2272 ['asan==1 or msan==1 or lsan==1 or tsan==1', { | 2273 ['asan==1 or msan==1 or lsan==1 or tsan==1', { |
2273 'clang%': 1, | 2274 'clang%': 1, |
2274 'use_allocator%': 'none', | 2275 'use_allocator%': 'none', |
2275 'use_sanitizer_options%': 1, | 2276 'use_sanitizer_options%': 1, |
(...skipping 4124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6400 # settings in target dicts. SYMROOT is a special case, because many other | 6401 # settings in target dicts. SYMROOT is a special case, because many other |
6401 # Xcode variables depend on it, including variables such as | 6402 # Xcode variables depend on it, including variables such as |
6402 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 6403 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
6403 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 6404 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
6404 # files to appear (when present) in the UI as actual files and not red | 6405 # files to appear (when present) in the UI as actual files and not red |
6405 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 6406 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
6406 # and therefore SYMROOT, needs to be set at the project level. | 6407 # and therefore SYMROOT, needs to be set at the project level. |
6407 'SYMROOT': '<(DEPTH)/xcodebuild', | 6408 'SYMROOT': '<(DEPTH)/xcodebuild', |
6408 }, | 6409 }, |
6409 } | 6410 } |
OLD | NEW |