aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party/piex
diff options
context:
space:
mode:
authorGravatar Leon Scroggins III <scroggo@google.com>2016-10-28 09:17:20 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2016-10-28 13:46:29 +0000
commit04b1f461aa49c91ffbc484b88b32489efca55bab (patch)
tree8c58ea81acb629c86fd200b98da994a306991fa0 /third_party/piex
parent0ea7d43b2022299acbaab6accca1b33c4b3645b8 (diff)
Build SkRawCodec in GN
Add BUILD.gn files for dng_sdk and piex and updated BUILD.gn to build SkRawCodec. We stopped testing raw images when we switched to GN, so this will bring back our testing. Leave SkRawCodec disabled on Windows, where we've had problems in the past. GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=4063 Change-Id: I956949506200b766a2f7efb18e0486f3a2f93a1c Reviewed-on: https://skia-review.googlesource.com/4063 Commit-Queue: Leon Scroggins <scroggo@google.com> Reviewed-by: Mike Klein <mtklein@chromium.org>
Diffstat (limited to 'third_party/piex')
-rw-r--r--third_party/piex/BUILD.gn24
1 files changed, 24 insertions, 0 deletions
diff --git a/third_party/piex/BUILD.gn b/third_party/piex/BUILD.gn
new file mode 100644
index 0000000000..fdcb85f129
--- /dev/null
+++ b/third_party/piex/BUILD.gn
@@ -0,0 +1,24 @@
+# Copyright 2016 Google Inc.
+#
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+declare_args() {
+}
+
+import("../third_party.gni")
+
+third_party("piex") {
+ public_include_dirs = [ "../externals/piex" ]
+
+ defines = [ "BREAK_IF_DEBUGGING_AND_OUT_OF_RANGE" ]
+
+ sources = [
+ "../externals/piex/src/binary_parse/cached_paged_byte_array.cc",
+ "../externals/piex/src/binary_parse/range_checked_byte_ptr.cc",
+ "../externals/piex/src/image_type_recognition/image_type_recognition_lite.cc",
+ "../externals/piex/src/piex.cc",
+ "../externals/piex/src/tiff_directory/tiff_directory.cc",
+ "../externals/piex/src/tiff_parser.cc",
+ ]
+}