Fix linking errors on android builds due to cdd0f92b1ac
NOTREECHECKS=true
NOTRY=true
R=iancottrell@google.com, tomhudson@google.com
TBR=tomhudson@google.com
Author: halcanary@google.com
Review URL: https://codereview.chromium.org/194563003
git-svn-id: http://skia.googlecode.com/svn/trunk@13745 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/tools/bbh_shootout.cpp b/tools/bbh_shootout.cpp
index 0b5c018..8d9ab63 100644
--- a/tools/bbh_shootout.cpp
+++ b/tools/bbh_shootout.cpp
@@ -22,7 +22,7 @@
DEFINE_string2(skps, r, "", "The list of SKPs to benchmark.");
-DEFINE_string(bbh, "", "The set of bbox types to test. If empty, all are tested. "
+DEFINE_string(bb_types, "", "The set of bbox types to test. If empty, all are tested. "
"Should be one or more of none, quadtree, rtree, tilegrid.");
DEFINE_int32(record, 100, "Number of times to record each SKP.");
DEFINE_int32(playback, 1, "Number of times to playback each SKP.");
@@ -87,8 +87,8 @@
SkAutoGraphics ag;
bool includeBBoxType[kBBoxTypeCount];
for (int bBoxType = 0; bBoxType < kBBoxTypeCount; ++bBoxType) {
- includeBBoxType[bBoxType] = (FLAGS_bbh.count() == 0) ||
- FLAGS_bbh.contains(kBBoxHierarchyTypeNames[bBoxType]);
+ includeBBoxType[bBoxType] = (FLAGS_bb_types.count() == 0) ||
+ FLAGS_bb_types.contains(kBBoxHierarchyTypeNames[bBoxType]);
}
// go through all the pictures
SkTArray<Measurement> measurements;