aboutsummaryrefslogtreecommitdiffhomepage
path: root/BUILD.gn
diff options
context:
space:
mode:
authorGravatar Petr Hosek <phosek@google.com>2018-03-30 00:16:52 -0700
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-03-30 15:12:56 +0000
commit3e9e6cfc8268e3d00e43da69a7a69b1122236ba5 (patch)
tree8e55b1d49358690fe756b529c32d8b4c958c2403 /BUILD.gn
parentc5acea7888eef9ad6032101abdbe26400616695f (diff)
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 <mtklein@google.com> Commit-Queue: Mike Klein <mtklein@google.com>
Diffstat (limited to 'BUILD.gn')
-rw-r--r--BUILD.gn4
1 files changed, 2 insertions, 2 deletions
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",
]
}