Index: gyp/common_conditions.gypi |
diff --git a/gyp/common_conditions.gypi b/gyp/common_conditions.gypi |
index e784e51ceb6d291f193a8d51c2e6e9609c06c78c..21f4c92398a10e35ef8aa5ee0bdd9875ac39e73c 100644 |
--- a/gyp/common_conditions.gypi |
+++ b/gyp/common_conditions.gypi |
@@ -10,6 +10,15 @@ |
'SK_ALLOW_STATIC_GLOBAL_INITIALIZERS=<(skia_static_initializers)', |
'SK_SUPPORT_GPU=<(skia_gpu)', |
'SK_FORCE_DISTANCE_FIELD_TEXT=<(skia_force_distance_field_text)', |
+ |
+ # Indicate that all dependency libraries are present. Clients that |
+ # are missing some of the required decoding libraries may choose |
+ # not to define these. This will disable some decoder and encoder |
+ # features. |
+ 'SK_HAS_GIF_LIBRARY', |
+ 'SK_HAS_JPEG_LIBRARY', |
+ 'SK_HAS_PNG_LIBRARY', |
+ 'SK_HAS_WEBP_LIBRARY', |
], |
'conditions' : [ |
[ 'skia_is_bot', { |