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