f84ad646f9
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. Originally landed in issue 4603. Reverted due to build errors. GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2463433002 Review-Url: https://codereview.chromium.org/2463433002
25 lines
693 B
Plaintext
25 lines
693 B
Plaintext
# 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",
|
|
]
|
|
}
|