summaryrefslogtreecommitdiffstats
path: root/third_party
diff options
context:
space:
mode:
authorglider@chromium.org <glider@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-14 12:04:25 +0000
committerglider@chromium.org <glider@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-14 12:04:25 +0000
commitd5623e74e78f757c887f19b4e1d4a77587ccf4bb (patch)
treeb6f81aab391af090543dc66b84260c60a1efcbaa /third_party
parent2d605715ea9a83dbd86da79c644ed7795e1119bd (diff)
downloadchromium_src-d5623e74e78f757c887f19b4e1d4a77587ccf4bb.zip
chromium_src-d5623e74e78f757c887f19b4e1d4a77587ccf4bb.tar.gz
chromium_src-d5623e74e78f757c887f19b4e1d4a77587ccf4bb.tar.bz2
Disable debugging code in instrumented libnspr4. ThreadSanitizer reports data races on debug vars.
BUG=313751 R=earthdok@chromium.org NOTRY=true Review URL: https://codereview.chromium.org/277453005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@270388 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party')
-rw-r--r--third_party/instrumented_libraries/instrumented_libraries.gyp6
1 files changed, 5 insertions, 1 deletions
diff --git a/third_party/instrumented_libraries/instrumented_libraries.gyp b/third_party/instrumented_libraries/instrumented_libraries.gyp
index e6c3cbe..1b53213 100644
--- a/third_party/instrumented_libraries/instrumented_libraries.gyp
+++ b/third_party/instrumented_libraries/instrumented_libraries.gyp
@@ -212,7 +212,11 @@
{
'library_name': 'libnspr4',
'dependencies=': [],
- 'extra_configure_flags': '--enable-64bit',
+ 'extra_configure_flags': [
+ '--enable-64bit',
+ # TSan reports data races on debug variables.
+ '--disable-debug',
+ ],
'run_before_build': 'libnspr4.sh',
'includes': ['standard_instrumented_library_target.gypi'],
},