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. 5 6import("platform.gni") 7 8flutter_defines = [ 9 # Flutter always wants this https://github.com/flutter/flutter/issues/11402 10 "SK_ENABLE_DUMP_GPU", 11 12 # Remove software rasterizers to save some code size. 13 "SK_DISABLE_AAA", 14 15 # Things we do for Flutter but don't want in general text layout 16 "SK_PARAGRAPH_LIBTXT_SPACES_RESOLUTION", 17 18 # Staging 19 "SK_LEGACY_INNER_JOINS", 20 21 # Fast low-precision software rendering isn't a priority for Flutter. 22 "SK_DISABLE_LEGACY_SHADERCONTEXT", 23 "SK_DISABLE_LOWP_RASTER_PIPELINE", 24 "SK_FORCE_RASTER_PIPELINE_BLITTER", 25] 26 27if (!is_fuchsia) { 28 flutter_defines += [ 29 "SK_GL", 30 "SK_DISABLE_EFFECT_DESERIALIZATION", 31 ] 32} 33