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

Unified Diff: tools/testing/bin/jsshell

Issue 1544463002: Move third_party/firefox_jsshell dependency to cloud storage (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Add download hook. Created 5 years 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 | « third_party/firefox_jsshell/win/jsshell.tar.gz.sha1 ('k') | tools/testing/bin/jsshell.bat » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/testing/bin/jsshell
diff --git a/tools/testing/bin/jsshell b/tools/testing/bin/jsshell
index 359950d73cba61a97c4236d1d13b0bd54dc088e0..6dec09f655722d04fe6b36afb023d0576078b6ef 100755
--- a/tools/testing/bin/jsshell
+++ b/tools/testing/bin/jsshell
@@ -3,14 +3,15 @@
# for details. All rights reserved. Use of this source code is governed by a
# BSD-style license that can be found in the LICENSE file.
+JSDIR=${0%/*}/../../../third_party/firefox_jsshell
case $OSTYPE in
*[Dd]arwin*)
- exec ${0%/*}/../../../third_party/firefox_jsshell/macos/js "$@"
+ exec $JSDIR/mac/jsshell/js "$@"
;;
*[Ll]inux*)
- LD_LIBRARY_PATH=${0%/*}/../../../third_party/firefox_jsshell/linux/ \
- exec ${0%/*}/../../../third_party/firefox_jsshell/linux/js "$@"
+ LD_LIBRARY_PATH=$JSDIR/linux/jsshell/ \
+ exec $JSDIR/linux/jsshell/js "$@"
;;
*)
echo No jsshell binary for $(uname) >2
« no previous file with comments | « third_party/firefox_jsshell/win/jsshell.tar.gz.sha1 ('k') | tools/testing/bin/jsshell.bat » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698