aboutsummaryrefslogtreecommitdiffhomepage
path: root/gn/gn_to_bp.py
diff options
context:
space:
mode:
authorGravatar Leon Scroggins III <scroggo@google.com>2016-12-13 16:32:32 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2016-12-13 22:13:54 +0000
commiteeb7137a0b421522de4c21c90fc3208e33e3a5a5 (patch)
treebc3cc5a15b768bec975266eee8956a568b8041a8 /gn/gn_to_bp.py
parent04e10da8362a0dcabd795a4ad53f617719ca0d20 (diff)
Do not build the ktx encoder for android framework
Move SkKTXImageEncoder.cpp into an optional block, and disable that block for the android framework. Use a new define to determine whether to define the entry point, rather than using SK_BUILD_FOR_ANDROID_FRAMEWORK. Change-Id: I41103459135af744cf5715f27783c63dc37a7ad1 Reviewed-on: https://skia-review.googlesource.com/5982 Commit-Queue: Leon Scroggins <scroggo@google.com> Commit-Queue: Mike Klein <mtklein@chromium.org> Reviewed-by: Mike Klein <mtklein@chromium.org>
Diffstat (limited to 'gn/gn_to_bp.py')
-rw-r--r--gn/gn_to_bp.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/gn/gn_to_bp.py b/gn/gn_to_bp.py
index 39bac2f944..c443fb9f0a 100644
--- a/gn/gn_to_bp.py
+++ b/gn/gn_to_bp.py
@@ -109,6 +109,7 @@ cc_library {
# We'll run GN to get the main source lists and include directories for Skia.
gn_args = {
+ 'skia_enable_ktx_encoder': 'false',
'skia_enable_vulkan_debug_layers': 'false',
'skia_use_system_expat': 'true',
'skia_use_vulkan': 'true',