Fix G3 build

Change-Id: I47aed9cc6ebac1f3513a24126e068edc6e7eb308
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/458256
Reviewed-by: John Stiles <[email protected]>
Commit-Queue: Robert Phillips <[email protected]>
diff --git a/dm/DMGpuTestProcs.cpp b/dm/DMGpuTestProcs.cpp
index ffb5f0e..e8ea03b 100644
--- a/dm/DMGpuTestProcs.cpp
+++ b/dm/DMGpuTestProcs.cpp
@@ -9,8 +9,10 @@
 
 #include "include/gpu/GrDirectContext.h"
 
+#ifdef SK_GRAPHITE_ENABLED
 #include "experimental/graphite/include/Context.h"
 #include "tools/graphite/ContextFactory.h"
+#endif
 
 using sk_gpu_test::GrContextFactory;
 using sk_gpu_test::GLTestContext;