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

Issue 12335133: Create "binaries" for calling the new analyzer. (Closed)

Created:
7 years, 9 months ago by ricow1
Modified:
7 years, 9 months ago
Reviewers:
ahe, kustermann
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Create "binaries" for calling the new analyzer. This make the testing script look much nicer, and it allows for easier calling the analyzer instead of using java -jar Committed: https://code.google.com/p/dart/source/detail?r=19882

Patch Set 1 #

Total comments: 12

Patch Set 2 : #

Total comments: 1

Patch Set 3 : #

Patch Set 4 : #

Total comments: 6

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Patch Set 8 : #

Patch Set 9 : #

Total comments: 6
Unified diffs Side-by-side diffs Delta from patch set Stats (+66 lines, -0 lines) Patch
M editor/analyzer.gyp View 1 2 3 4 1 chunk +2 lines, -0 lines 2 comments Download
A sdk/bin/analyzer View 1 2 3 4 1 chunk +39 lines, -0 lines 2 comments Download
A sdk/bin/analyzer.bat View 1 2 3 4 1 chunk +25 lines, -0 lines 2 comments Download

Messages

Total messages: 15 (0 generated)
ricow1
7 years, 9 months ago (2013-02-27 13:51:06 UTC) #1
ricow1
I did not test the windows version yet, I will do so when my machine ...
7 years, 9 months ago (2013-02-27 13:51:35 UTC) #2
ricow1
7 years, 9 months ago (2013-03-11 09:02:21 UTC) #3
ahe
https://codereview.chromium.org/12335133/diff/1/editor/tools/analyzer File editor/tools/analyzer (right): https://codereview.chromium.org/12335133/diff/1/editor/tools/analyzer#newcode1 editor/tools/analyzer:1: #!/bin/bash --posix Any reason for the --posix parameter? https://codereview.chromium.org/12335133/diff/1/editor/tools/analyzer#newcode1 ...
7 years, 9 months ago (2013-03-11 10:14:52 UTC) #4
kustermann
lgtm https://codereview.chromium.org/12335133/diff/1/editor/tools/analyzer File editor/tools/analyzer (right): https://codereview.chromium.org/12335133/diff/1/editor/tools/analyzer#newcode10 editor/tools/analyzer:10: JAR_DIR="$(cd "${SCRIPT_DIR%/*}" ; pwd)" Add a comment here ...
7 years, 9 months ago (2013-03-11 10:15:33 UTC) #5
ricow1
https://codereview.chromium.org/12335133/diff/1/editor/tools/analyzer File editor/tools/analyzer (right): https://codereview.chromium.org/12335133/diff/1/editor/tools/analyzer#newcode1 editor/tools/analyzer:1: #!/bin/bash --posix On 2013/03/11 10:14:52, ahe wrote: > I ...
7 years, 9 months ago (2013-03-12 08:41:41 UTC) #6
kustermann
https://codereview.chromium.org/12335133/diff/7001/editor/tools/compile_analyzer.py File editor/tools/compile_analyzer.py (right): https://codereview.chromium.org/12335133/diff/7001/editor/tools/compile_analyzer.py#newcode77 editor/tools/compile_analyzer.py:77: print unix_bin Left over "print"s?
7 years, 9 months ago (2013-03-12 08:45:17 UTC) #7
ahe
Still troubled by this file not being in sdk/bin. https://codereview.chromium.org/12335133/diff/1/editor/tools/analyzer File editor/tools/analyzer (right): https://codereview.chromium.org/12335133/diff/1/editor/tools/analyzer#newcode1 editor/tools/analyzer:1: ...
7 years, 9 months ago (2013-03-12 08:47:35 UTC) #8
ricow1
On 2013/03/12 08:47:35, ahe wrote: > Still troubled by this file not being in sdk/bin. ...
7 years, 9 months ago (2013-03-12 10:59:06 UTC) #9
ricow1
Moved bash file to sdk/bin This is not executable from that location - if we ...
7 years, 9 months ago (2013-03-12 13:26:04 UTC) #10
ahe
https://codereview.chromium.org/12335133/diff/3002/editor/tools/compile_analyzer.py File editor/tools/compile_analyzer.py (right): https://codereview.chromium.org/12335133/diff/3002/editor/tools/compile_analyzer.py#newcode77 editor/tools/compile_analyzer.py:77: def CopyBinaries(options): Why do you need to copy the ...
7 years, 9 months ago (2013-03-12 14:13:11 UTC) #11
ricow1
PTAL https://codereview.chromium.org/12335133/diff/3002/editor/tools/compile_analyzer.py File editor/tools/compile_analyzer.py (right): https://codereview.chromium.org/12335133/diff/3002/editor/tools/compile_analyzer.py#newcode77 editor/tools/compile_analyzer.py:77: def CopyBinaries(options): On 2013/03/12 14:13:11, ahe wrote: > ...
7 years, 9 months ago (2013-03-12 15:28:55 UTC) #12
ahe
LGTM! https://codereview.chromium.org/12335133/diff/27002/editor/analyzer.gyp File editor/analyzer.gyp (right): https://codereview.chromium.org/12335133/diff/27002/editor/analyzer.gyp#newcode37 editor/analyzer.gyp:37: '../sdk/bin/analyzer.bat' I'm not sure you need these as ...
7 years, 9 months ago (2013-03-12 15:47:04 UTC) #13
ricow1
Committed patchset #9 manually as r19882 (presubmit successful).
7 years, 9 months ago (2013-03-12 17:42:21 UTC) #14
ricow1
7 years, 9 months ago (2013-03-12 18:08:40 UTC) #15
Message was sent while issue was closed.
https://codereview.chromium.org/12335133/diff/27002/editor/analyzer.gyp
File editor/analyzer.gyp (right):

https://codereview.chromium.org/12335133/diff/27002/editor/analyzer.gyp#newco...
editor/analyzer.gyp:37: '../sdk/bin/analyzer.bat'
On 2013/03/12 15:47:04, ahe wrote:
> I'm not sure you need these as dependencies anymore.

removed

https://codereview.chromium.org/12335133/diff/27002/sdk/bin/analyzer
File sdk/bin/analyzer (right):

https://codereview.chromium.org/12335133/diff/27002/sdk/bin/analyzer#newcode6
sdk/bin/analyzer:6: # This file is used to execute the analyzer by running the
jar file
On 2013/03/12 15:47:04, ahe wrote:
> Unfinished sentence (add a period).

Done. and in windows as well

https://codereview.chromium.org/12335133/diff/27002/sdk/bin/analyzer.bat
File sdk/bin/analyzer.bat (right):

https://codereview.chromium.org/12335133/diff/27002/sdk/bin/analyzer.bat#newc...
sdk/bin/analyzer.bat:14: if %SCRIPTPATH:~-1%== set SCRIPTPATH=%SCRIPTPATH:~0,-1%
On 2013/03/12 15:47:04, ahe wrote:
> This reminds me.  I think there is a cut-and-paste error here.  Shouldn't it
be:
> 
> if %SCRIPTPATH:~-1%==\ set SCRIPTPATH=%SCRIPTPATH:~0,-1%

Yes, thanks

Powered by Google App Engine
This is Rietveld 408576698