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

Issue 346453002: Refactor how we handle resources path in Tests. (Closed)

Created:
6 years, 6 months ago by tfarina
Modified:
6 years, 6 months ago
Reviewers:
mtklein
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Visibility:
Public.

Description

Refactor how we handle resources path in Tests. This idea emerged while doing https://codereview.chromium.org/321723002/ (commit 880914c35c8f7fc2e9c57134134c883baf66e538). BUG=None TEST=make tests && out/Debug/tests R=mtklein@google.com Committed: https://skia.googlesource.com/skia/+/bcbc1788b478b1e54079318ad073e8490aa66fae

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : bench, gm, dm and samplecode changes #

Patch Set 4 : REBASE #

Total comments: 2

Patch Set 5 : gyp changes #

Patch Set 6 : rm webtry files #

Patch Set 7 : resources.gyp #

Patch Set 8 : revert gmslides.gypi change #

Patch Set 9 : REBASE AGAIN #

Patch Set 10 : fix rebase conflict #

Unified diffs Side-by-side diffs Delta from patch set Stats (+184 lines, -175 lines) Patch
M bench/ETCBitmapBench.cpp View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M bench/SkBenchmark.h View 1 2 3 2 chunks +0 lines, -4 lines 0 comments Download
M bench/SkBenchmark.cpp View 1 2 3 3 chunks +2 lines, -12 lines 0 comments Download
M bench/SkipZeroesBench.cpp View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M bench/benchmain.cpp View 1 2 3 4 5 6 7 8 2 chunks +0 lines, -5 lines 0 comments Download
M dm/DM.cpp View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -3 lines 0 comments Download
M gm/cmykjpeg.cpp View 1 2 2 chunks +7 lines, -6 lines 0 comments Download
M gm/coloremoji.cpp View 1 2 2 chunks +3 lines, -2 lines 0 comments Download
M gm/copyTo4444.cpp View 1 2 2 chunks +4 lines, -1 line 0 comments Download
M gm/downsamplebitmap.cpp View 1 2 3 chunks +7 lines, -7 lines 0 comments Download
M gm/etc1bitmap.cpp View 1 2 3 chunks +6 lines, -3 lines 0 comments Download
M gm/factory.cpp View 1 2 2 chunks +4 lines, -1 line 0 comments Download
M gm/filterbitmap.cpp View 1 2 2 chunks +8 lines, -7 lines 0 comments Download
M gm/filterindiabox.cpp View 1 2 2 chunks +11 lines, -11 lines 0 comments Download
M gm/gm.h View 1 2 2 chunks +0 lines, -5 lines 0 comments Download
M gm/gm.cpp View 1 2 2 chunks +1 line, -11 lines 0 comments Download
M gm/gmmain.cpp View 1 2 3 4 5 6 7 8 9 6 chunks +4 lines, -12 lines 0 comments Download
M gyp/SampleApp.gyp View 1 2 3 4 3 chunks +8 lines, -7 lines 0 comments Download
M gyp/bench.gyp View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M gyp/gm.gyp View 1 2 3 4 5 6 7 8 2 chunks +6 lines, -6 lines 0 comments Download
A gyp/resources.gyp View 1 2 3 4 5 6 1 chunk +25 lines, -0 lines 0 comments Download
M gyp/tests.gypi View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M gyp/tools.gyp View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M samplecode/SampleApp.cpp View 1 2 3 5 chunks +15 lines, -25 lines 0 comments Download
M samplecode/SamplePicture.cpp View 1 2 2 chunks +12 lines, -11 lines 0 comments Download
M samplecode/SampleSubpixelTranslate.cpp View 1 2 3 chunks +8 lines, -7 lines 0 comments Download
M samplecode/SampleUnpremul.cpp View 1 2 2 chunks +3 lines, -1 line 0 comments Download
M tests/FontHostTest.cpp View 1 2 chunks +2 lines, -1 line 0 comments Download
M tests/ImageDecodingTest.cpp View 6 chunks +6 lines, -5 lines 0 comments Download
M tests/KtxTest.cpp View 1 2 3 2 chunks +2 lines, -1 line 0 comments Download
M tests/Test.h View 2 chunks +0 lines, -5 lines 0 comments Download
M tests/Test.cpp View 2 chunks +0 lines, -10 lines 0 comments Download
M tests/skia_test.cpp View 1 2 3 4 5 6 7 8 4 chunks +2 lines, -3 lines 0 comments Download
A tools/Resources.h View 1 chunk +15 lines, -0 lines 0 comments Download
A tools/Resources.cpp View 1 chunk +17 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
tfarina
Mike, please, let me know what you think. If you are OK with this, I ...
6 years, 6 months ago (2014-06-17 21:58:24 UTC) #1
mtklein
On 2014/06/17 21:58:24, tfarina wrote: > Mike, please, let me know what you think. > ...
6 years, 6 months ago (2014-06-18 00:43:02 UTC) #2
tfarina
Mike, please, could you do another pass through my changes? A sanity and correction check, ...
6 years, 6 months ago (2014-06-18 16:08:33 UTC) #3
mtklein
Still looks good to me. I would prefer we figure out a better GYP configuration ...
6 years, 6 months ago (2014-06-18 18:02:55 UTC) #4
tfarina
GYP changes made. https://codereview.chromium.org/346453002/diff/60001/gm/cmykjpeg.cpp File gm/cmykjpeg.cpp (right): https://codereview.chromium.org/346453002/diff/60001/gm/cmykjpeg.cpp#newcode29 gm/cmykjpeg.cpp:29: SkString resourcePath = GetResourcePath(); On 2014/06/18 ...
6 years, 6 months ago (2014-06-18 19:58:23 UTC) #5
tfarina
The CQ bit was checked by tfarina@chromium.org
6 years, 6 months ago (2014-06-18 21:17:23 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/tfarina@chromium.org/346453002/180001
6 years, 6 months ago (2014-06-18 21:17:31 UTC) #7
commit-bot: I haz the power
Change committed as bcbc1788b478b1e54079318ad073e8490aa66fae
6 years, 6 months ago (2014-06-18 21:32:54 UTC) #8
mtklein
6 years, 6 months ago (2014-06-18 22:20:02 UTC) #9
Message was sent while issue was closed.
> I'll change that in a follow up.
> 
> I think it will make the reviewer's life easier (and mine too, in case I make
> any mistake).

Oh yes, strongly agreed!

Powered by Google App Engine
This is Rietveld 408576698