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

Issue 12632015: Make gm use SkFlags. (Closed)

Created:
7 years, 9 months ago by scroggo
Modified:
7 years, 9 months ago
Reviewers:
epoger
CC:
skia-review_googlegroups.com
Visibility:
Public.

Description

Make gm use SkFlags. Make flag parser its own project. It is still in the tools folder, but can now be used by other projects. Some changes to behavior in order to work with SkFlags: enable-missing-warning and disable-missing-warning have become enableMissingWarning and noenableMissingWarning. exclude-config is now excludeConfig --config now can only be listed once, but all configs listed after it will be included (same with excludeConfig and match). In addition, writeJsonSummary has been changed to writeJsonSummaryPath for consistency with other path flags. Provide an option to SkFlags to provide a short name, and use it for the flags which have short names. --tileGridReplayScales now takes space separated arguments, like other inputs. BUG=https://code.google.com/p/skia/issues/detail?id=1094 Committed: https://code.google.com/p/skia/source/detail?r=8235

Patch Set 1 #

Patch Set 2 : #

Total comments: 14

Patch Set 3 : respond to comments #

Patch Set 4 : update command_line #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+234 lines, -294 lines) Patch
M gm/gmmain.cpp View 1 2 22 chunks +144 lines, -261 lines 0 comments Download
M gm/tests/outputs/compared-against-different-pixels-images/output-expected/command_line View 1 2 3 1 chunk +1 line, -1 line 1 comment Download
M gm/tests/outputs/compared-against-different-pixels-json/output-expected/command_line View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M gm/tests/outputs/compared-against-empty-dir/output-expected/command_line View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M gm/tests/outputs/compared-against-identical-bytes-images/output-expected/command_line View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M gm/tests/outputs/compared-against-identical-bytes-json/output-expected/command_line View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M gm/tests/outputs/compared-against-identical-pixels-images/output-expected/command_line View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M gm/tests/outputs/compared-against-identical-pixels-json/output-expected/command_line View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M gm/tests/outputs/no-readpath/output-expected/command_line View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M gm/tests/run.sh View 1 2 5 chunks +5 lines, -5 lines 0 comments Download
A gyp/flags.gyp View 1 chunk +29 lines, -0 lines 0 comments Download
M gyp/gm.gyp View 1 chunk +1 line, -0 lines 0 comments Download
M gyp/tools.gyp View 4 chunks +2 lines, -6 lines 0 comments Download
M tools/SkFlags.h View 5 chunks +39 lines, -12 lines 0 comments Download
M tools/SkFlags.cpp View 1 1 chunk +6 lines, -2 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
scroggo
7 years, 9 months ago (2013-03-14 23:08:18 UTC) #1
epoger
https://codereview.chromium.org/12632015/diff/1006/gm/gmmain.cpp File gm/gmmain.cpp (right): https://codereview.chromium.org/12632015/diff/1006/gm/gmmain.cpp#newcode11 gm/gmmain.cpp:11: * If you make changes to this, re-run the ...
7 years, 9 months ago (2013-03-15 04:23:08 UTC) #2
epoger
P.S. I neglected to mention... thanks for doing this! Let me know if I can ...
7 years, 9 months ago (2013-03-15 14:33:51 UTC) #3
scroggo
I'll go through the other comments next, but first I wanted to separate out the ...
7 years, 9 months ago (2013-03-15 15:15:59 UTC) #4
scroggo
https://codereview.chromium.org/12632015/diff/1006/gm/gmmain.cpp File gm/gmmain.cpp (right): https://codereview.chromium.org/12632015/diff/1006/gm/gmmain.cpp#newcode11 gm/gmmain.cpp:11: * If you make changes to this, re-run the ...
7 years, 9 months ago (2013-03-15 16:34:20 UTC) #5
epoger
LGTM! Thanks for the thorough job! https://codereview.chromium.org/12632015/diff/1006/gm/gmmain.cpp File gm/gmmain.cpp (right): https://codereview.chromium.org/12632015/diff/1006/gm/gmmain.cpp#newcode11 gm/gmmain.cpp:11: * If you ...
7 years, 9 months ago (2013-03-15 17:13:38 UTC) #6
scroggo
> P.S. I neglected to mention... thanks for doing this! On 2013/03/15 17:13:38, epoger wrote: ...
7 years, 9 months ago (2013-03-18 18:05:47 UTC) #7
scroggo
7 years, 9 months ago (2013-03-19 17:28:34 UTC) #8
Message was sent while issue was closed.
Committed patchset #4 manually as r8235 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698