| Index: dm/DM.cpp | 
| diff --git a/dm/DM.cpp b/dm/DM.cpp | 
| index 87555984bc581d43caa74a95d7ead4065fc7d5d5..776b642e7b9b119361ada49a2418f8d371b8151c 100644 | 
| --- a/dm/DM.cpp | 
| +++ b/dm/DM.cpp | 
| @@ -38,16 +38,10 @@ using skiatest::TestRegistry; | 
|  | 
| DEFINE_int32(threads, -1, "Threads for CPU work. Default NUM_CPUS."); | 
| DEFINE_int32(gpuThreads, 1, "Threads for GPU work."); | 
| -#ifdef SK_BUILD_JSON_WRITER | 
| DEFINE_string2(expectations, r, "", | 
| "If a directory, compare generated images against images under this path. " | 
| "If a file, compare generated images against JSON expectations at this path." | 
| ); | 
| -#else | 
| -DEFINE_string2(expectations, r, "", | 
| -               "If a directory, compare generated images against images under this path. " | 
| -); | 
| -#endif | 
| DEFINE_string2(resources, i, "resources", "Path to resources directory."); | 
| DEFINE_string(match, "",  "[~][^]substring[$] [...] of GM name to run.\n" | 
| "Multiple matches may be separated by spaces.\n" | 
| @@ -249,9 +243,7 @@ int tool_main(int argc, char** argv) { | 
| if (sk_isdir(path)) { | 
| expectations.reset(SkNEW_ARGS(DM::WriteTask::Expectations, (path))); | 
| } else { | 
| -#ifdef SK_BUILD_JSON_WRITER | 
| expectations.reset(SkNEW_ARGS(DM::JsonExpectations, (path))); | 
| -#endif | 
| } | 
| } | 
| } | 
|  |