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 278 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
289 # Optimizations for chromium (m30) | 289 # Optimizations for chromium (m30) |
290 'GR_GL_CUSTOM_SETUP_HEADER "gl/GrGLConfig_chrome.h"', | 290 'GR_GL_CUSTOM_SETUP_HEADER "gl/GrGLConfig_chrome.h"', |
291 'IGNORE_ROT_AA_RECT_OPT', | 291 'IGNORE_ROT_AA_RECT_OPT', |
292 # Disable this check because it is too strict for some chromium-specific | 292 # Disable this check because it is too strict for some chromium-specific |
293 # subclasses of SkPixelRef. See bug: crbug.com/171776. | 293 # subclasses of SkPixelRef. See bug: crbug.com/171776. |
294 'SK_DISABLE_PIXELREF_LOCKCOUNT_BALANCE_CHECK', | 294 'SK_DISABLE_PIXELREF_LOCKCOUNT_BALANCE_CHECK', |
295 'SkLONGLONG int64_t', | 295 'SkLONGLONG int64_t', |
296 'SK_DEFAULT_FONT_CACHE_LIMIT (768 * 1024)', | 296 'SK_DEFAULT_FONT_CACHE_LIMIT (768 * 1024)', |
297 'SK_ATOMICS_PLATFORM_H "../../src/ports/SkAtomics_android.h"', | 297 'SK_ATOMICS_PLATFORM_H "../../src/ports/SkAtomics_android.h"', |
298 'SK_MUTEX_PLATFORM_H "../../src/ports/SkMutex_pthread.h"', | 298 'SK_MUTEX_PLATFORM_H "../../src/ports/SkMutex_pthread.h"', |
| 299 # FIXME: b/13729784: Need to rework LayerRasterizer.cpp |
| 300 'SK_SUPPORT_LEGACY_LAYERRASTERIZER_API', |
| 301 # Temporary until https:#googleplex-android-review.git.corp.google.com/#
/c/442220/ |
| 302 # lands. |
| 303 'SK_SUPPORT_LEGACY_GETTOTALCLIP', |
| 304 # Use a better name for kPMColor_SkColorType until |
| 305 # https://code.google.com/p/skia/issues/detail?id=2384 is fixed. |
| 306 'kNative_8888_SkColorType kPMColor_SkColorType', |
299 ], | 307 ], |
300 }], | 308 }], |
301 | 309 |
302 [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris", "nacl", "chromeos"]
', | 310 [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris", "nacl", "chromeos"]
', |
303 { | 311 { |
304 'defines': [ | 312 'defines': [ |
305 'SK_SAMPLES_FOR_X', | 313 'SK_SAMPLES_FOR_X', |
306 'SK_BUILD_FOR_UNIX', | 314 'SK_BUILD_FOR_UNIX', |
307 ], | 315 ], |
308 'configurations': { | 316 'configurations': { |
(...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
595 'defines': [ | 603 'defines': [ |
596 'SK_USE_POSIX_THREADS', | 604 'SK_USE_POSIX_THREADS', |
597 ], | 605 ], |
598 }], | 606 }], |
599 ], # end 'conditions' | 607 ], # end 'conditions' |
600 # The Xcode SYMROOT must be at the root. See build/common.gypi in chromium for
more details | 608 # The Xcode SYMROOT must be at the root. See build/common.gypi in chromium for
more details |
601 'xcode_settings': { | 609 'xcode_settings': { |
602 'SYMROOT': '<(DEPTH)/xcodebuild', | 610 'SYMROOT': '<(DEPTH)/xcodebuild', |
603 }, | 611 }, |
604 } | 612 } |
OLD | NEW |