diff options
author | msarett <msarett@google.com> | 2016-06-21 09:44:29 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-06-21 09:44:29 -0700 |
commit | db197a54b562d92a9da2f849e780aa327e1991ca (patch) | |
tree | 1a967771f861f85a60a5fa0889e2df5169482ea7 /tools | |
parent | 497e9e2b3668fd8bc7fab16326e93c5cc6f0c287 (diff) |
Fix Mac clang linker
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2077353006
Review-Url: https://codereview.chromium.org/2077353006
Diffstat (limited to 'tools')
-rw-r--r-- | tools/flags/SkCommonFlags.cpp | 5 | ||||
-rw-r--r-- | tools/flags/SkCommonFlags.h | 1 |
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); |