diff options
-rw-r--r-- | build/features_override.gypi | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/build/features_override.gypi b/build/features_override.gypi index 1b77747..c6d9dc9 100644 --- a/build/features_override.gypi +++ b/build/features_override.gypi @@ -55,10 +55,12 @@ # through GYP_DEFINES. 'variables': { 'use_accelerated_compositing%': 0, + 'accelerated_2d_canvas%': 0, 'enable_svg%': 1, 'enable_touch_events%': 1, }, 'use_accelerated_compositing%': '<(use_accelerated_compositing)', + 'accelerated_2d_canvas%': '<(accelerated_2d_canvas)', 'enable_svg%': '<(enable_svg)', 'enable_touch_events%': '<(enable_touch_events)', 'conditions': [ @@ -69,6 +71,11 @@ ], 'use_accelerated_compositing': 1, }], + ['accelerated_2d_canvas==1', { + 'feature_defines': [ + 'ENABLE_ACCELERATED_2D_CANVAS=1', + ] + }] ], # TODO: If the need arises, create a mechanism that will intelligently # merge the lists rather than replace one with the other. This may |