skia2/bazel/external/piex/BUILD.bazel
Kevin Lubick 61f0ea4f7a [bazel] Move remaining codec build rules to //bazel/external
There are no functional changes to the rules, just a relocation.

Change-Id: I90af5ec792fc54ce2978b0bbb1afd2c932e183b4
Bug: skia:12541
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/545719
Reviewed-by: Ben Wagner <bungeman@google.com>
2022-06-01 19:12:14 +00:00

26 lines
920 B
Python

# This file will be copied into //third_party/externals/piex via the new_local_repository
# rule in WORKSPACE.bazel, so all files should be relative to that path.
cc_library(
name = "piex",
srcs = [
"src/binary_parse/cached_paged_byte_array.cc",
"src/binary_parse/cached_paged_byte_array.h",
"src/binary_parse/range_checked_byte_ptr.cc",
"src/binary_parse/range_checked_byte_ptr.h",
"src/image_type_recognition/image_type_recognition_lite.cc",
"src/image_type_recognition/image_type_recognition_lite.h",
"src/piex.cc",
"src/tiff_directory/tiff_directory.cc",
"src/tiff_directory/tiff_directory.h",
"src/tiff_parser.cc",
"src/tiff_parser.h",
],
hdrs = [
"src/piex.h",
"src/piex_types.h",
],
local_defines = ["BREAK_IF_DEBUGGING_AND_OUT_OF_RANGE"],
visibility = ["//visibility:public"],
)