• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright 2014 Google Inc.
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5# This file is included by chrome's skia/skia_common.gypi, and is intended to
6# augment the skia flags that are set there.
7
8{
9  'variables': {
10
11    # These flags will be defined in the android framework.
12    #
13    # If these become 'permanent', they should be moved into common_variables.gypi
14    #
15    'skia_for_android_framework_defines': [
16      'SK_SUPPORT_LEGACY_SETCONFIG_INFO',
17      'SK_SUPPORT_LEGACY_SETCONFIG',
18      'SK_SUPPORT_LEGACY_IMAGEDECODER_CONFIG',
19      'SK_SUPPORT_LEGACY_DEVICE_VIRTUAL_ISOPAQUE',
20      'SK_SUPPORT_LEGACY_BITMAP_CONFIG',
21      # Needed until we fix skbug.com/2440.
22      'SK_SUPPORT_LEGACY_CLIPTOLAYERFLAG',
23      # Transitional, for deprecated SkCanvas::SaveFlags methods.
24      'SK_ATTR_DEPRECATED=SK_NOTHING_ARG1',
25      'SK_SUPPORT_LEGACY_SHADER_LOCALMATRIX',
26      'SK_SUPPORT_LEGACY_COMPUTE_CONFIG_SIZE',
27    ],
28  },
29}
30