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

Issue 753543003: Change how SkDebugf is sent to stdout on Android. (Closed)

Created:
6 years, 1 month ago by scroggo
Modified:
6 years ago
Reviewers:
djsollen
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Project:
skia
Visibility:
Public.

Description

Change how SkDebugf is sent to stdout on Android. Previously, a function was called using dlsym in skia_launcher. Add a static initializer that changes the setting, and include that for the tools we automate for testing. Also only do va_copy if we actually use it. BUG=skia:2454 Committed: https://skia.googlesource.com/skia/+/6cfce1b7b4ad546b02823a1a0bbbda2c17b688f5

Patch Set 1 #

Total comments: 2

Patch Set 2 : Move android_output to apptype_console. #

Total comments: 1

Patch Set 3 : Rebase (just in case) #

Patch Set 4 : Don't start with ifdef... #

Total comments: 2

Patch Set 5 : Update comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+58 lines, -26 lines) Patch
A gyp/android_output.gyp View 1 2 3 4 1 chunk +16 lines, -0 lines 0 comments Download
M gyp/apptype_console.gypi View 1 1 chunk +10 lines, -3 lines 0 comments Download
M platform_tools/android/launcher/skia_launcher.cpp View 1 chunk +0 lines, -11 lines 0 comments Download
M src/ports/SkDebug_android.cpp View 2 chunks +8 lines, -12 lines 0 comments Download
A tools/AndroidSkDebugToStdOut.cpp View 1 2 3 1 chunk +24 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (2 generated)
djsollen
so your saying this works in the main skia repo, but not for the framework ...
6 years, 1 month ago (2014-11-21 19:00:10 UTC) #2
scroggo
On 2014/11/21 19:00:10, djsollen wrote: > so your saying this works in the main skia ...
6 years, 1 month ago (2014-11-21 19:14:20 UTC) #3
djsollen
I doubt this would work either, but it is worth a try. https://codereview.chromium.org/753543003/diff/20001/tools/AndroidSkDebugToStdOut.cpp File tools/AndroidSkDebugToStdOut.cpp ...
6 years ago (2014-12-09 18:55:41 UTC) #4
scroggo
On 2014/12/09 18:55:41, djsollen wrote: > I doubt this would work either, but it is ...
6 years ago (2014-12-10 17:03:44 UTC) #5
scroggo
On 2014/12/10 17:03:44, scroggo wrote: > On 2014/12/09 18:55:41, djsollen wrote: > > I doubt ...
6 years ago (2014-12-10 17:11:30 UTC) #6
djsollen
I think this is cleaner and more general purpose than the skia_launcher hack so this ...
6 years ago (2014-12-10 17:44:11 UTC) #7
djsollen
https://codereview.chromium.org/753543003/diff/60001/gyp/android_output.gyp File gyp/android_output.gyp (right): https://codereview.chromium.org/753543003/diff/60001/gyp/android_output.gyp#newcode1 gyp/android_output.gyp:1: # GYP file to send android SkDebug to stdout. ...
6 years ago (2014-12-10 17:46:08 UTC) #8
scroggo
https://codereview.chromium.org/753543003/diff/60001/gyp/android_output.gyp File gyp/android_output.gyp (right): https://codereview.chromium.org/753543003/diff/60001/gyp/android_output.gyp#newcode1 gyp/android_output.gyp:1: # GYP file to send android SkDebug to stdout. ...
6 years ago (2014-12-10 18:13:24 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/753543003/80001
6 years ago (2014-12-10 18:14:05 UTC) #11
commit-bot: I haz the power
6 years ago (2014-12-10 18:23:11 UTC) #12
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://skia.googlesource.com/skia/+/6cfce1b7b4ad546b02823a1a0bbbda2c17b688f5

Powered by Google App Engine
This is Rietveld 408576698