| 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 2230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2241 ], | 2241 ], |
| 2242 }, | 2242 }, |
| 2243 'clang_dynlib_flags%': '-Xclang -load -Xclang <(clang_lib_path) ', | 2243 'clang_dynlib_flags%': '-Xclang -load -Xclang <(clang_lib_path) ', |
| 2244 }, { # OS == "win" | 2244 }, { # OS == "win" |
| 2245 # On Windows, the plugin is built directly into clang, so there's | 2245 # On Windows, the plugin is built directly into clang, so there's |
| 2246 # no need to load it dynamically. | 2246 # no need to load it dynamically. |
| 2247 'clang_dynlib_flags%': '', | 2247 'clang_dynlib_flags%': '', |
| 2248 }], | 2248 }], |
| 2249 ], | 2249 ], |
| 2250 'clang_plugin_args%': '-Xclang -plugin-arg-find-bad-constructs -Xclang
check-templates ' | 2250 'clang_plugin_args%': '-Xclang -plugin-arg-find-bad-constructs -Xclang
check-templates ' |
| 2251 '-Xclang -plugin-arg-find-bad-constructs -Xclang follow-macro-expansio
n ' | 2251 '-Xclang -plugin-arg-find-bad-constructs -Xclang follow-macro-expansio
n ', |
| 2252 '-Xclang -plugin-arg-find-bad-constructs -Xclang check-implicit-copy-c
tors ', | |
| 2253 }, | 2252 }, |
| 2254 # If you change these, also change build/config/clang/BUILD.gn. | 2253 # If you change these, also change build/config/clang/BUILD.gn. |
| 2255 'clang_chrome_plugins_flags%': | 2254 'clang_chrome_plugins_flags%': |
| 2256 '<(clang_dynlib_flags)' | 2255 '<(clang_dynlib_flags)' |
| 2257 '-Xclang -add-plugin -Xclang find-bad-constructs <(clang_plugin_args)'
, | 2256 '-Xclang -add-plugin -Xclang find-bad-constructs <(clang_plugin_args)'
, |
| 2258 }], | 2257 }], |
| 2259 ['asan==1 or msan==1 or lsan==1 or tsan==1', { | 2258 ['asan==1 or msan==1 or lsan==1 or tsan==1', { |
| 2260 'clang%': 1, | 2259 'clang%': 1, |
| 2261 'use_allocator%': 'none', | 2260 'use_allocator%': 'none', |
| 2262 'use_sanitizer_options%': 1, | 2261 'use_sanitizer_options%': 1, |
| (...skipping 4102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6365 # settings in target dicts. SYMROOT is a special case, because many other | 6364 # settings in target dicts. SYMROOT is a special case, because many other |
| 6366 # Xcode variables depend on it, including variables such as | 6365 # Xcode variables depend on it, including variables such as |
| 6367 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 6366 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
| 6368 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 6367 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
| 6369 # files to appear (when present) in the UI as actual files and not red | 6368 # files to appear (when present) in the UI as actual files and not red |
| 6370 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 6369 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
| 6371 # and therefore SYMROOT, needs to be set at the project level. | 6370 # and therefore SYMROOT, needs to be set at the project level. |
| 6372 'SYMROOT': '<(DEPTH)/xcodebuild', | 6371 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 6373 }, | 6372 }, |
| 6374 } | 6373 } |
| OLD | NEW |