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 2226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2237 # If you change these, also change build/config/clang/BUILD.gn. | 2237 # If you change these, also change build/config/clang/BUILD.gn. |
2238 'clang_chrome_plugins_flags%': | 2238 'clang_chrome_plugins_flags%': |
2239 '<(clang_dynlib_flags)' | 2239 '<(clang_dynlib_flags)' |
2240 '-Xclang -add-plugin -Xclang find-bad-constructs <(clang_plugin_args)'
, | 2240 '-Xclang -add-plugin -Xclang find-bad-constructs <(clang_plugin_args)'
, |
2241 }], | 2241 }], |
2242 ['asan==1 or msan==1 or lsan==1 or tsan==1', { | 2242 ['asan==1 or msan==1 or lsan==1 or tsan==1', { |
2243 'clang%': 1, | 2243 'clang%': 1, |
2244 'use_allocator%': 'none', | 2244 'use_allocator%': 'none', |
2245 'use_sanitizer_options%': 1, | 2245 'use_sanitizer_options%': 1, |
2246 }], | 2246 }], |
2247 | 2247 ['OS=="linux" and asan==0 and msan==0 and lsan==0 and tsan==0 and build_fo
r_tool==""', { |
| 2248 'use_experimental_allocator_shim%': 1, |
| 2249 }], |
2248 ['OS=="linux" and asan==0 and msan==0 and lsan==0 and tsan==0', { | 2250 ['OS=="linux" and asan==0 and msan==0 and lsan==0 and tsan==0', { |
2249 # PNaCl toolchain Non-SFI build only supports linux OS build. | 2251 # PNaCl toolchain Non-SFI build only supports linux OS build. |
2250 # Also, it does not support sanitizers. | 2252 # Also, it does not support sanitizers. |
2251 'enable_nacl_nonsfi_test%': 1, | 2253 'enable_nacl_nonsfi_test%': 1, |
2252 }], | 2254 }], |
2253 ['asan==1 and OS=="linux" and chromeos==0', { | 2255 ['asan==1 and OS=="linux" and chromeos==0', { |
2254 'use_custom_libcxx%': 1, | 2256 'use_custom_libcxx%': 1, |
2255 }], | 2257 }], |
2256 ['ubsan==1', { | 2258 ['ubsan==1', { |
2257 'clang%': 1, | 2259 'clang%': 1, |
(...skipping 4096 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6354 # settings in target dicts. SYMROOT is a special case, because many other | 6356 # settings in target dicts. SYMROOT is a special case, because many other |
6355 # Xcode variables depend on it, including variables such as | 6357 # Xcode variables depend on it, including variables such as |
6356 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 6358 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
6357 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 6359 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
6358 # files to appear (when present) in the UI as actual files and not red | 6360 # files to appear (when present) in the UI as actual files and not red |
6359 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 6361 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
6360 # and therefore SYMROOT, needs to be set at the project level. | 6362 # and therefore SYMROOT, needs to be set at the project level. |
6361 'SYMROOT': '<(DEPTH)/xcodebuild', | 6363 'SYMROOT': '<(DEPTH)/xcodebuild', |
6362 }, | 6364 }, |
6363 } | 6365 } |
OLD | NEW |