aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeon Scroggins III <scroggo@google.com>2019-06-03 11:18:55 -0400
committerLeon Scroggins III <scroggo@google.com>2019-06-05 12:04:49 -0400
commit2331023a79a118395fd651299ba95ce2684b7cb5 (patch)
tree7a8bb1cd3e71e7aa9ad17f165a281182bb113c2a
parent53f54d1b944b629ded7932a63ebbeba55aa3febb (diff)
downloadlibpng-2331023a79a118395fd651299ba95ce2684b7cb5.tar.gz
Add METATA for libpng
(Modelled after libjpeg-turbo in I12305d5136ef98b2e768ddfdc4b60b8d3c088965.) This will help us to automatically update this library to newer releases upstream using tools/external_updater. Remove README.version, which is redundant and no longer used. Update README.android to be less redundant and include other additions. Test: make; CtsGraphicsTestCases Change-Id: I03b2cf1e568eea326281dc691bd087c242cae9cf
-rw-r--r--METADATA14
-rw-r--r--README.android7
-rw-r--r--README.version3
3 files changed, 18 insertions, 6 deletions
diff --git a/METADATA b/METADATA
new file mode 100644
index 000000000..cf383c0f6
--- /dev/null
+++ b/METADATA
@@ -0,0 +1,14 @@
+name: "libpng"
+description: "libpng is a PNG image codec."
+third_party {
+ url {
+ type: GIT
+ value: "https://github.com/glennrp/libpng.git"
+ }
+ version: "v1.6.34"
+ last_upgrade_date {
+ year: 2017
+ month: 10
+ day: 6
+ }
+}
diff --git a/README.android b/README.android
index 5f94dc96e..25d01e61b 100644
--- a/README.android
+++ b/README.android
@@ -1,12 +1,13 @@
-Any Android specific modifications to upstream libpng (1.6.34) should
-be listed here:
+Any Android specific modifications to upstream libpng (the version
+specified in METADATA) should be listed here:
(1) Android has added the following files.
pngusr.h
Android.bp
CleanSpec.mk
MODULE_LICENSE_BSD_LIKE
- README.version
+ METADATA
+ OWNERS
(2) pnglibconf.h
This is copied from scripts/pnglibconf.h.prebuilt.
diff --git a/README.version b/README.version
deleted file mode 100644
index ab95c6da5..000000000
--- a/README.version
+++ /dev/null
@@ -1,3 +0,0 @@
-URL: http://libpng.download/src/libpng16/libpng-1.6.34.tar.gz
-Version: 1.6.34
-BugComponent: 87896