| 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_DISTANCEFIELD_FONTS=<(skia_distancefield_fonts)', | 8 'SK_DISTANCEFIELD_FONTS=<(skia_distancefield_fonts)', |
| 9 ], | 9 ], |
| 10 'conditions' : [ | 10 'conditions' : [ |
| (...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 211 'cflags': [ | 211 'cflags': [ |
| 212 # Skia does not enforce this usage pattern so we disable it here to avoi
d | 212 # Skia does not enforce this usage pattern so we disable it here to avoi
d |
| 213 # unecessary log spew when building | 213 # unecessary log spew when building |
| 214 '-Wno-unused-parameter', | 214 '-Wno-unused-parameter', |
| 215 | 215 |
| 216 # Android's -D_FORTIFY_SOURCE=2 extensions are incompatibile with SkStri
ng. | 216 # Android's -D_FORTIFY_SOURCE=2 extensions are incompatibile with SkStri
ng. |
| 217 # Revert to -D_FORTIFY_SOURCE=1 | 217 # Revert to -D_FORTIFY_SOURCE=1 |
| 218 '-U_FORTIFY_SOURCE', | 218 '-U_FORTIFY_SOURCE', |
| 219 '-D_FORTIFY_SOURCE=1', | 219 '-D_FORTIFY_SOURCE=1', |
| 220 ], | 220 ], |
| 221 'cflags!': [ |
| 222 '-g', |
| 223 '-march=armv7-a', |
| 224 '-mthumb', |
| 225 '-mfpu=neon', |
| 226 '-mfloat-abi=softfp', |
| 227 ], |
| 221 'defines': [ | 228 'defines': [ |
| 222 'DCT_IFAST_SUPPORTED', | 229 'DCT_IFAST_SUPPORTED', |
| 223 # using freetype's embolden allows us to adjust fake bold settings at | 230 # using freetype's embolden allows us to adjust fake bold settings at |
| 224 # draw-time, at which point we know which SkTypeface is being drawn | 231 # draw-time, at which point we know which SkTypeface is being drawn |
| 225 'SK_USE_FREETYPE_EMBOLDEN', | 232 'SK_USE_FREETYPE_EMBOLDEN', |
| 226 # Android provides at least FreeType 2.4.0 at runtime. | 233 # Android provides at least FreeType 2.4.0 at runtime. |
| 227 'SK_FONTHOST_FREETYPE_RUNTIME_VERSION=0x020400', | 234 'SK_FONTHOST_FREETYPE_RUNTIME_VERSION=0x020400', |
| 228 # Skia should not use dlopen on Android. | 235 # Skia should not use dlopen on Android. |
| 229 'SK_CAN_USE_DLOPEN=0', | 236 'SK_CAN_USE_DLOPEN=0', |
| 230 ], | 237 ], |
| (...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 523 'defines': [ | 530 'defines': [ |
| 524 'SK_USE_POSIX_THREADS', | 531 'SK_USE_POSIX_THREADS', |
| 525 ], | 532 ], |
| 526 }], | 533 }], |
| 527 ], # end 'conditions' | 534 ], # end 'conditions' |
| 528 # The Xcode SYMROOT must be at the root. See build/common.gypi in chromium for
more details | 535 # The Xcode SYMROOT must be at the root. See build/common.gypi in chromium for
more details |
| 529 'xcode_settings': { | 536 'xcode_settings': { |
| 530 'SYMROOT': '<(DEPTH)/xcodebuild', | 537 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 531 }, | 538 }, |
| 532 } | 539 } |
| OLD | NEW |