| 1 |
# This file will be copied into //third_party/externals/piex via the new_local_repository |
| 2 |
# rule in WORKSPACE.bazel, so all files should be relative to that path. |
| 3 |
|
| 4 |
load("@rules_cc//cc:cc_library.bzl", "cc_library") |
| 5 |
|
| 6 |
cc_library( |
| 7 |
name = "piex", |
| 8 |
srcs = [ |
| 9 |
"src/binary_parse/cached_paged_byte_array.cc", |
| 10 |
"src/binary_parse/cached_paged_byte_array.h", |
| 11 |
"src/binary_parse/range_checked_byte_ptr.cc", |
| 12 |
"src/binary_parse/range_checked_byte_ptr.h", |
| 13 |
"src/image_type_recognition/image_type_recognition_lite.cc", |
| 14 |
"src/image_type_recognition/image_type_recognition_lite.h", |
| 15 |
"src/piex.cc", |
| 16 |
"src/tiff_directory/tiff_directory.cc", |
| 17 |
"src/tiff_directory/tiff_directory.h", |
| 18 |
"src/tiff_parser.cc", |
| 19 |
"src/tiff_parser.h", |
| 20 |
], |
| 21 |
hdrs = [ |
| 22 |
"src/piex.h", |
| 23 |
"src/piex_types.h", |
| 24 |
], |
| 25 |
local_defines = ["BREAK_IF_DEBUGGING_AND_OUT_OF_RANGE"], |
| 26 |
visibility = ["//visibility:public"], |
| 27 |
) |