1# Copyright 2017 Google Inc. 2# 3# Use of this source code is governed by a BSD-style license that can be 4# found in the LICENSE file. 5flutter_defines = [ 6 # Flutter always wants this https://github.com/flutter/flutter/issues/11402 7 "SK_ENABLE_DUMP_GPU", 8 9 # Remove software rasterizers to save some code size. 10 "SK_DISABLE_AAA", 11 12 # Things we do for Flutter but don't want in general text layout 13 "SK_PARAGRAPH_LIBTXT_SPACES_RESOLUTION", 14 15 # Staging 16 17 # Fast low-precision software rendering isn't a priority for Flutter. 18 "SK_DISABLE_LEGACY_SHADERCONTEXT", 19 "SK_DISABLE_LOWP_RASTER_PIPELINE", 20 "SK_FORCE_RASTER_PIPELINE_BLITTER", 21] 22 23if (!is_fuchsia) { 24 flutter_defines += [ 25 "SK_GL", 26 "SK_DISABLE_EFFECT_DESERIALIZATION", 27 ] 28} 29