summaryrefslogtreecommitdiffstats
path: root/tools/imagediff
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-07-23 21:15:14 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-07-23 21:15:14 +0000
commit938c54d225ac4403b50ec668df9b24d9d388ad4a (patch)
tree7758d4aa1f8dbd2ff6765dfc56ab6df72760410f /tools/imagediff
parent19b11b30717d1aa68c5d5e9d238b1d3b7cf8d266 (diff)
downloadchromium_src-938c54d225ac4403b50ec668df9b24d9d388ad4a.zip
chromium_src-938c54d225ac4403b50ec668df9b24d9d388ad4a.tar.gz
chromium_src-938c54d225ac4403b50ec668df9b24d9d388ad4a.tar.bz2
Add tools/imagediff to GN build.
TBR=scottmg Review URL: https://codereview.chromium.org/415743003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@285042 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools/imagediff')
-rw-r--r--tools/imagediff/BUILD.gn20
1 files changed, 20 insertions, 0 deletions
diff --git a/tools/imagediff/BUILD.gn b/tools/imagediff/BUILD.gn
new file mode 100644
index 0000000..887f412
--- /dev/null
+++ b/tools/imagediff/BUILD.gn
@@ -0,0 +1,20 @@
+# Copyright 2014 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+executable("imagediff") {
+ output_name = "image_diff" # Different than dir nam for historical reasons.
+ sources = [
+ "image_diff.cc",
+ "image_diff_png.h",
+ "image_diff_png.cc",
+ ]
+
+ configs += [ "//build/config/compiler:wexit_time_destructors" ]
+
+ deps = [
+ "//base",
+ "//third_party/libpng",
+ "//third_party/zlib",
+ ]
+}