aboutsummaryrefslogtreecommitdiffhomepage
path: root/BUILD.gn
diff options
context:
space:
mode:
authorGravatar Mike Klein <mtklein@chromium.org>2017-02-09 11:57:32 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-02-09 20:14:42 +0000
commit29b3e58befbaa0b81fb7880e6ebcfa8061e2db2e (patch)
treef27ffaa4f3b1057fbc3b3216d9f68127f8f633c0 /BUILD.gn
parent5101448ebb28cdd8104436ee25ce34c7d5dfe334 (diff)
Don't build sksl if we're not building Ganesh.
No point linking sksl into libskia if we won't use it, right? Change-Id: Iafd3d14ccd7ae0bc360cc928ba809e935fa5d55b Reviewed-on: https://skia-review.googlesource.com/8258 Reviewed-by: Ethan Nicholas <ethannicholas@google.com> Commit-Queue: Mike Klein <mtklein@chromium.org>
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 471b3fd2dc..f4221b937d 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -394,7 +394,8 @@ optional("gpu") {
enabled = skia_enable_gpu
public_defines = []
- sources = skia_gpu_sources + [ "src/gpu/gl/GrGLDefaultInterface_native.cpp" ]
+ sources = skia_gpu_sources + skia_sksl_sources +
+ [ "src/gpu/gl/GrGLDefaultInterface_native.cpp" ]
# These paths need to be absolute to match the ones produced by shared_sources.gni.
sources -= get_path_info([
@@ -580,7 +581,6 @@ component("skia") {
sources = []
sources += skia_core_sources
- sources += skia_sksl_sources
sources += skia_utils_sources
sources += skia_xps_sources
sources += [