XFA: Support PNG format in pdfium_test and add image diffing
[pdfium.git] / samples / BUILD.gn
1 # Copyright 2014 PDFium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 group("samples") {
6   deps = [
7     ":pdfium_test",
8   ]
9 }
10
11 executable("pdfium_test") {
12   sources = [
13     "image_diff_png.cc",
14     "pdfium_test.cc",
15   ]
16   deps = [
17     "//third_party/pdfium",
18   ]
19 }
20
21 executable("pdfium_diff") {
22   sources = [
23     "image_diff.cc",
24     "image_diff_png.cc",
25     "image_diff_png.h",
26   ]
27   deps = [
28     "//third_party/pdfium",
29   ]
30 }