| 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 'SK_SUPPORT_ETC1' | |
| 10 ], | 9 ], |
| 11 'conditions' : [ | 10 'conditions' : [ |
| 12 [ 'skia_arch_type == "arm64"', { | 11 [ 'skia_arch_type == "arm64"', { |
| 13 'cflags': [ | 12 'cflags': [ |
| 14 '-ffp-contract=off', | 13 '-ffp-contract=off', |
| 15 ], | 14 ], |
| 16 }], | 15 }], |
| 17 | 16 |
| 18 # As of M35, Chrome requires SSE2 on x86 (and SSSE3 on Mac). | 17 # As of M35, Chrome requires SSE2 on x86 (and SSSE3 on Mac). |
| 19 [ 'skia_arch_type == "x86"', { | 18 [ 'skia_arch_type == "x86"', { |
| (...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 313 'SK_MUTEX_PLATFORM_H "../../src/ports/SkMutex_pthread.h"', | 312 'SK_MUTEX_PLATFORM_H "../../src/ports/SkMutex_pthread.h"', |
| 314 # Still need to switch Android to the new name for N32. | 313 # Still need to switch Android to the new name for N32. |
| 315 'kNative_8888_SkColorType kN32_SkColorType', | 314 'kNative_8888_SkColorType kN32_SkColorType', |
| 316 'SK_SUPPORT_LEGACY_BLURMASKFILTER_STYLE', | 315 'SK_SUPPORT_LEGACY_BLURMASKFILTER_STYLE', |
| 317 # Needed until we fix skbug.com/2440. | 316 # Needed until we fix skbug.com/2440. |
| 318 'SK_SUPPORT_LEGACY_CLIPTOLAYERFLAG', | 317 'SK_SUPPORT_LEGACY_CLIPTOLAYERFLAG', |
| 319 # Transitional, for deprecated SkCanvas::SaveFlags methods. | 318 # Transitional, for deprecated SkCanvas::SaveFlags methods. |
| 320 'SK_ATTR_DEPRECATED=SK_NOTHING_ARG1', | 319 'SK_ATTR_DEPRECATED=SK_NOTHING_ARG1', |
| 321 'SK_SUPPORT_LEGACY_SHADER_LOCALMATRIX', | 320 'SK_SUPPORT_LEGACY_SHADER_LOCALMATRIX', |
| 322 'SK_DEFAULT_GLOBAL_DISCARDABLE_MEMORY_POOL_SIZE (512 * 1024)', | 321 'SK_DEFAULT_GLOBAL_DISCARDABLE_MEMORY_POOL_SIZE (512 * 1024)', |
| 322 'SK_IGNORE_ETC1_SUPPORT', |
| 323 # Defines from skia_for_android_framework_defines.gypi | 323 # Defines from skia_for_android_framework_defines.gypi |
| 324 '<@(skia_for_android_framework_defines)', | 324 '<@(skia_for_android_framework_defines)', |
| 325 ], | 325 ], |
| 326 }], | 326 }], |
| 327 | 327 |
| 328 [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris", "nacl", "chromeos"]
', | 328 [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris", "nacl", "chromeos"]
', |
| 329 { | 329 { |
| 330 'defines': [ | 330 'defines': [ |
| 331 'SK_SAMPLES_FOR_X', | 331 'SK_SAMPLES_FOR_X', |
| 332 'SK_BUILD_FOR_UNIX', | 332 'SK_BUILD_FOR_UNIX', |
| (...skipping 325 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 658 'SK_BUILD_JSON_WRITER', | 658 'SK_BUILD_JSON_WRITER', |
| 659 ] | 659 ] |
| 660 }], | 660 }], |
| 661 | 661 |
| 662 ], # end 'conditions' | 662 ], # end 'conditions' |
| 663 # 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 |
| 664 'xcode_settings': { | 664 'xcode_settings': { |
| 665 'SYMROOT': '<(DEPTH)/xcodebuild', | 665 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 666 }, | 666 }, |
| 667 } | 667 } |
| OLD | NEW |