summaryrefslogtreecommitdiffstats
path: root/image/test/gtest/moz.build
diff options
context:
space:
mode:
authorMatt A. Tobin <mattatobin@localhost.localdomain>2018-02-02 04:16:08 -0500
committerMatt A. Tobin <mattatobin@localhost.localdomain>2018-02-02 04:16:08 -0500
commit5f8de423f190bbb79a62f804151bc24824fa32d8 (patch)
tree10027f336435511475e392454359edea8e25895d /image/test/gtest/moz.build
parent49ee0794b5d912db1f95dce6eb52d781dc210db5 (diff)
downloadUXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.gz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.lz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.xz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.zip
Add m-esr52 at 52.6.0
Diffstat (limited to 'image/test/gtest/moz.build')
-rw-r--r--image/test/gtest/moz.build78
1 files changed, 78 insertions, 0 deletions
diff --git a/image/test/gtest/moz.build b/image/test/gtest/moz.build
new file mode 100644
index 000000000..5cf6d5116
--- /dev/null
+++ b/image/test/gtest/moz.build
@@ -0,0 +1,78 @@
+# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
+# vim: set filetype=python:
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+
+Library('imagetest')
+
+UNIFIED_SOURCES = [
+ 'Common.cpp',
+ 'TestADAM7InterpolatingFilter.cpp',
+ 'TestCopyOnWrite.cpp',
+ 'TestDecoders.cpp',
+ 'TestDecodeToSurface.cpp',
+ 'TestDeinterlacingFilter.cpp',
+ 'TestMetadata.cpp',
+ 'TestRemoveFrameRectFilter.cpp',
+ 'TestSourceBuffer.cpp',
+ 'TestStreamingLexer.cpp',
+ 'TestSurfaceSink.cpp',
+]
+
+if CONFIG['MOZ_ENABLE_SKIA']:
+ UNIFIED_SOURCES += [
+ 'TestDownscalingFilter.cpp',
+ 'TestSurfacePipeIntegration.cpp',
+ ]
+
+SOURCES += [
+ # Can't be unified because it manipulates the preprocessor environment.
+ 'TestDownscalingFilterNoSkia.cpp',
+]
+
+TEST_HARNESS_FILES.gtest += [
+ 'animated-with-extra-image-sub-blocks.gif',
+ 'corrupt-with-bad-bmp-height.ico',
+ 'corrupt-with-bad-bmp-width.ico',
+ 'corrupt.jpg',
+ 'downscaled.bmp',
+ 'downscaled.gif',
+ 'downscaled.ico',
+ 'downscaled.icon',
+ 'downscaled.jpg',
+ 'downscaled.png',
+ 'first-frame-green.gif',
+ 'first-frame-green.png',
+ 'first-frame-padding.gif',
+ 'green-1x1-truncated.gif',
+ 'green.bmp',
+ 'green.gif',
+ 'green.ico',
+ 'green.icon',
+ 'green.jpg',
+ 'green.png',
+ 'invalid-truncated-metadata.bmp',
+ 'no-frame-delay.gif',
+ 'rle4.bmp',
+ 'rle8.bmp',
+ 'transparent-ico-with-and-mask.ico',
+ 'transparent-if-within-ico.bmp',
+ 'transparent.gif',
+ 'transparent.png',
+]
+
+include('/ipc/chromium/chromium-config.mozbuild')
+
+LOCAL_INCLUDES += [
+ '/dom/base',
+ '/gfx/2d',
+ '/image',
+]
+
+LOCAL_INCLUDES += CONFIG['SKIA_INCLUDES']
+
+FINAL_LIBRARY = 'xul-gtest'
+
+if CONFIG['GNU_CXX']:
+ CXXFLAGS += ['-Wno-error=shadow']