aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorGravatar msarett <msarett@google.com>2016-06-21 09:44:29 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-06-21 09:44:29 -0700
commitdb197a54b562d92a9da2f849e780aa327e1991ca (patch)
tree1a967771f861f85a60a5fa0889e2df5169482ea7 /tools
parent497e9e2b3668fd8bc7fab16326e93c5cc6f0c287 (diff)
Fix Mac clang linker
Diffstat (limited to 'tools')
-rw-r--r--tools/flags/SkCommonFlags.cpp5
-rw-r--r--tools/flags/SkCommonFlags.h1
2 files changed, 6 insertions, 0 deletions
diff --git a/tools/flags/SkCommonFlags.cpp b/tools/flags/SkCommonFlags.cpp
index 1caffd54d6..57078fa426 100644
--- a/tools/flags/SkCommonFlags.cpp
+++ b/tools/flags/SkCommonFlags.cpp
@@ -21,6 +21,11 @@ DEFINE_string(images, "", "List of images and/or directories to decode. A direct
DEFINE_string(colorImages, "", "List of images and/or directories to decode with color correction. "
"A directory with no images is treated as a fatal error.");
+DEFINE_bool(simpleCodec, false, "Runs of a subset of the codec tests. "
+ "For DM, this means no scaling or subsetting, always using the "
+ "canvas color type. "
+ "For nanobench, this means always N32, Premul or Opaque.");
+
DEFINE_string2(match, m, nullptr,
"[~][^]substring[$] [...] of GM name to run.\n"
"Multiple matches may be separated by spaces.\n"
diff --git a/tools/flags/SkCommonFlags.h b/tools/flags/SkCommonFlags.h
index ddd0fc89e0..9b694882af 100644
--- a/tools/flags/SkCommonFlags.h
+++ b/tools/flags/SkCommonFlags.h
@@ -17,6 +17,7 @@ DECLARE_bool(dryRun);
DECLARE_bool(gpu);
DECLARE_string(images);
DECLARE_string(colorImages);
+DECLARE_bool(simpleCodec);
DECLARE_string(match);
DECLARE_bool(quiet);
DECLARE_bool(resetGpuContext);