Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 @echo off | |
| 2 REM Run frogc.dart on the Dart VM with its libdir set correctly. | |
| 3 | |
| 4 set SCRIPTPATH=%~dp0 | |
| 5 | |
| 6 REM Does string have a trailing slash? If so, remove it. | |
| 7 IF %SCRIPTPATH:~-1%==\ set SCRIPTPATH=%SCRIPTPATH:~0,-1% | |
| 8 set LIBPATH=%SCRIPTPATH%\..\lib | |
| 9 | |
| 10 REM Frog gets confused by Window's backward slashes. | |
| 11 set script=%* | |
| 12 set script=%script:\=/% | |
| 13 | |
| 14 %SCRIPTPATH%\dart.exe --new_gen_heap_size=128 %SCRIPTPATH%\frogc.dart --no_color s --libdir=%LIBPATH% %script% | |
| OLD | NEW |