From b23372df9ce751f1c2a30c3c0f24099aa21d3c2c Mon Sep 17 00:00:00 2001 From: Robert Phillips Date: Mon, 11 Oct 2021 16:37:42 -0400 Subject: [PATCH] Fix G3 build Change-Id: I47aed9cc6ebac1f3513a24126e068edc6e7eb308 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/458256 Reviewed-by: John Stiles Commit-Queue: Robert Phillips --- dm/DMGpuTestProcs.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dm/DMGpuTestProcs.cpp b/dm/DMGpuTestProcs.cpp index ffb5f0ebfb..e8ea03bb7e 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;