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 352 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
363 'SK_BUILD_FOR_ANDROID_FRAMEWORK', | 363 'SK_BUILD_FOR_ANDROID_FRAMEWORK', |
364 # Optimizations for chromium (m30) | 364 # Optimizations for chromium (m30) |
365 'GR_GL_CUSTOM_SETUP_HEADER "gl/GrGLConfig_chrome.h"', | 365 'GR_GL_CUSTOM_SETUP_HEADER "gl/GrGLConfig_chrome.h"', |
366 'IGNORE_ROT_AA_RECT_OPT', | 366 'IGNORE_ROT_AA_RECT_OPT', |
367 'SkLONGLONG int64_t', | 367 'SkLONGLONG int64_t', |
368 'SK_DEFAULT_FONT_CACHE_LIMIT (768 * 1024)', | 368 'SK_DEFAULT_FONT_CACHE_LIMIT (768 * 1024)', |
369 'SK_ATOMICS_PLATFORM_H "../../src/ports/SkAtomics_sync.h"', | 369 'SK_ATOMICS_PLATFORM_H "../../src/ports/SkAtomics_sync.h"', |
370 'SK_MUTEX_PLATFORM_H "../../src/ports/SkMutex_pthread.h"', | 370 'SK_MUTEX_PLATFORM_H "../../src/ports/SkMutex_pthread.h"', |
371 # Transitional, for deprecated SkCanvas::SaveFlags methods. | 371 # Transitional, for deprecated SkCanvas::SaveFlags methods. |
372 'SK_ATTR_DEPRECATED=SK_NOTHING_ARG1', | 372 'SK_ATTR_DEPRECATED=SK_NOTHING_ARG1', |
373 'SK_SUPPORT_LEGACY_SHADER_LOCALMATRIX', | |
374 'SK_DEFAULT_GLOBAL_DISCARDABLE_MEMORY_POOL_SIZE (512 * 1024)', | 373 'SK_DEFAULT_GLOBAL_DISCARDABLE_MEMORY_POOL_SIZE (512 * 1024)', |
375 'SK_IGNORE_ETC1_SUPPORT', | 374 'SK_IGNORE_ETC1_SUPPORT', |
376 # Defines from skia_for_android_framework_defines.gypi | 375 # Defines from skia_for_android_framework_defines.gypi |
377 '<@(skia_for_android_framework_defines)', | 376 '<@(skia_for_android_framework_defines)', |
378 ], | 377 ], |
379 }], | 378 }], |
380 | 379 |
381 [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris", "nacl", "chromeos"]
', | 380 [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris", "nacl", "chromeos"]
', |
382 { | 381 { |
383 'defines': [ | 382 'defines': [ |
(...skipping 311 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
695 [ 'skia_crash_handler', { | 694 [ 'skia_crash_handler', { |
696 'defines': [ 'SK_CRASH_HANDLER' ], | 695 'defines': [ 'SK_CRASH_HANDLER' ], |
697 }], | 696 }], |
698 | 697 |
699 ], # end 'conditions' | 698 ], # end 'conditions' |
700 # The Xcode SYMROOT must be at the root. See build/common.gypi in chromium for
more details | 699 # The Xcode SYMROOT must be at the root. See build/common.gypi in chromium for
more details |
701 'xcode_settings': { | 700 'xcode_settings': { |
702 'SYMROOT': '<(DEPTH)/xcodebuild', | 701 'SYMROOT': '<(DEPTH)/xcodebuild', |
703 }, | 702 }, |
704 } | 703 } |
OLD | NEW |