Add script for fetching third-party sources
authorPyry Haulos <phaulos@google.com>
Wed, 29 Oct 2014 18:43:26 +0000 (11:43 -0700)
committerPyry Haulos <phaulos@google.com>
Tue, 11 Nov 2014 16:54:52 +0000 (16:54 +0000)
commitf28f0637dc27d47fddedec2ef463c310acc293df
tree4969541ec4b1ac2e60ead0b5f59e28f55d0482af
parentd9ae6afecd7e9b1904c171ee958fc7dda47ee5f2
Add script for fetching third-party sources

This change adds external/fetch_sources.py that will initialize libpng
and zlib source directories by fetching and extracting source packages.

The fetched packages are always verified by doing a SHA256 comparison to
avoid corrupted or malicious downloads.

Bug: 18329517
Change-Id: I0e32b411ff0e3691ab8fa33e0ed30259faee48c8
(cherry picked from commit 60d68b2463d1d6e1f8d55c55a923d304adcd1bf8)
external/fetch_sources.py [new file with mode: 0644]
external/libpng/CMakeLists.txt
external/zlib/CMakeLists.txt