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 633 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
644 }, | 644 }, |
645 'libraries': [ | 645 'libraries': [ |
646 '-lstdc++', | 646 '-lstdc++', |
647 '-lm', | 647 '-lm', |
648 '-llog', | 648 '-llog', |
649 ], | 649 ], |
650 'cflags': [ | 650 'cflags': [ |
651 '-fuse-ld=gold', | 651 '-fuse-ld=gold', |
652 ], | 652 ], |
653 'conditions': [ | 653 'conditions': [ |
| 654 [ 'skia_arch_type == "x86"', { |
| 655 'cflags': [ |
| 656 '-mssse3', |
| 657 ], |
| 658 }], |
654 [ 'skia_android_framework', { | 659 [ 'skia_android_framework', { |
655 'libraries!': [ | 660 'libraries!': [ |
656 '-lstdc++', | 661 '-lstdc++', |
657 '-lm', | 662 '-lm', |
658 ], | 663 ], |
659 'cflags!': [ | 664 'cflags!': [ |
660 '-fuse-ld=gold', | 665 '-fuse-ld=gold', |
661 ], | 666 ], |
662 }], | 667 }], |
663 [ 'skia_shared_lib', { | 668 [ 'skia_shared_lib', { |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
695 [ 'skia_crash_handler', { | 700 [ 'skia_crash_handler', { |
696 'defines': [ 'SK_CRASH_HANDLER' ], | 701 'defines': [ 'SK_CRASH_HANDLER' ], |
697 }], | 702 }], |
698 | 703 |
699 ], # end 'conditions' | 704 ], # end 'conditions' |
700 # The Xcode SYMROOT must be at the root. See build/common.gypi in chromium for
more details | 705 # The Xcode SYMROOT must be at the root. See build/common.gypi in chromium for
more details |
701 'xcode_settings': { | 706 'xcode_settings': { |
702 'SYMROOT': '<(DEPTH)/xcodebuild', | 707 'SYMROOT': '<(DEPTH)/xcodebuild', |
703 }, | 708 }, |
704 } | 709 } |
OLD | NEW |