2014-07-22 17:15:34 +00:00
|
|
|
/*
|
|
|
|
* Copyright 2014 Google Inc.
|
|
|
|
*
|
|
|
|
* Use of this source code is governed by a BSD-style license that can be
|
|
|
|
* found in the LICENSE file.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef SK_COMMON_FLAGS_H
|
|
|
|
#define SK_COMMON_FLAGS_H
|
|
|
|
|
|
|
|
#include "SkCommandLineFlags.h"
|
|
|
|
|
|
|
|
DECLARE_string(config);
|
|
|
|
DECLARE_bool(cpu);
|
|
|
|
DECLARE_bool(dryRun);
|
|
|
|
DECLARE_bool(gpu);
|
|
|
|
DECLARE_string(gpuAPI);
|
|
|
|
DECLARE_bool(leaks);
|
|
|
|
DECLARE_string(match);
|
|
|
|
DECLARE_bool(quiet);
|
|
|
|
DECLARE_bool(resetGpuContext);
|
2014-07-28 20:48:36 +00:00
|
|
|
DECLARE_bool(abandonGpuContext);
|
2014-08-01 14:46:52 +00:00
|
|
|
DECLARE_string(skps);
|
2014-07-22 17:15:34 +00:00
|
|
|
DECLARE_int32(threads);
|
|
|
|
DECLARE_string(resourcePath);
|
|
|
|
DECLARE_bool(verbose);
|
|
|
|
DECLARE_bool(veryVerbose);
|
2014-08-07 22:20:02 +00:00
|
|
|
DECLARE_string(writePath);
|
2014-07-22 17:15:34 +00:00
|
|
|
|
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
2014-09-09 14:59:46 +00:00
|
|
|
DECLARE_string(key);
|
|
|
|
DECLARE_string(properties);
|
|
|
|
|
2014-07-22 17:15:34 +00:00
|
|
|
#endif
|