Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(599)

Unified Diff: libjpeg.gyp

Issue 170323002: Disable assembly optimizations in MemorySanitizer builds of libjpeg_turbo. (Closed) Base URL: http://src.chromium.org/svn/trunk/deps/third_party/libjpeg_turbo/
Patch Set: Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: libjpeg.gyp
===================================================================
--- libjpeg.gyp (revision 251746)
+++ libjpeg.gyp (working copy)
@@ -136,7 +136,7 @@
'simd/jsimdcpu.asm',
],
}],
- [ 'target_arch=="x64"', {
+ [ 'target_arch=="x64" and msan!=1', {
'sources': [
'simd/jsimd_x86_64.c',
'simd/jccolss2-64.asm',
@@ -156,6 +156,13 @@
'simd/jiss2red-64.asm',
],
}],
+ # MemorySanitizer doesn't support assembly code, so keep it disabled in
+ # MSan builds for now.
+ [ 'msan==1', {
+ 'sources': [
+ 'jsimd_none.c',
+ ],
+ }],
# The ARM SIMD implementation can be used for devices that support
# the NEON instruction set. This can safely be done dynamically by
# probing CPU features at runtime, if you wish.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698