From 14f984bc6bdb4327c3f577b7ccbc61a710443288 Mon Sep 17 00:00:00 2001 From: kjlubick Date: Mon, 3 Oct 2016 11:49:45 -0700 Subject: Add fuzz executable to GN BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2389853002 Review-Url: https://codereview.chromium.org/2389853002 --- fuzz/FuzzParsePath.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'fuzz/FuzzParsePath.cpp') diff --git a/fuzz/FuzzParsePath.cpp b/fuzz/FuzzParsePath.cpp index fe1355037d..6eb7f3b713 100644 --- a/fuzz/FuzzParsePath.cpp +++ b/fuzz/FuzzParsePath.cpp @@ -13,7 +13,7 @@ // Most of this is taken from random_parse_path.cpp and adapted to use the Fuzz // instead of SKRandom -const struct Legal { +static const struct Legal { char fSymbol; int fScalars; } gLegal[] = { @@ -29,10 +29,10 @@ const struct Legal { { 'Z', 0 }, }; -bool gEasy = false; // set to true while debugging to suppress unusual whitespace +static bool gEasy = false; // set to true while debugging to suppress unusual whitespace // mostly do nothing, then bias towards spaces -const char gWhiteSpace[] = { 0, 0, 0, 0, 0, 0, 0, 0, ' ', ' ', ' ', ' ', 0x09, 0x0D, 0x0A }; +static const char gWhiteSpace[] = { 0, 0, 0, 0, 0, 0, 0, 0, ' ', ' ', ' ', ' ', 0x09, 0x0D, 0x0A }; static void add_white(Fuzz* fuzz, SkString* atom) { if (gEasy) { -- cgit v1.2.3