diff options
author | Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> | 2023-11-09 19:29:44 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2023-11-09 19:29:44 +0000 |
commit | afa9dcf7a31377a635e91bc9b95305b037e8d567 (patch) | |
tree | 36474ebec27e02307ed7fd34ba208925dab9b7f7 | |
parent | 5d19b1bb0f5694f2ae47b3cc2ccfeb571764b439 (diff) | |
parent | b193200ddc2d581e47f86f4f8525b12209af0739 (diff) | |
download | libpng-emu-dev.tar.gz |
Merge "Add BUILD file for png" into emu-devemu-dev
-rw-r--r-- | BUILD | 40 |
1 files changed, 40 insertions, 0 deletions
@@ -0,0 +1,40 @@ +licenses(["notice"]) + +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", + "pngdebug.h", + "pnginfo.h", + "pnglibconf.h", + "pngpriv.h", + "pngstruct.h", + ], + includes = ["."], + linkopts = + select({ + "@platforms//os:linux": ["-lm"], + "//conditions:default": [], + }), + visibility = ["//visibility:public"], + deps = ["@zlib//:zlib"], +) + |