blob: 1a6a2e5a0f589961cace4f63ce6dd62c8c169ccd [file] [log] [blame]
# Copyright 2014 Google Inc.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# This file is included by chrome's skia/skia_common.gypi, and is intended to
# augment the skia flags that are set there.
{
'variables': {
# These flags will be defined in the android framework.
#
# If these become 'permanent', they should be moved into common_variables.gypi
#
'skia_for_android_framework_defines': [
'SK_SUPPORT_LEGACY_GRADIENT_FACTORIES',
'SK_SUPPORT_LEGACY_PUBLIC_IMAGEINFO_FIELDS',
'SK_SUPPORT_LEGACY_GETDEVICE',
# Needed until we fix skbug.com/2440.
'SK_SUPPORT_LEGACY_CLIPTOLAYERFLAG',
# TODO(tfarina): Remove this when Android is fixed. skbug.com/3178
'SK_SUPPORT_LEGACY_PORTER_DUFF',
'SK_SUPPORT_LEGACY_DRAWDATA',
'SK_SUPPORT_LEGACY_CANVAS_VIRTUAL',
'SK_SUPPORT_LEGACY_ADDOVAL',
'SK_SUPPORT_LEGACY_ADDRRECT',
'SK_LEGACY_DRAWPICTURECALLBACK',
],
},
}