diff options
author | mtklein <mtklein@chromium.org> | 2014-08-07 15:20:02 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-08-07 15:20:02 -0700 |
commit | b511042bb07a6a289b0d1146cb57f6e8b80580d6 (patch) | |
tree | 26e19c52b4b2bdca5554122c4f35986f824c93e3 /tools | |
parent | acc125860053d0a65bc7b67dd1b886aa7932d292 (diff) |
Fix iOS build by centralizing --writePath.
CQ_EXTRA_TRYBOTS=tryserver.skia:Build-Mac10.7-Clang-Arm7-Debug-iOS-Trybot
BUG=skia:
R=mtklein@google.com
Author: mtklein@chromium.org
Review URL: https://codereview.chromium.org/452633002
Diffstat (limited to 'tools')
-rw-r--r-- | tools/flags/SkCommonFlags.cpp | 2 | ||||
-rw-r--r-- | tools/flags/SkCommonFlags.h | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/tools/flags/SkCommonFlags.cpp b/tools/flags/SkCommonFlags.cpp index 80ef2bfb5c..4d08ba6340 100644 --- a/tools/flags/SkCommonFlags.cpp +++ b/tools/flags/SkCommonFlags.cpp @@ -52,3 +52,5 @@ DEFINE_int32(threads, SkThreadPool::kThreadPerCore, DEFINE_bool2(verbose, v, false, "enable verbose output from the test driver."); DEFINE_bool2(veryVerbose, V, false, "tell individual tests to be verbose."); + +DEFINE_string2(writePath, w, "", "If set, write bitmaps here as .pngs."); diff --git a/tools/flags/SkCommonFlags.h b/tools/flags/SkCommonFlags.h index 4abf201344..b45ef0738a 100644 --- a/tools/flags/SkCommonFlags.h +++ b/tools/flags/SkCommonFlags.h @@ -26,5 +26,6 @@ DECLARE_int32(threads); DECLARE_string(resourcePath); DECLARE_bool(verbose); DECLARE_bool(veryVerbose); +DECLARE_string(writePath); #endif |