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 593 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
604 ], | 604 ], |
605 'GCC_THUMB_SUPPORT': 'NO', | 605 'GCC_THUMB_SUPPORT': 'NO', |
606 }, | 606 }, |
607 }, | 607 }, |
608 ], | 608 ], |
609 | 609 |
610 [ 'skia_os == "android"', | 610 [ 'skia_os == "android"', |
611 { | 611 { |
612 'defines': [ | 612 'defines': [ |
613 'SK_BUILD_FOR_ANDROID', | 613 'SK_BUILD_FOR_ANDROID', |
614 'SK_FONTHOST_DOES_NOT_USE_FONTMGR', | |
615 | 614 |
616 # Android Text Tuning | 615 # Android Text Tuning |
617 'SK_GAMMA_EXPONENT=1.4', | 616 'SK_GAMMA_EXPONENT=1.4', |
618 'SK_GAMMA_CONTRAST=0.0', | 617 'SK_GAMMA_CONTRAST=0.0', |
619 ], | 618 ], |
620 # Android defines a fixed gamma exponent instead of using SRGB | 619 # Android defines a fixed gamma exponent instead of using SRGB |
621 'defines!': [ | 620 'defines!': [ |
622 'SK_GAMMA_SRGB', | 621 'SK_GAMMA_SRGB', |
623 ], | 622 ], |
624 'configurations': { | 623 'configurations': { |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
679 [ 'skia_is_bot', { | 678 [ 'skia_is_bot', { |
680 'defines': [ 'SK_CRASH_HANDLER' ], | 679 'defines': [ 'SK_CRASH_HANDLER' ], |
681 }], | 680 }], |
682 | 681 |
683 ], # end 'conditions' | 682 ], # end 'conditions' |
684 # The Xcode SYMROOT must be at the root. See build/common.gypi in chromium for
more details | 683 # The Xcode SYMROOT must be at the root. See build/common.gypi in chromium for
more details |
685 'xcode_settings': { | 684 'xcode_settings': { |
686 'SYMROOT': '<(DEPTH)/xcodebuild', | 685 'SYMROOT': '<(DEPTH)/xcodebuild', |
687 }, | 686 }, |
688 } | 687 } |
OLD | NEW |