Index: download_apprtc_appengine_and_mercurial.py |
diff --git a/download_appengine_and_mercurial.py b/download_apprtc_appengine_and_mercurial.py |
similarity index 87% |
rename from download_appengine_and_mercurial.py |
rename to download_apprtc_appengine_and_mercurial.py |
index e2b313965e90c1eccc956652a768893b47c58bbd..853923eb515e0f83abcbf955f109725e6dae4a7f 100755 |
--- a/download_appengine_and_mercurial.py |
+++ b/download_apprtc_appengine_and_mercurial.py |
@@ -44,6 +44,9 @@ def main(argv): |
mercurial_tar_path = os.path.join(webrtc_deps_path, 'mercurial-src.tar.gz') |
old_mercurial_sha1 = utils.ComputeSHA1(mercurial_tar_path) |
+ apprtc_zip_path = os.path.join(webrtc_deps_path, 'prebuilt_apprtc.zip') |
+ old_apprtc_sha1 = utils.ComputeSHA1(mercurial_tar_path) |
+ |
_DownloadResources(webrtc_deps_path) |
if old_appengine_sha1 != utils.ComputeSHA1(appengine_zip_path): |
@@ -55,5 +58,9 @@ def main(argv): |
utils.UnpackToWorkingDir(mercurial_tar_path) |
_StripVersionNumberFromMercurialFolder() |
+ if old_apprtc_sha1 != utils.ComputeSHA1(apprtc_zip_path): |
+ utils.DeleteDirNextToGclient('apprtc') |
+ utils.UnpackToWorkingDir(apprtc_zip_path) |
+ |
if __name__ == '__main__': |
sys.exit(main(sys.argv)) |