Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(517)

Unified Diff: download_apprtc_appengine_and_mercurial.py

Issue 1565173002: Download a prebuilt apprtc from google storage instead of building it. (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/webrtc/webrtc.DEPS@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « download_appengine_and_mercurial.py ('k') | node/linux/node.tar.gz.sha1 » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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))
« no previous file with comments | « download_appengine_and_mercurial.py ('k') | node/linux/node.tar.gz.sha1 » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698