From 3e9e6cfc8268e3d00e43da69a7a69b1122236ba5 Mon Sep 17 00:00:00 2001 From: Petr Hosek Date: Fri, 30 Mar 2018 00:16:52 -0700 Subject: Disable GPU support by default when building for host in Fuchsia When building Skia for host as part of Fuchsia build, we don't need the GPU support which introduces additional dependency on X11. Change-Id: I29a1a8a4b349c1c7d2e7db5c5c44a4cc8917cbdc Reviewed-on: https://skia-review.googlesource.com/117381 Reviewed-by: Mike Klein Commit-Queue: Mike Klein --- BUILD.gn | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'BUILD.gn') diff --git a/BUILD.gn b/BUILD.gn index e00e7fad78..647bf5b60b 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -37,7 +37,7 @@ declare_args() { skia_enable_effects = true skia_enable_flutter_defines = false skia_enable_fontmgr_empty = false - skia_enable_gpu = true + skia_enable_gpu = is_fuchsia || target_os != "fuchsia" skia_enable_pdf = true skia_enable_spirv_validation = is_skia_dev_build && is_debug skia_enable_tools = is_skia_dev_build @@ -1693,7 +1693,7 @@ if (skia_enable_tools) { deps = [ ":flags", ":skia", - ":tool_utils" + ":tool_utils", ] } -- cgit v1.2.3