9ed02e40d1
This trick will be used to remove deprecated SkPorterDuff API. But first we need to add it so Android can be updated later. BUG=skia:3178 R=scroggo@google.com Review URL: https://codereview.chromium.org/758133004
28 lines
892 B
Python
28 lines
892 B
Python
# 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_PUBLIC_IMAGEINFO_FIELDS',
|
|
'SK_SUPPORT_LEGACY_ALLOCPIXELS_BOOL',
|
|
'SK_SUPPORT_LEGACY_GETDEVICE',
|
|
# Needed until we fix skbug.com/2440.
|
|
'SK_SUPPORT_LEGACY_CLIPTOLAYERFLAG',
|
|
'SK_LEGACY_PICTURE_SIZE_API',
|
|
'SK_LEGACY_PICTURE_DRAW_API',
|
|
# TODO(tfarina): Remove this when Android is fixed. skbug.com/3178
|
|
'SK_SUPPORT_LEGACY_PORTER_DUFF',
|
|
],
|
|
},
|
|
}
|