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 2274 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2285 # Without this flag, JS code causes false positive reports from MSan. | 2285 # Without this flag, JS code causes false positive reports from MSan. |
2286 'v8_target_arch': 'arm64', | 2286 'v8_target_arch': 'arm64', |
2287 }], | 2287 }], |
2288 | 2288 |
2289 # On valgrind bots, override the optimizer settings so we don't inline too | 2289 # On valgrind bots, override the optimizer settings so we don't inline too |
2290 # much and make the stacks harder to figure out. | 2290 # much and make the stacks harder to figure out. |
2291 # | 2291 # |
2292 # TODO(rnk): Kill off variables that no one else uses and just implement | 2292 # TODO(rnk): Kill off variables that no one else uses and just implement |
2293 # them under a build_for_tool== condition. | 2293 # them under a build_for_tool== condition. |
2294 ['build_for_tool=="memcheck" or build_for_tool=="tsan"', { | 2294 ['build_for_tool=="memcheck" or build_for_tool=="tsan"', { |
| 2295 |
| 2296 # tcmalloc causes Valgrind failures. Discussion in crrev.com/1642383002. |
| 2297 'use_allocator%': 'none', |
| 2298 |
2295 # gcc flags | 2299 # gcc flags |
2296 'mac_debug_optimization': '1', | 2300 'mac_debug_optimization': '1', |
2297 'mac_release_optimization': '1', | 2301 'mac_release_optimization': '1', |
2298 'release_optimize': '1', | 2302 'release_optimize': '1', |
2299 'no_gc_sections': 1, | 2303 'no_gc_sections': 1, |
2300 'debug_extra_cflags': '-g -fno-inline -fno-omit-frame-pointer ' | 2304 'debug_extra_cflags': '-g -fno-inline -fno-omit-frame-pointer ' |
2301 '-fno-builtin -fno-optimize-sibling-calls', | 2305 '-fno-builtin -fno-optimize-sibling-calls', |
2302 'release_extra_cflags': '-g -fno-inline -fno-omit-frame-pointer ' | 2306 'release_extra_cflags': '-g -fno-inline -fno-omit-frame-pointer ' |
2303 '-fno-builtin -fno-optimize-sibling-calls', | 2307 '-fno-builtin -fno-optimize-sibling-calls', |
2304 | 2308 |
(...skipping 4096 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6401 # settings in target dicts. SYMROOT is a special case, because many other | 6405 # settings in target dicts. SYMROOT is a special case, because many other |
6402 # Xcode variables depend on it, including variables such as | 6406 # Xcode variables depend on it, including variables such as |
6403 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 6407 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
6404 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 6408 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
6405 # files to appear (when present) in the UI as actual files and not red | 6409 # files to appear (when present) in the UI as actual files and not red |
6406 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 6410 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
6407 # and therefore SYMROOT, needs to be set at the project level. | 6411 # and therefore SYMROOT, needs to be set at the project level. |
6408 'SYMROOT': '<(DEPTH)/xcodebuild', | 6412 'SYMROOT': '<(DEPTH)/xcodebuild', |
6409 }, | 6413 }, |
6410 } | 6414 } |
OLD | NEW |