Merge commit '04bb1f2f035343217875ce0fc19d3a7abde41717' into HEAD

Bug: 155031873
Change-Id: Ie7dc3f5c4b8999adf8e8885761fe65fd6ee65227
Merged-In: Ie7dc3f5c4b8999adf8e8885761fe65fd6ee65227
diff --git a/testing/image_diff/BUILD.gn b/testing/image_diff/BUILD.gn
new file mode 100644
index 0000000..141769b
--- /dev/null
+++ b/testing/image_diff/BUILD.gn
@@ -0,0 +1,19 @@
+# Copyright 2018 The PDFium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+import("../../pdfium.gni")
+
+source_set("image_diff") {
+  testonly = true
+  sources = [
+    "image_diff_png.cpp",
+    "image_diff_png.h",
+  ]
+  configs += [ "../../:pdfium_core_config" ]
+  deps = [
+    "../../third_party:pdfium_base",
+    "../../third_party:png",
+    "../../third_party:zlib",
+  ]
+}