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 614 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
625 # Enable plugin installation by default. | 625 # Enable plugin installation by default. |
626 'enable_plugin_installation%': 1, | 626 'enable_plugin_installation%': 1, |
627 | 627 |
628 # Specifies whether to use canvas_skia.cc in place of platform | 628 # Specifies whether to use canvas_skia.cc in place of platform |
629 # specific implementations of gfx::Canvas. Affects text drawing in the | 629 # specific implementations of gfx::Canvas. Affects text drawing in the |
630 # Chrome UI. | 630 # Chrome UI. |
631 # TODO(asvitkine): Enable this on all platforms and delete this flag. | 631 # TODO(asvitkine): Enable this on all platforms and delete this flag. |
632 # http://crbug.com/105550 | 632 # http://crbug.com/105550 |
633 'use_canvas_skia%': 0, | 633 'use_canvas_skia%': 0, |
634 | 634 |
635 # Set to "tsan", "memcheck", or "drmemory" to configure the build to work | 635 # Set to "drmemory" to configure the build to work with DrMemory. |
636 # with one of those tools. | |
637 'build_for_tool%': '', | 636 'build_for_tool%': '', |
638 | 637 |
639 'wix_path%': '<(DEPTH)/third_party/wix', | 638 'wix_path%': '<(DEPTH)/third_party/wix', |
640 | 639 |
641 # Supervised users are enabled by default. | 640 # Supervised users are enabled by default. |
642 'enable_supervised_users%': 1, | 641 'enable_supervised_users%': 1, |
643 | 642 |
644 'enable_mdns%' : 0, | 643 'enable_mdns%' : 0, |
645 'enable_service_discovery%': 0, | 644 'enable_service_discovery%': 0, |
646 'enable_hangout_services_extension%': 0, | 645 'enable_hangout_services_extension%': 0, |
(...skipping 1635 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2282 # Use a just-built, MSan-instrumented libc++ instead of the system-wide | 2281 # Use a just-built, MSan-instrumented libc++ instead of the system-wide |
2283 # libstdc++. This is required to avoid false positive reports whenever | 2282 # libstdc++. This is required to avoid false positive reports whenever |
2284 # the C++ standard library is used. | 2283 # the C++ standard library is used. |
2285 'use_custom_libcxx%': 1, | 2284 'use_custom_libcxx%': 1, |
2286 # Running the V8-generated code on an ARM simulator is a powerful hack | 2285 # Running the V8-generated code on an ARM simulator is a powerful hack |
2287 # that allows the tool to see the memory accesses from JITted code. | 2286 # that allows the tool to see the memory accesses from JITted code. |
2288 # Without this flag, JS code causes false positive reports from MSan. | 2287 # Without this flag, JS code causes false positive reports from MSan. |
2289 'v8_target_arch': 'arm64', | 2288 'v8_target_arch': 'arm64', |
2290 }], | 2289 }], |
2291 | 2290 |
2292 # On valgrind bots, override the optimizer settings so we don't inline too | |
2293 # much and make the stacks harder to figure out. | |
2294 # | |
2295 # TODO(rnk): Kill off variables that no one else uses and just implement | |
2296 # them under a build_for_tool== condition. | |
2297 ['build_for_tool=="memcheck" or build_for_tool=="tsan"', { | |
2298 # gcc flags | |
2299 'mac_debug_optimization': '1', | |
2300 'mac_release_optimization': '1', | |
2301 'release_optimize': '1', | |
2302 'no_gc_sections': 1, | |
2303 'debug_extra_cflags': '-g -fno-inline -fno-omit-frame-pointer ' | |
2304 '-fno-builtin -fno-optimize-sibling-calls', | |
2305 'release_extra_cflags': '-g -fno-inline -fno-omit-frame-pointer ' | |
2306 '-fno-builtin -fno-optimize-sibling-calls', | |
2307 | |
2308 'release_valgrind_build': 1, | |
2309 'werror': '', | |
2310 'component': 'static_library', | |
2311 }], | |
2312 | |
2313 # Build tweaks for DrMemory. | 2291 # Build tweaks for DrMemory. |
2314 # TODO(rnk): Combine with tsan config to share the builder. | 2292 # TODO(rnk): Combine with tsan config to share the builder. |
2315 # http://crbug.com/108155 | 2293 # http://crbug.com/108155 |
2316 ['build_for_tool=="drmemory"', { | 2294 ['build_for_tool=="drmemory"', { |
2317 # These runtime checks force initialization of stack vars which blocks | 2295 # These runtime checks force initialization of stack vars which blocks |
2318 # DrMemory's uninit detection. | 2296 # DrMemory's uninit detection. |
2319 'win_debug_RuntimeChecks': '0', | 2297 'win_debug_RuntimeChecks': '0', |
2320 # Iterator debugging is slow. | 2298 # Iterator debugging is slow. |
2321 'win_debug_disable_iterator_debugging': '1', | 2299 'win_debug_disable_iterator_debugging': '1', |
2322 # Try to disable optimizations that mess up stacks in a release build. | 2300 # Try to disable optimizations that mess up stacks in a release build. |
(...skipping 4068 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6391 # settings in target dicts. SYMROOT is a special case, because many other | 6369 # settings in target dicts. SYMROOT is a special case, because many other |
6392 # Xcode variables depend on it, including variables such as | 6370 # Xcode variables depend on it, including variables such as |
6393 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 6371 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
6394 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 6372 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
6395 # files to appear (when present) in the UI as actual files and not red | 6373 # files to appear (when present) in the UI as actual files and not red |
6396 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 6374 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
6397 # and therefore SYMROOT, needs to be set at the project level. | 6375 # and therefore SYMROOT, needs to be set at the project level. |
6398 'SYMROOT': '<(DEPTH)/xcodebuild', | 6376 'SYMROOT': '<(DEPTH)/xcodebuild', |
6399 }, | 6377 }, |
6400 } | 6378 } |
OLD | NEW |