XFA: Support PNG format in pdfium_test and add image diffing
[pdfium.git] / samples / BUILD.gn
index e690c23..7f2f41f 100644 (file)
@@ -10,9 +10,21 @@ group("samples") {
 
 executable("pdfium_test") {
   sources = [
+    "image_diff_png.cc",
     "pdfium_test.cc",
   ]
   deps = [
     "//third_party/pdfium",
   ]
 }
+
+executable("pdfium_diff") {
+  sources = [
+    "image_diff.cc",
+    "image_diff_png.cc",
+    "image_diff_png.h",
+  ]
+  deps = [
+    "//third_party/pdfium",
+  ]
+}
\ No newline at end of file