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

Unified Diff: frog/scripts/bootstrap/frogc.bat

Issue 9465034: Prettified Windows scripts and allowed Windows scripts to handle paths that have spaces. Also moved… (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 10 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: frog/scripts/bootstrap/frogc.bat
===================================================================
--- frog/scripts/bootstrap/frogc.bat (revision 4579)
+++ frog/scripts/bootstrap/frogc.bat (working copy)
@@ -3,19 +3,16 @@
REM for details. All rights reserved. Use of this source code is governed by a
REM BSD-style license that can be found in the LICENSE file.
-REM This script provides the entry point for frog on Windows, without having to
-REM explicitly call python frog.py. It is used on the buildbot and for any
-REM Windows user of frog.
+REM Run frogc.dart on the Dart VM with its libdir set correctly.
Emily Fortuna 2012/02/25 01:18:02 The diff on this file is a little strange. I think
-REM Call frog using python.
-
set SCRIPTPATH=%~dp0
REM Does the string have a trailing slash? If so, remove it.
if %SCRIPTPATH:~-1%==\ set SCRIPTPATH=%SCRIPTPATH:~0,-1%
+set LIBPATH=%SCRIPTPATH%\..\lib
REM Canonicalize the direction of the slashes.
set script=%*
set script=%script:\=/%
-python %SCRIPTPATH%\frog %script%
+"%SCRIPTPATH%\dart.exe" --new_gen_heap_size=128 "%SCRIPTPATH%\frogc.dart" --no_colors --libdir="%LIBPATH%" "%script%"

Powered by Google App Engine
This is Rietveld 408576698