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

Issue 657373002: Make nanobench and dm be usable from Chromium build (Closed)

Created:
6 years, 2 months ago by Kimmo Kinnunen
Modified:
6 years, 1 month ago
Reviewers:
borenet, mtklein, mtklein_C
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Project:
skia
Visibility:
Public.

Description

Make nanobench and dm be usable from Chromium build Move the app logic for each app as follows: <app>.cpp -- the file which contains main(). Embedders that compile their own apps, such as ios shell, upcoming Chromium dm etc, do not use this. <app>_main.cpp -- the main logic of the Skia test application. This will be used by Skia -compiled apps as well as embedder -compiled apps. <app>_main.h -- the API for the main logic. This will be used by Skia -compiled apps as well as embedder -compiled apps. This way (the upcoming) Chromium dm can setup its Chromium-specific setup in custom main(), and then call dm_main(), without the need of any SK_BUILD_FOR_XXXX defines controlling whether the tool defines main or not. BUG=skia:2992 Committed: https://skia.googlesource.com/skia/+/c092d3bdab5f723576cc0346cea3ee282a9cb444

Patch Set 1 #

Patch Set 2 : address review comments #

Patch Set 3 : remove bench_pictures #

Patch Set 4 : rebase #

Patch Set 5 : try with dm.cpp being DM.cpp #

Unified diffs Side-by-side diffs Delta from patch set Stats (+54 lines, -28 lines) Patch
A + bench/nanobench.h View 1 1 chunk +6 lines, -3 lines 0 comments Download
M bench/nanobench.cpp View 1 2 3 2 chunks +0 lines, -8 lines 0 comments Download
A bench/nanobench_main.cpp View 1 1 chunk +18 lines, -0 lines 0 comments Download
D dm/DM.cpp View 1 2 3 4 3 chunks +0 lines, -10 lines 0 comments Download
A + dm/dm.h View 1 1 chunk +7 lines, -3 lines 0 comments Download
A dm/dm_main.cpp View 1 1 chunk +16 lines, -0 lines 0 comments Download
M gyp/bench.gyp View 1 chunk +1 line, -0 lines 0 comments Download
M gyp/dm.gyp View 1 1 chunk +3 lines, -0 lines 0 comments Download
M gyp/most.gyp View 1 chunk +1 line, -1 line 0 comments Download
M tools/iOSShell.cpp View 1 2 chunks +2 lines, -3 lines 0 comments Download

Messages

Total messages: 27 (10 generated)
Kimmo Kinnunen
A bit elaborate with the files, but would this be acceptable?
6 years, 2 months ago (2014-10-16 12:34:39 UTC) #2
mtklein
On 2014/10/16 12:34:39, Kimmo Kinnunen wrote: > A bit elaborate with the files, but would ...
6 years, 2 months ago (2014-10-16 12:58:35 UTC) #3
Kimmo Kinnunen
On 2014/10/16 12:58:35, mtklein wrote: > On 2014/10/16 12:34:39, Kimmo Kinnunen wrote: > > A ...
6 years, 2 months ago (2014-10-17 05:26:20 UTC) #4
mtklein
lgtm
6 years, 2 months ago (2014-10-17 14:28:09 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/657373002/40001
6 years, 2 months ago (2014-10-20 05:02:19 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: Build-Mac10.8-Clang-x86_64-Release-Trybot on client.skia.compile (http://build.chromium.org/p/client.skia.compile/builders/Build-Mac10.8-Clang-x86_64-Release-Trybot/builds/117) Build-Win-VS2013-x86-Debug-Trybot on client.skia.compile (http://build.chromium.org/p/client.skia.compile/builders/Build-Win-VS2013-x86-Debug-Trybot/builds/111)
6 years, 2 months ago (2014-10-20 05:04:40 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/657373002/60001
6 years, 1 month ago (2014-11-12 08:15:48 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: Build-Mac10.8-Clang-x86_64-Release-Trybot on client.skia.compile (http://build.chromium.org/p/client.skia.compile/builders/Build-Mac10.8-Clang-x86_64-Release-Trybot/builds/585)
6 years, 1 month ago (2014-11-12 08:17:56 UTC) #14
Kimmo Kinnunen
On 2014/11/12 08:17:56, I haz the power (commit-bot) wrote: > Try jobs failed on following ...
6 years, 1 month ago (2014-11-12 08:28:42 UTC) #15
mtklein
+Eric, who usually knows how to handle bot problems. Been seeing those Windows failures myself, ...
6 years, 1 month ago (2014-11-12 15:19:52 UTC) #17
mtklein
On 2014/11/12 15:19:52, mtklein wrote: > +Eric, who usually knows how to handle bot problems. ...
6 years, 1 month ago (2014-11-12 15:20:43 UTC) #18
borenet
On 2014/11/12 15:20:43, mtklein wrote: > On 2014/11/12 15:19:52, mtklein wrote: > > +Eric, who ...
6 years, 1 month ago (2014-11-12 15:35:26 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/657373002/80001
6 years, 1 month ago (2014-11-13 06:16:33 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: Test-Ubuntu13.10-GCE-NoGPU-x86_64-Debug-Trybot on client.skia (http://build.chromium.org/p/client.skia/builders/Test-Ubuntu13.10-GCE-NoGPU-x86_64-Debug-Trybot/builds/645)
6 years, 1 month ago (2014-11-13 06:31:44 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/657373002/80001
6 years, 1 month ago (2014-11-13 12:52:47 UTC) #25
commit-bot: I haz the power
Committed patchset #5 (id:80001) as https://skia.googlesource.com/skia/+/c092d3bdab5f723576cc0346cea3ee282a9cb444
6 years, 1 month ago (2014-11-13 13:01:08 UTC) #26
jcgregorio
6 years, 1 month ago (2014-11-13 16:05:12 UTC) #27
Message was sent while issue was closed.
A revert of this CL (patchset #5 id:80001) has been created in
https://codereview.chromium.org/724073002/ by jcgregorio@google.com.

The reason for reverting is: Causing breakages on Mac build..

Powered by Google App Engine
This is Rietveld 408576698