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

Unified Diff: frog/frogc.bat

Issue 8989020: Fix build to create 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
« no previous file with comments | « frog/dart-frog.gyp ('k') | tools/build.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: frog/frogc.bat
===================================================================
--- frog/frogc.bat (revision 0)
+++ frog/frogc.bat (revision 0)
@@ -0,0 +1,10 @@
+@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%
+set LIBPATH=%SCRIPTPATH%\..\lib
+
+%SCRIPTPATH%\dart.exe --new_gen_heap_size=128 %SCRIPTPATH%\frogc.dart --no_colors --libdir=%LIBPATH% %*
« no previous file with comments | « frog/dart-frog.gyp ('k') | tools/build.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698