Update DM JSON format.
authormtklein <mtklein@chromium.org>
Tue, 9 Sep 2014 14:59:46 +0000 (07:59 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 9 Sep 2014 14:59:46 +0000 (07:59 -0700)
commitea65bfa8ded918b908287e3e3474aaf5cbd12fea
tree466469207e976828154517fe8201f8032d9e0433
parent197ceda92966359962c51923a01dd2b0018b080f
Update DM JSON format.

Ex. dm --match patch -w bad --key arch x86 gpu nvidia model z620 --properties git_hash abcd build_number 20 ->

{
   "build_number" : "20",
   "git_hash" : "abcd",
   "key" : {
      "arch" : "x86",
      "gpu" : "nvidia",
      "model" : "z620"
   },
   "results" : [
      {
         "key" : {
            "config" : "565",
            "name" : "ninepatch-stretch"
         },
         "md5" : "f78cfafcbabaf815f3dfcf61fb59acc7",
         "options" : {
            "source_type" : "GM"
         }
      },
      {
         "key" : {
            "config" : "8888",
            "name" : "ninepatch-stretch"
         },
         "md5" : "3e8a42f35a1e76f00caa191e6310d789",
         "options" : {
            "source_type" : "GM"
         }
      },
...

This breaks -r, but that's okay.  Going to follow up this CL with one that removes that entirely.

BUG=skia:
R=stephana@google.com, jcgregorio@google.com, mtklein@google.com

Author: mtklein@chromium.org

Review URL: https://codereview.chromium.org/551873003
13 files changed:
bench/nanobench.cpp
dm/DMCpuGMTask.cpp
dm/DMGpuGMTask.cpp
dm/DMPDFRasterizeTask.cpp
dm/DMPDFTask.cpp
dm/DMPipeTask.cpp
dm/DMQuiltTask.cpp
dm/DMSKPTask.cpp
dm/DMSerializeTask.cpp
dm/DMWriteTask.cpp
dm/DMWriteTask.h
tools/flags/SkCommonFlags.cpp
tools/flags/SkCommonFlags.h