| 1 |
# Copyright 2016 Google Inc. |
| 2 |
# |
| 3 |
# Use of this source code is governed by a BSD-style license that can be |
| 4 |
# found in the LICENSE file. |
| 5 |
|
| 6 |
declare_args() { |
| 7 |
} |
| 8 |
|
| 9 |
import("../third_party.gni") |
| 10 |
|
| 11 |
third_party("piex") { |
| 12 |
public_include_dirs = [ "../externals/piex" ] |
| 13 |
|
| 14 |
defines = [ "BREAK_IF_DEBUGGING_AND_OUT_OF_RANGE" ] |
| 15 |
|
| 16 |
sources = [ |
| 17 |
"../externals/piex/src/binary_parse/cached_paged_byte_array.cc", |
| 18 |
"../externals/piex/src/binary_parse/range_checked_byte_ptr.cc", |
| 19 |
"../externals/piex/src/image_type_recognition/image_type_recognition_lite.cc", |
| 20 |
"../externals/piex/src/piex.cc", |
| 21 |
"../externals/piex/src/tiff_directory/tiff_directory.cc", |
| 22 |
"../externals/piex/src/tiff_parser.cc", |
| 23 |
] |
| 24 |
} |