aboutsummaryrefslogtreecommitdiffhomepage
path: root/gyp/skia_for_android_framework_defines.gypi
blob: 9b59fb097a508669e789ab074eb570801961eb2b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# 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_UNBALANCED_PIXELREF_LOCKCOUNT',
      # Needed until we fix https://bug.skia.org/2440 .
      'SK_SUPPORT_LEGACY_CLIPTOLAYERFLAG',
      'SK_IGNORE_LINEONLY_AA_CONVEX_PATH_OPTS',
      'SK_SUPPORT_LEGACY_GRADIENT_DITHERING',
      'SK_SUPPORT_LEGACY_DRAWFILTER',
      'SK_IGNORE_GPU_DITHER',
      'SK_SUPPORT_LEGACY_CLIP_REGIONOPS',
      'SK_SUPPORT_LEGACY_SHADER_ISABITMAP',
      'SK_SUPPORT_LEGACY_COLOR_SPACE_FACTORIES',
      'SK_SUPPORT_LEGACY_SHADER_ASALOCALMATRIXSHADER',
    ],
  },
}