29 lines
541 B
Plaintext
29 lines
541 B
Plaintext
|
# Description:
|
||
|
# Single-file C++ image decoding and encoding libraries
|
||
|
|
||
|
package(
|
||
|
default_visibility = ["//visibility:public"],
|
||
|
)
|
||
|
|
||
|
licenses(["notice"]) # MIT license
|
||
|
|
||
|
exports_files(["LICENSE"])
|
||
|
|
||
|
cc_library(
|
||
|
name = "stb_image",
|
||
|
srcs = ["stb_image.c"],
|
||
|
hdrs = ["stb_image.h"],
|
||
|
copts = [
|
||
|
"-Wno-unused-function",
|
||
|
"$(STACK_FRAME_UNLIMITED)",
|
||
|
],
|
||
|
includes = ["."],
|
||
|
)
|
||
|
|
||
|
cc_library(
|
||
|
name = "stb_image_write",
|
||
|
srcs = ["stb_image_write.c"],
|
||
|
hdrs = ["stb_image_write.h"],
|
||
|
includes = ["."],
|
||
|
)
|