Refactoring in preparation for adding the picture benchmarking program.

Review URL: https://codereview.appspot.com/6339043/

git-svn-id: http://skia.googlecode.com/svn/trunk/gyp@4310 2bbb7eff-a529-9590-31e7-b0007b416f81
3 files changed