Files
wmaker/bazel/wrlib/BUILD.bazel
T

53 lines
1.1 KiB
Python

cc_library(
name = "wrlib",
copts = [
# TODO: These are for ImageMagick and will be unnecessary once we can
# locate it with pkg-config.
"-DMAGICKCORE_HDRI_ENABLE=0",
"-DMAGICKCORE_QUANTUM_DEPTH=16",
],
srcs = [
"alpha_combine.c",
"color.c",
"context.c",
"convert.c",
"draw.c",
"gradient.c",
"load.c",
"load_gif.c",
"load_jpeg.c",
"load_magick.c",
"load_png.c",
"load_ppm.c",
"load_tiff.c",
"load_webp.c",
"load_xpm.c",
"misc.c",
"raster.c",
"save.c",
"save_jpeg.c",
"save_png.c",
"save_xpm.c",
"scale.c",
"xpixmap.c",
"xutil.c",
],
hdrs = [
"convert.h",
"imgformat.h",
"rotate.h",
"scale.h",
"wr_i18n.h",
"wraster.h",
"xutil.h",
],
deps = [
"//config",
"@magick_h//:headers",
"@magick_config_h//:headers",
"@xpm//:lib",
"@xmu//:lib",
],
visibility = ["//visibility:public"],
)