diff options
author | 2017-02-09 11:57:32 -0500 | |
---|---|---|
committer | 2017-02-09 20:14:42 +0000 | |
commit | 29b3e58befbaa0b81fb7880e6ebcfa8061e2db2e (patch) | |
tree | f27ffaa4f3b1057fbc3b3216d9f68127f8f633c0 /BUILD.gn | |
parent | 5101448ebb28cdd8104436ee25ce34c7d5dfe334 (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.gn | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 += [ |