Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(426)

Side by Side Diff: gyp/common_conditions.gypi

Issue 285443002: Remove SkLayerRasterizer legacy code. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: clean up gyp files Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | include/effects/SkLayerRasterizer.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 313 matching lines...) Expand 10 before | Expand all | Expand 10 after
627 # We can POD-style initialization of static mutexes to avoid generating 625 # We can POD-style initialization of static mutexes to avoid generating
628 # static initializers if we're using a pthread-compatible thread interface. 626 # static initializers if we're using a pthread-compatible thread interface.
629 [ 'skia_os != "win"', { 627 [ 'skia_os != "win"', {
630 'defines': [ 628 'defines': [
631 'SK_USE_POSIX_THREADS', 629 'SK_USE_POSIX_THREADS',
632 ], 630 ],
633 }], 631 }],
634 632
635 [ 'skia_moz2d', { 633 [ 'skia_moz2d', {
636 'defines': [ 634 'defines': [
637 'SK_SUPPORT_LEGACY_LAYERRASTERIZER_API=1',
Dominik Grewe 2014/05/12 14:28:08 Can we remove this?
638 'SK_SUPPORT_LEGACY_COMPATIBLEDEVICE_CONFIG=1', 635 'SK_SUPPORT_LEGACY_COMPATIBLEDEVICE_CONFIG=1',
639 'SK_SUPPORT_LEGACY_GETTOTALCLIP=1', 636 'SK_SUPPORT_LEGACY_GETTOTALCLIP=1',
640 ], 637 ],
641 }], 638 }],
642 639
643 ], # end 'conditions' 640 ], # end 'conditions'
644 # The Xcode SYMROOT must be at the root. See build/common.gypi in chromium for more details 641 # The Xcode SYMROOT must be at the root. See build/common.gypi in chromium for more details
645 'xcode_settings': { 642 'xcode_settings': {
646 'SYMROOT': '<(DEPTH)/xcodebuild', 643 'SYMROOT': '<(DEPTH)/xcodebuild',
647 }, 644 },
648 } 645 }
OLDNEW
« no previous file with comments | « no previous file | include/effects/SkLayerRasterizer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698