Skip to content

Commit

Permalink
Add missing headers to gif BUILD definition.
Browse files Browse the repository at this point in the history
% :.../gif/giflib-5.1.4/lib$ ls
dgif_lib.c  gif_err.c	gif_hash.h	   Makefile.am	 openbsd-reallocarray.c
egif_lib.c  gif_font.c	gif_lib.h	   Makefile.in	 quantize.c
gifalloc.c  gif_hash.c	gif_lib_private.h  Makefile.unx
Change: 131121931
  • Loading branch information
Vijay Vasudevan authored and tensorflower-gardener committed Aug 24, 2016
1 parent 55826f7 commit 4fb42ba
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion gif.BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,18 @@ SOURCES = [
"quantize.c",
]

HEADERS = [
"gif_hash.h",
"gif_lib.h",
"gif_lib_private.h",
]

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"],
hdrs = [prefix_dir + "/" + hdrs for hdrs in HEADERS],
includes = [prefix_dir],
defines = [
"HAVE_CONFIG_H",
Expand Down

0 comments on commit 4fb42ba

Please sign in to comment.