OLD | NEW |
1 # Copyright 2014 Google Inc. | 1 # Copyright 2014 Google Inc. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 # This file is included by chrome's skia/skia_common.gypi, and is intended to | 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. | 6 # augment the skia flags that are set there. |
7 | 7 |
8 { | 8 { |
9 'variables': { | 9 'variables': { |
10 | 10 |
11 # These flags will be defined in the android framework. | 11 # These flags will be defined in the android framework. |
12 # | 12 # |
13 # If these become 'permanent', they should be moved into common_variables.gy
pi | 13 # If these become 'permanent', they should be moved into common_variables.gy
pi |
14 # | 14 # |
15 'skia_for_android_framework_defines': [ | 15 'skia_for_android_framework_defines': [ |
16 'SK_SUPPORT_LEGACY_PUBLIC_IMAGEINFO_FIELDS', | 16 'SK_SUPPORT_LEGACY_PUBLIC_IMAGEINFO_FIELDS', |
17 'SK_SUPPORT_LEGACY_ALLOCPIXELS_BOOL', | 17 'SK_SUPPORT_LEGACY_ALLOCPIXELS_BOOL', |
18 'SK_SUPPORT_LEGACY_GETDEVICE', | 18 'SK_SUPPORT_LEGACY_GETDEVICE', |
19 # Needed until we fix skbug.com/2440. | 19 # Needed until we fix skbug.com/2440. |
20 'SK_SUPPORT_LEGACY_CLIPTOLAYERFLAG', | 20 'SK_SUPPORT_LEGACY_CLIPTOLAYERFLAG', |
21 # Transitional, for deprecated SkCanvas::SaveFlags methods. | |
22 'SK_ATTR_DEPRECATED=SK_NOTHING_ARG1', | |
23 'SK_LEGACY_PICTURE_SIZE_API', | 21 'SK_LEGACY_PICTURE_SIZE_API', |
24 'SK_LEGACY_PICTURE_DRAW_API', | 22 'SK_LEGACY_PICTURE_DRAW_API', |
25 ], | 23 ], |
26 }, | 24 }, |
27 } | 25 } |
OLD | NEW |