Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(589)

Unified Diff: gyp/common_conditions.gypi

Issue 1702533004: Individually enable and disable SkCodecs (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: gyp/common_conditions.gypi
diff --git a/gyp/common_conditions.gypi b/gyp/common_conditions.gypi
index 85f3e20376d12d7a137171b3fb70c937f5474dd0..27ba3acdeb53d6a55b6f8fb3c1db94a6f68e8c87 100644
--- a/gyp/common_conditions.gypi
+++ b/gyp/common_conditions.gypi
@@ -10,6 +10,16 @@
'SK_ALLOW_STATIC_GLOBAL_INITIALIZERS=<(skia_static_initializers)',
'SK_SUPPORT_GPU=<(skia_gpu)',
'SK_FORCE_DISTANCE_FIELD_TEXT=<(skia_force_distance_field_text)',
+
+ # Allow the client to turn on/off individual codecs. This can be useful
+ # when some of the dependencies are not present.
+ 'SK_CODEC_DECODES_BMP',
+ 'SK_CODEC_DECODES_GIF',
+ 'SK_CODEC_DECODES_ICO',
+ 'SK_CODEC_DECODES_JPEG',
+ 'SK_CODEC_DECODES_PNG',
+ 'SK_CODEC_DECODES_WBMP',
+ 'SK_CODEC_DECODES_WEBP',
],
'conditions' : [
[ 'skia_codec_decodes_raw', {

Powered by Google App Engine
This is Rietveld 408576698