Index: build/common.gypi |
diff --git a/build/common.gypi b/build/common.gypi |
index 40bb44ed5ce810f947856024d47bacd62b68d2d6..c90f2657d512ca71a11f8280c508487db6f71271 100644 |
--- a/build/common.gypi |
+++ b/build/common.gypi |
@@ -1588,6 +1588,10 @@ |
'libjpeg_ijg_gyp_path': '<(DEPTH)/third_party/libjpeg/libjpeg.gyp', |
'libjpeg_turbo_gyp_path': '<(DEPTH)/third_party/libjpeg_turbo/libjpeg.gyp', |
+ # Whether to disable handle verifier hooks. |
+ # Hookless parts of the handle verifier will still function. |
+ 'win_disable_handle_verifier_hooks%': '0', |
+ |
'conditions': [ |
['buildtype=="Official"', { |
# Continue to embed build meta data in Official builds, basically the |
@@ -2313,6 +2317,8 @@ |
# TODO(rnk): Combine with tsan config to share the builder. |
# http://crbug.com/108155 |
['build_for_tool=="drmemory"', { |
+ # Disable the hook based handle verifier, as DrMemory does this job. |
+ 'win_disable_handle_verifier_hooks': '1', |
# These runtime checks force initialization of stack vars which blocks |
# DrMemory's uninit detection. |
'win_debug_RuntimeChecks': '0', |