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

Unified Diff: compiler/scripts/dart_analyzer.bat

Issue 11412237: Fix dart_analyzer finding SDK after core_runtime.dart rename (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 1 month 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 | « no previous file | compiler/scripts/dart_analyzer.sh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: compiler/scripts/dart_analyzer.bat
diff --git a/compiler/scripts/dart_analyzer.bat b/compiler/scripts/dart_analyzer.bat
index 0353f2b8a47ae00469f13a22c77f53ee62c9b70c..46530205bbc955775b6c53c8c262a40041bf8b70 100644
--- a/compiler/scripts/dart_analyzer.bat
+++ b/compiler/scripts/dart_analyzer.bat
@@ -44,7 +44,7 @@ rem
setlocal EnableDelayedExpansion
set DART_SDK=""
if [%FOUND_SDK%] == [0] (
- if exist "%DART_ANALYZER_HOME%\lib\core\core_runtime.dart" (
+ if exist "%DART_ANALYZER_HOME%\lib\core\core.dart" (
set DART_SDK=--dart-sdk %DART_ANALYZER_HOME%
) else (
for /f %%i in ('echo %DART_ANALYZER_HOME%') do set DART_SDK_HOME=%%~dpi\dart-sdk
@@ -64,7 +64,7 @@ endlocal & set "DART_SDK=%DART_SDK%" & set "DART_SDK_HOME=%DART_SDK_HOME%"
rem DART_SDK=""
rem if [ $FOUND_SDK = 0 ] ; then
-rem if [ -f $DART_ANALYZER_HOME/lib/core/core_runtime.dart ] ; then
+rem if [ -f $DART_ANALYZER_HOME/lib/core/core.dart ] ; then
rem DART_SDK="--dart-sdk $DART_ANALYZER_HOME"
rem else
rem DART_SDK_HOME=$(dirname $DART_ANALYZER_HOME)/dart-sdk
@@ -136,4 +136,4 @@ java %EXTRA_JVMARGS% %DART_JVMARGS% -ea -classpath "@CLASSPATH@" ^
rem exec java $EXTRA_JVMARGS $DART_JVMARGS -ea -classpath "@CLASSPATH@" \
rem com.google.dart.compiler.DartCompiler ${DART_SDK} $@
-rem
+rem
« no previous file with comments | « no previous file | compiler/scripts/dart_analyzer.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698