420a9ba7b5
Guard flag has been added to clients Change-Id: Ib61a48781f5dbd52279c8f4257ba3e22fb2704e0 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/338596 Reviewed-by: Mike Reed <reed@google.com> Commit-Queue: Mike Reed <reed@google.com>
36 lines
986 B
Plaintext
36 lines
986 B
Plaintext
# Copyright 2017 Google Inc.
|
|
#
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
# found in the LICENSE file.
|
|
flutter_defines = [
|
|
"SK_DISABLE_REDUCE_OPLIST_SPLITTING",
|
|
|
|
# Flutter always wants this https://github.com/flutter/flutter/issues/11402
|
|
"SK_ENABLE_DUMP_GPU",
|
|
|
|
# Remove software rasterizers to save some code size.
|
|
"SK_DISABLE_AAA",
|
|
|
|
# Things we do for Flutter but don't want in general text layout
|
|
"SK_PARAGRAPH_LIBTXT_SPACES_RESOLUTION",
|
|
|
|
# Staging
|
|
"SK_SUPPORT_LEGACY_CANVASMATRIX33",
|
|
"SK_SUPPORT_LEGACY_MATRIX_FACTORIES",
|
|
"SK_SUPPORT_LEGACY_ADJUSTHQHEURISTIC",
|
|
"SK_SUPPORT_LEGACY_ONDRAWIMAGERECT",
|
|
"SK_SUPPORT_LEGACY_SCALEPIXELS_PARAM",
|
|
|
|
# Fast low-precision software rendering isn't a priority for Flutter.
|
|
"SK_DISABLE_LEGACY_SHADERCONTEXT",
|
|
"SK_DISABLE_LOWP_RASTER_PIPELINE",
|
|
"SK_FORCE_RASTER_PIPELINE_BLITTER",
|
|
]
|
|
|
|
if (!is_fuchsia) {
|
|
flutter_defines += [
|
|
"SK_GL",
|
|
"SK_DISABLE_EFFECT_DESERIALIZATION",
|
|
]
|
|
}
|