summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Wright <jonathan.wright@arm.com>2020-07-23 16:34:26 +0100
committerJonathan Wright <jonathan.wright@arm.com>2020-08-10 14:51:20 +0100
commit9d4f8005bc6c888e66b00fd00188531ee9bd3344 (patch)
tree27e13782e9775d24e581346bbce1c109432cbd1a
parentf7731126b8b532d9901f1e3d5386910b290cf87d (diff)
Remove duplicate MSan check
Removes duplicate MSan check in the turbojpeg build target definition. For MSan builds, the check added a second copy of the jsimd_none.c file. This causes a linker error, and subsequently a build failure. Bug: 993876 Change-Id: I6782650d70329eb3628c13b23bd843ef0fa43694
-rw-r--r--BUILD.gn8
1 files changed, 0 insertions, 8 deletions
diff --git a/BUILD.gn b/BUILD.gn
index 0be68be..4c45afc 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -296,14 +296,6 @@ static_library("turbojpeg") {
public_deps = [
":libjpeg",
]
-
- # MemorySanitizer doesn't support assembly code, so keep it disabled in
- # MSan builds for now.
- if (is_msan) {
- sources += [ "jsimd_none.c" ]
- } else {
- public_deps += [ ":simd" ]
- }
}
if (build_with_chromium) {