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 256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
267 ], | 267 ], |
268 'cflags_cc!': [ | 268 'cflags_cc!': [ |
269 '-fno-rtti', | 269 '-fno-rtti', |
270 '-Wnon-virtual-dtor', | 270 '-Wnon-virtual-dtor', |
271 ], | 271 ], |
272 'defines': [ | 272 'defines': [ |
273 'DCT_IFAST_SUPPORTED', | 273 'DCT_IFAST_SUPPORTED', |
274 # using freetype's embolden allows us to adjust fake bold settings at | 274 # using freetype's embolden allows us to adjust fake bold settings at |
275 # draw-time, at which point we know which SkTypeface is being drawn | 275 # draw-time, at which point we know which SkTypeface is being drawn |
276 'SK_USE_FREETYPE_EMBOLDEN', | 276 'SK_USE_FREETYPE_EMBOLDEN', |
277 # Android provides at least FreeType 2.4.0 at runtime. | |
278 'SK_FONTHOST_FREETYPE_RUNTIME_VERSION 0x020400', | |
279 # Skia should not use dlopen on Android. | |
280 'SK_CAN_USE_DLOPEN 0', | |
281 'SK_SFNTLY_SUBSETTER "sample/chromium/font_subsetter.h"', | 277 'SK_SFNTLY_SUBSETTER "sample/chromium/font_subsetter.h"', |
282 # When built as part of the system image we can enable certian non-NDK | 278 # When built as part of the system image we can enable certian non-NDK |
283 # compliant optimizations. | 279 # compliant optimizations. |
284 'SK_BUILD_FOR_ANDROID_FRAMEWORK', | 280 'SK_BUILD_FOR_ANDROID_FRAMEWORK', |
285 # Android Text Tuning | 281 # Android Text Tuning |
286 'SK_GAMMA_APPLY_TO_A8', | 282 'SK_GAMMA_APPLY_TO_A8', |
287 'SK_GAMMA_EXPONENT 1.4', | 283 'SK_GAMMA_EXPONENT 1.4', |
288 'SK_GAMMA_CONTRAST 0.0', | 284 'SK_GAMMA_CONTRAST 0.0', |
289 # Optimizations for chromium (m30) | 285 # Optimizations for chromium (m30) |
290 'GR_GL_CUSTOM_SETUP_HEADER "gl/GrGLConfig_chrome.h"', | 286 'GR_GL_CUSTOM_SETUP_HEADER "gl/GrGLConfig_chrome.h"', |
(...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
611 'defines': [ | 607 'defines': [ |
612 'SK_USE_POSIX_THREADS', | 608 'SK_USE_POSIX_THREADS', |
613 ], | 609 ], |
614 }], | 610 }], |
615 ], # end 'conditions' | 611 ], # end 'conditions' |
616 # The Xcode SYMROOT must be at the root. See build/common.gypi in chromium for
more details | 612 # The Xcode SYMROOT must be at the root. See build/common.gypi in chromium for
more details |
617 'xcode_settings': { | 613 'xcode_settings': { |
618 'SYMROOT': '<(DEPTH)/xcodebuild', | 614 'SYMROOT': '<(DEPTH)/xcodebuild', |
619 }, | 615 }, |
620 } | 616 } |
OLD | NEW |