Index: bench/ResultsWriter.h |
diff --git a/bench/ResultsWriter.h b/bench/ResultsWriter.h |
index 29d3d1df4120e7772e43fe3ab17650933dd3be31..12c968a5075d42b4c2890b0c540b8b6f3a2f83d7 100644 |
--- a/bench/ResultsWriter.h |
+++ b/bench/ResultsWriter.h |
@@ -77,6 +77,7 @@ private: |
const char* fTimeFormat; |
}; |
+#ifdef SK_BUILD_JSON_WRITER |
/** |
* This ResultsWriter handles writing out the results in JSON. |
* |
@@ -133,6 +134,7 @@ private: |
Json::Value* fConfig; |
}; |
+#endif // SK_BUILD_JSON_WRITER |
/** |
* This ResultsWriter writes out to multiple ResultsWriters. |
*/ |