Resubmit issue 2221103002 to fix the iOS build by declaring the flag in
SkCommonFlags.h

TBR=reed@google.com,caryclark@google.com

BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2393643002

Review-Url: https://codereview.chromium.org/2393643002
diff --git a/bench/nanobench.cpp b/bench/nanobench.cpp
index 433cfa8..1191423 100644
--- a/bench/nanobench.cpp
+++ b/bench/nanobench.cpp
@@ -44,6 +44,7 @@
 #include "SkTaskGroup.h"
 #include "SkThreadUtils.h"
 #include "ThermalManager.h"
+#include "SkScan.h"
 
 #include <stdlib.h>
 
@@ -1178,6 +1179,10 @@
         start_keepalive();
     }
 
+    if (FLAGS_analyticAA) {
+        GlobalAAConfig::getInstance().fUseAnalyticAA = true;
+    }
+
     int runs = 0;
     BenchmarkStream benchStream;
     while (Benchmark* b = benchStream.next()) {