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

Unified Diff: third_party/mojo/src/mojo/public/tools/download_network_service.py

Issue 1157573002: Revert "Update mojo sdk to rev 1dc8a9a5db73d3718d99917fadf31f5fb2ebad4f" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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
Index: third_party/mojo/src/mojo/public/tools/download_network_service.py
diff --git a/third_party/mojo/src/mojo/public/tools/download_network_service.py b/third_party/mojo/src/mojo/public/tools/download_network_service.py
index 05c28ba1664e3114c4f77292a25239f963263271..43b1172225c7b9b662b1e35f917fbe3d6189443d 100755
--- a/third_party/mojo/src/mojo/public/tools/download_network_service.py
+++ b/third_party/mojo/src/mojo/public/tools/download_network_service.py
@@ -15,6 +15,10 @@ _CURRENT_PATH = os.path.dirname(os.path.realpath(__file__))
sys.path.insert(0, os.path.join(_CURRENT_PATH, "pylib"))
import gs
+if not sys.platform.startswith("linux"):
+ print "Not supported for your platform"
+ sys.exit(0)
+
script_dir = os.path.dirname(os.path.realpath(__file__))
« no previous file with comments | « third_party/mojo/src/mojo/public/tools/dart_pkg.py ('k') | third_party/mojo/src/mojo/public/tools/git/dart_pub_get.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698