mediapipe/third_party/stblib.BUILD

33 lines
622 B
Plaintext
Raw Normal View History

# Description:
# Single-file C++ image decoding and encoding libraries
package(
default_visibility = ["//visibility:public"],
)
licenses(["notice"]) # MIT license
COPTS = select({
"@platforms//os:windows": [],
"//conditions:default": [
"-Wno-unused-function",
"$(STACK_FRAME_UNLIMITED)",
],
})
cc_library(
name = "stb_image",
srcs = ["stb_image.c"],
hdrs = ["stb_image.h"],
copts = COPTS,
includes = ["."],
)
cc_library(
name = "stb_image_write",
srcs = ["stb_image_write.c"],
hdrs = ["stb_image_write.h"],
copts = COPTS,
includes = ["."],
)