OLD | NEW |
1 # conditions used in both common.gypi and skia.gyp in chromium | 1 # conditions used in both common.gypi and skia.gyp in chromium |
2 # | 2 # |
3 { | 3 { |
4 'defines': [ | 4 'defines': [ |
5 'SK_ALLOW_STATIC_GLOBAL_INITIALIZERS=<(skia_static_initializers)', | 5 'SK_ALLOW_STATIC_GLOBAL_INITIALIZERS=<(skia_static_initializers)', |
6 'SK_SUPPORT_GPU=<(skia_gpu)', | 6 'SK_SUPPORT_GPU=<(skia_gpu)', |
7 'SK_SUPPORT_OPENCL=<(skia_opencl)', | 7 'SK_SUPPORT_OPENCL=<(skia_opencl)', |
8 'SK_FORCE_DISTANCEFIELD_FONTS=<(skia_force_distancefield_fonts)', | 8 'SK_FORCE_DISTANCEFIELD_FONTS=<(skia_force_distancefield_fonts)', |
9 ], | 9 ], |
10 'conditions' : [ | 10 'conditions' : [ |
(...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
292 # Optimizations for chromium (m30) | 292 # Optimizations for chromium (m30) |
293 'GR_GL_CUSTOM_SETUP_HEADER "gl/GrGLConfig_chrome.h"', | 293 'GR_GL_CUSTOM_SETUP_HEADER "gl/GrGLConfig_chrome.h"', |
294 'IGNORE_ROT_AA_RECT_OPT', | 294 'IGNORE_ROT_AA_RECT_OPT', |
295 # Disable this check because it is too strict for some chromium-specific | 295 # Disable this check because it is too strict for some chromium-specific |
296 # subclasses of SkPixelRef. See bug: crbug.com/171776. | 296 # subclasses of SkPixelRef. See bug: crbug.com/171776. |
297 'SK_DISABLE_PIXELREF_LOCKCOUNT_BALANCE_CHECK', | 297 'SK_DISABLE_PIXELREF_LOCKCOUNT_BALANCE_CHECK', |
298 'SkLONGLONG int64_t', | 298 'SkLONGLONG int64_t', |
299 'SK_DEFAULT_FONT_CACHE_LIMIT (768 * 1024)', | 299 'SK_DEFAULT_FONT_CACHE_LIMIT (768 * 1024)', |
300 'SK_ATOMICS_PLATFORM_H "../../src/ports/SkAtomics_android.h"', | 300 'SK_ATOMICS_PLATFORM_H "../../src/ports/SkAtomics_android.h"', |
301 'SK_MUTEX_PLATFORM_H "../../src/ports/SkMutex_pthread.h"', | 301 'SK_MUTEX_PLATFORM_H "../../src/ports/SkMutex_pthread.h"', |
302 # FIXME: b/13729784: Need to rework LayerRasterizer.cpp | |
303 'SK_SUPPORT_LEGACY_LAYERRASTERIZER_API', | |
304 # Still need to switch Android to the new name for N32. | 302 # Still need to switch Android to the new name for N32. |
305 'kNative_8888_SkColorType kN32_SkColorType', | 303 'kNative_8888_SkColorType kN32_SkColorType', |
306 'SK_SUPPORT_LEGACY_PICTURE_CAN_RECORD', | 304 'SK_SUPPORT_LEGACY_PICTURE_CAN_RECORD', |
307 'SK_SUPPORT_DEPRECATED_RECORD_FLAGS', | 305 'SK_SUPPORT_DEPRECATED_RECORD_FLAGS', |
308 'SK_SUPPORT_LEGACY_DERIVED_PICTURE_CLASSES', | 306 'SK_SUPPORT_LEGACY_DERIVED_PICTURE_CLASSES', |
309 'SK_SUPPORT_LEGACY_PICTURE_HEADERS', | 307 'SK_SUPPORT_LEGACY_PICTURE_HEADERS', |
310 'SK_SUPPORT_LEGACY_BLURDRAWLOOPERCONSTRUCTORS', | 308 'SK_SUPPORT_LEGACY_BLURDRAWLOOPERCONSTRUCTORS', |
311 'SK_SUPPORT_LEGACY_BLURMASKFILTER_STYLE', | 309 'SK_SUPPORT_LEGACY_BLURMASKFILTER_STYLE', |
312 # Needed until we fix skbug.com/2440. | 310 # Needed until we fix skbug.com/2440. |
313 'SK_SUPPORT_LEGACY_CLIPTOLAYERFLAG', | 311 'SK_SUPPORT_LEGACY_CLIPTOLAYERFLAG', |
(...skipping 325 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
639 'SK_SUPPORT_LEGACY_GETTOTALCLIP=1', | 637 'SK_SUPPORT_LEGACY_GETTOTALCLIP=1', |
640 ], | 638 ], |
641 }], | 639 }], |
642 | 640 |
643 ], # end 'conditions' | 641 ], # end 'conditions' |
644 # The Xcode SYMROOT must be at the root. See build/common.gypi in chromium for
more details | 642 # The Xcode SYMROOT must be at the root. See build/common.gypi in chromium for
more details |
645 'xcode_settings': { | 643 'xcode_settings': { |
646 'SYMROOT': '<(DEPTH)/xcodebuild', | 644 'SYMROOT': '<(DEPTH)/xcodebuild', |
647 }, | 645 }, |
648 } | 646 } |
OLD | NEW |