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_DISTANCE_FIELD_TEXT=<(skia_force_distance_field_text)', | 8 'SK_FORCE_DISTANCE_FIELD_TEXT=<(skia_force_distance_field_text)', |
9 ], | 9 ], |
10 'conditions' : [ | 10 'conditions' : [ |
(...skipping 389 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
400 # using freetype's embolden allows us to adjust fake bold settings at | 400 # using freetype's embolden allows us to adjust fake bold settings at |
401 # draw-time, at which point we know which SkTypeface is being drawn | 401 # draw-time, at which point we know which SkTypeface is being drawn |
402 'SK_USE_FREETYPE_EMBOLDEN', | 402 'SK_USE_FREETYPE_EMBOLDEN', |
403 'SK_SFNTLY_SUBSETTER "sample/chromium/font_subsetter.h"', | 403 'SK_SFNTLY_SUBSETTER "sample/chromium/font_subsetter.h"', |
404 # When built as part of the system image we can enable certian non-NDK | 404 # When built as part of the system image we can enable certian non-NDK |
405 # compliant optimizations. | 405 # compliant optimizations. |
406 'SK_BUILD_FOR_ANDROID_FRAMEWORK', | 406 'SK_BUILD_FOR_ANDROID_FRAMEWORK', |
407 # Optimizations for chromium (m30) | 407 # Optimizations for chromium (m30) |
408 'GR_GL_CUSTOM_SETUP_HEADER "gl/GrGLConfig_chrome.h"', | 408 'GR_GL_CUSTOM_SETUP_HEADER "gl/GrGLConfig_chrome.h"', |
409 'IGNORE_ROT_AA_RECT_OPT', | 409 'IGNORE_ROT_AA_RECT_OPT', |
410 'SkLONGLONG int64_t', | |
411 'SK_DEFAULT_FONT_CACHE_LIMIT (768 * 1024)', | 410 'SK_DEFAULT_FONT_CACHE_LIMIT (768 * 1024)', |
412 'SK_DEFAULT_GLOBAL_DISCARDABLE_MEMORY_POOL_SIZE (512 * 1024)', | 411 'SK_DEFAULT_GLOBAL_DISCARDABLE_MEMORY_POOL_SIZE (512 * 1024)', |
413 'SK_IGNORE_ETC1_SUPPORT', | 412 'SK_IGNORE_ETC1_SUPPORT', |
414 # We can't use the skia_shared_library gyp setting because we need expos
e | 413 # We can't use the skia_shared_library gyp setting because we need expos
e |
415 # this define globally and the the implemention define as a cflag. | 414 # this define globally and the the implemention define as a cflag. |
416 'SKIA_DLL', | 415 'SKIA_DLL', |
417 'SK_OVERRIDE override', | 416 'SK_OVERRIDE override', |
418 # Defines from skia_for_android_framework_defines.gypi | 417 # Defines from skia_for_android_framework_defines.gypi |
419 '<@(skia_for_android_framework_defines)', | 418 '<@(skia_for_android_framework_defines)', |
420 ], | 419 ], |
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
659 # add flags here (e.g. SK_SUPPORT_LEGACY_...) needed by moz2d | 658 # add flags here (e.g. SK_SUPPORT_LEGACY_...) needed by moz2d |
660 ], | 659 ], |
661 }], | 660 }], |
662 | 661 |
663 ], # end 'conditions' | 662 ], # end 'conditions' |
664 # The Xcode SYMROOT must be at the root. See build/common.gypi in chromium for
more details | 663 # The Xcode SYMROOT must be at the root. See build/common.gypi in chromium for
more details |
665 'xcode_settings': { | 664 'xcode_settings': { |
666 'SYMROOT': '<(DEPTH)/xcodebuild', | 665 'SYMROOT': '<(DEPTH)/xcodebuild', |
667 }, | 666 }, |
668 } | 667 } |
OLD | NEW |