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

Unified Diff: frog/frogc.bat

Issue 9004001: Fix build so we can make a Windows SDK! (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: '' Created 9 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
Index: frog/frogc.bat
===================================================================
--- frog/frogc.bat (revision 0)
+++ frog/frogc.bat (revision 0)
@@ -0,0 +1,13 @@
+@echo off
+REM Run frogc.dart on the Dart VM with its libdir set correctly.
+
+set SCRIPTPATH=%~dp0
+
+REM Does string have a trailing slash? If so, remove it.
+IF %SCRIPTPATH:~-1%==\ set SCRIPTPATH=%SCRIPTPATH:~0,-1%
+
+REM If anyone has a prettier way to truncate after the last \, I'm all ears.
+set LIBPATH=%SCRIPTPATH%\..\lib
+
+echo "%SCRIPTPATH%\dart.exe --new_gen_heap_size=128 %SCRIPTPATH%\frogc.dart --libdir=%LIBPATH% %*"
dgrove 2011/12/20 01:53:29 this should go away.
Emily Fortuna 2011/12/20 02:00:19 Done.
+%SCRIPTPATH%\dart.exe --new_gen_heap_size=128 %SCRIPTPATH%\frogc.dart --no_colors --libdir=%LIBPATH% %*

Powered by Google App Engine
This is Rietveld 408576698