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

Side by Side Diff: sdk/bin/dartanalyzer_java.bat

Issue 240723006: Replace Java based analyzer with Dart based analyzer when building SDK (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: merge Created 6 years, 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « sdk/bin/dartanalyzer_java ('k') | tools/create_sdk.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 @echo off 1 @echo off
2 rem Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 2 rem Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
3 rem for details. All rights reserved. Use of this source code is governed by a 3 rem for details. All rights reserved. Use of this source code is governed by a
4 rem BSD-style license that can be found in the LICENSE file. 4 rem BSD-style license that can be found in the LICENSE file.
5 5
6 set SCRIPT_DIR=%~dp0 6 set SCRIPT_DIR=%~dp0
7 if %SCRIPT_DIR:~-1%==\ set SCRIPT_DIR=%SCRIPT_DIR:~0,-1% 7 if %SCRIPT_DIR:~-1%==\ set SCRIPT_DIR=%SCRIPT_DIR:~0,-1%
8 8
9 for %%I in ("%SCRIPT_DIR%\..") do set "DART_ANALYZER_HOME=%%~fI" 9 for %%I in ("%SCRIPT_DIR%\..") do set "DART_ANALYZER_HOME=%%~fI"
10 if %DART_ANALYZER_HOME:~-1%==\ set DART_ANALYZER_HOME=%DART_ANALYZER_HOME:~0,-1% 10 if %DART_ANALYZER_HOME:~-1%==\ set DART_ANALYZER_HOME=%DART_ANALYZER_HOME:~0,-1%
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 ) 48 )
49 49
50 setlocal EnableDelayedExpansion 50 setlocal EnableDelayedExpansion
51 set EXTRA_JVMARGS=-Xss2M 51 set EXTRA_JVMARGS=-Xss2M
52 if [%FOUND_BATCH%] == [1] ( 52 if [%FOUND_BATCH%] == [1] (
53 set EXTRA_JVMARGS=!EXTRA_JVMARGS! -client 53 set EXTRA_JVMARGS=!EXTRA_JVMARGS! -client
54 ) 54 )
55 endlocal & set "EXTRA_JVMARGS=%EXTRA_JVMARGS%" 55 endlocal & set "EXTRA_JVMARGS=%EXTRA_JVMARGS%"
56 56
57 java %EXTRA_JVMARGS% %DART_JVMARGS% -ea -jar "%DART_ANALYZER_LIBS%\dartanalyzer. jar" %DART_SDK% %* 57 java %EXTRA_JVMARGS% %DART_JVMARGS% -ea -jar "%DART_ANALYZER_LIBS%\dartanalyzer. jar" %DART_SDK% %*
OLDNEW
« no previous file with comments | « sdk/bin/dartanalyzer_java ('k') | tools/create_sdk.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698