aboutsummaryrefslogtreecommitdiffhomepage
path: root/gif.BUILD
diff options
context:
space:
mode:
Diffstat (limited to 'gif.BUILD')
-rw-r--r--gif.BUILD23
1 files changed, 23 insertions, 0 deletions
diff --git a/gif.BUILD b/gif.BUILD
new file mode 100644
index 0000000000..8dbea9cc41
--- /dev/null
+++ b/gif.BUILD
@@ -0,0 +1,23 @@
+SOURCES = [
+ "dgif_lib.c",
+ "egif_lib.c",
+ "gif_font.c",
+ "gif_hash.c",
+ "gifalloc.c",
+ "openbsd-reallocarray.c",
+ "gif_err.c",
+ "quantize.c",
+]
+
+prefix_dir = "giflib-5.1.4/lib"
+
+cc_library(
+ name = "gif",
+ srcs = [prefix_dir + "/" + source for source in SOURCES],
+ hdrs = [prefix_dir + "/gif_lib.h"],
+ includes = [prefix_dir],
+ defines = [
+ "HAVE_CONFIG_H",
+ ],
+ visibility = ["//visibility:public"],
+)