Fix SVG flag iOS linking
authorfmalita <fmalita@chromium.org>
Wed, 14 Sep 2016 16:05:43 +0000 (09:05 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 14 Sep 2016 16:05:43 +0000 (09:05 -0700)
TBR=mtklein@google.com
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2344533002

Review-Url: https://codereview.chromium.org/2344533002

bench/nanobench.cpp
dm/DM.cpp
tools/flags/SkCommonFlags.cpp
tools/flags/SkCommonFlags.h

index 26ba05f..ef22dee 100644 (file)
@@ -127,8 +127,6 @@ DEFINE_string(sourceType, "",
 DEFINE_string(benchType,  "",
         "Apply usual --match rules to bench type: micro, recording, playback, skcodec, etc.");
 
-DEFINE_string(svgs, "", "Directory to read SVGs from, or a single SVG file.");
-
 static double now_ms() { return SkTime::GetNSecs() * 1e-6; }
 
 static SkString humanize(double ms) {
index fc332a2..53709ba 100644 (file)
--- a/dm/DM.cpp
+++ b/dm/DM.cpp
@@ -73,8 +73,6 @@ DEFINE_int32(shard,  0, "Which shard do I run?");
 
 DEFINE_string(mskps, "", "Directory to read mskps from, or a single mskp file.");
 
-DEFINE_string(svgs, "", "Directory to read SVGs from, or a single SVG file.");
-
 using namespace DM;
 using sk_gpu_test::GrContextFactory;
 using sk_gpu_test::GLTestContext;
index 57078fa..bf2bde0 100644 (file)
@@ -48,6 +48,8 @@ DEFINE_bool(releaseAndAbandonGpuContext, false,
 
 DEFINE_string(skps, "skps", "Directory to read skps from.");
 
+DEFINE_string(svgs, "", "Directory to read SVGs from, or a single SVG file.");
+
 DEFINE_int32(threads, -1, "Run threadsafe tests on a threadpool with this many extra threads, "
                           "defaulting to one extra thread per core.");
 
index 9b69488..050303b 100644 (file)
@@ -25,6 +25,7 @@ DECLARE_bool(preAbandonGpuContext);
 DECLARE_bool(abandonGpuContext);
 DECLARE_bool(releaseAndAbandonGpuContext);
 DECLARE_string(skps);
+DECLARE_string(svgs);
 DECLARE_int32(threads);
 DECLARE_string(resourcePath);
 DECLARE_bool(verbose);