diff options
Diffstat (limited to 'third_party/png.BUILD')
-rw-r--r-- | third_party/png.BUILD | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/third_party/png.BUILD b/third_party/png.BUILD new file mode 100644 index 0000000000..6a7ad719aa --- /dev/null +++ b/third_party/png.BUILD @@ -0,0 +1,35 @@ +# Description: +# libpng is the official PNG reference library. + +licenses(["notice"]) # BSD/MIT-like license + +exports_files(["LICENSE"]) + +cc_library( + name = "png", + srcs = [ + "png.c", + "pngerror.c", + "pngget.c", + "pngmem.c", + "pngpread.c", + "pngread.c", + "pngrio.c", + "pngrtran.c", + "pngrutil.c", + "pngset.c", + "pngtrans.c", + "pngwio.c", + "pngwrite.c", + "pngwtran.c", + "pngwutil.c", + ], + hdrs = [ + "png.h", + "pngconf.h", + ], + includes = ["."], + linkopts = ["-lm"], + visibility = ["//visibility:public"], + deps = ["@zlib_archive//:zlib"], +) |