| OLD | NEW |
| 1 # | 1 # |
| 2 # Copyright (C) 2009 Google Inc. All rights reserved. | 2 # Copyright (C) 2009 Google Inc. All rights reserved. |
| 3 # | 3 # |
| 4 # Redistribution and use in source and binary forms, with or without | 4 # Redistribution and use in source and binary forms, with or without |
| 5 # modification, are permitted provided that the following conditions are | 5 # modification, are permitted provided that the following conditions are |
| 6 # met: | 6 # met: |
| 7 # | 7 # |
| 8 # * Redistributions of source code must retain the above copyright | 8 # * Redistributions of source code must retain the above copyright |
| 9 # notice, this list of conditions and the following disclaimer. | 9 # notice, this list of conditions and the following disclaimer. |
| 10 # * Redistributions in binary form must reproduce the above | 10 # * Redistributions in binary form must reproduce the above |
| (...skipping 580 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 591 'sources': [ | 591 'sources': [ |
| 592 '<@(webcore_platform_files)', | 592 '<@(webcore_platform_files)', |
| 593 ], | 593 ], |
| 594 'sources/': [ | 594 'sources/': [ |
| 595 # FIXME: Figure out how to store these patterns in a variable. | 595 # FIXME: Figure out how to store these patterns in a variable. |
| 596 ['exclude', '(cf|cg|harfbuzz|mac|opentype|svg|win)/'], | 596 ['exclude', '(cf|cg|harfbuzz|mac|opentype|svg|win)/'], |
| 597 ['exclude', '(?<!Chromium)(CF|CG|Mac|Win)\\.(cpp|mm?)$'], | 597 ['exclude', '(?<!Chromium)(CF|CG|Mac|Win)\\.(cpp|mm?)$'], |
| 598 | 598 |
| 599 # Used only by mac. | 599 # Used only by mac. |
| 600 ['exclude', 'platform/Theme\\.cpp$'], | 600 ['exclude', 'platform/Theme\\.cpp$'], |
| 601 | |
| 602 # *NEON.cpp files need special compile options. | |
| 603 # They are moved to the webcore_arm_neon target. | |
| 604 ['exclude', 'platform/graphics/cpu/arm/filters/.*NEON\\.(cpp|h)'], | |
| 605 ], | 601 ], |
| 606 'conditions': [ | 602 'conditions': [ |
| 607 ['OS!="linux"', { | 603 ['OS!="linux"', { |
| 608 'sources/': [ | 604 'sources/': [ |
| 609 ['exclude', 'Linux\\.cpp$'], | 605 ['exclude', 'Linux\\.cpp$'], |
| 610 ], | 606 ], |
| 611 }], | 607 }], |
| 612 ['toolkit_uses_gtk == 0', { | 608 ['toolkit_uses_gtk == 0', { |
| 613 'sources/': [ | 609 'sources/': [ |
| 614 ['exclude', 'platform/chromium/KeyCodeConversionGtk\\.cpp$'], | 610 ['exclude', 'platform/chromium/KeyCodeConversionGtk\\.cpp$'], |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 671 'sources/': [ | 667 'sources/': [ |
| 672 ['exclude', 'platform/chromium/PlatformThemeChromiumWin\\.(cpp|h)'], | 668 ['exclude', 'platform/chromium/PlatformThemeChromiumWin\\.(cpp|h)'], |
| 673 ], | 669 ], |
| 674 }, { # use_default_render_theme==0 | 670 }, { # use_default_render_theme==0 |
| 675 'sources/': [ | 671 'sources/': [ |
| 676 ['exclude', 'platform/chromium/PlatformThemeChromiumDefault\\.(cpp|h
)'], | 672 ['exclude', 'platform/chromium/PlatformThemeChromiumDefault\\.(cpp|h
)'], |
| 677 ], | 673 ], |
| 678 }], | 674 }], |
| 679 ], | 675 ], |
| 680 }, | 676 }, |
| 681 # The *NEON.cpp files fail to compile when -mthumb is passed. Force | |
| 682 # them to build in ARM mode. | |
| 683 # See https://bugs.webkit.org/show_bug.cgi?id=62916. | |
| 684 { | |
| 685 'target_name': 'webcore_arm_neon', | |
| 686 'conditions': [ | |
| 687 ['target_arch=="arm"', { | |
| 688 'type': 'static_library', | |
| 689 'dependencies': [ | |
| 690 'webcore_prerequisites', | |
| 691 ], | |
| 692 'hard_dependency': 1, | |
| 693 'sources': [ | |
| 694 '<@(webcore_files)', | |
| 695 ], | |
| 696 'sources/': [ | |
| 697 ['exclude', '.*'], | |
| 698 ['include', 'platform/graphics/cpu/arm/filters/.*NEON\\.(cpp|h)'], | |
| 699 ], | |
| 700 'cflags': ['-marm'], | |
| 701 'conditions': [ | |
| 702 ['OS=="android"', { | |
| 703 'cflags!': ['-mthumb'], | |
| 704 }], | |
| 705 ], | |
| 706 },{ # target_arch!="arm" | |
| 707 'type': 'none', | |
| 708 }], | |
| 709 ], | |
| 710 }, | |
| 711 { | 677 { |
| 712 'target_name': 'webcore_rendering', | 678 'target_name': 'webcore_rendering', |
| 713 'type': 'static_library', | 679 'type': 'static_library', |
| 714 'dependencies': [ | 680 'dependencies': [ |
| 715 'webcore_prerequisites', | 681 'webcore_prerequisites', |
| 716 ], | 682 ], |
| 717 'sources': [ | 683 'sources': [ |
| 718 '<@(webcore_files)', | 684 '<@(webcore_files)', |
| 719 ], | 685 ], |
| 720 'sources/': [ | 686 'sources/': [ |
| (...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 875 '<(DEPTH)/third_party/qcms/qcms.gyp:qcms', | 841 '<(DEPTH)/third_party/qcms/qcms.gyp:qcms', |
| 876 '<(DEPTH)/url/url.gyp:url_lib', | 842 '<(DEPTH)/url/url.gyp:url_lib', |
| 877 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8', | 843 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8', |
| 878 ], | 844 ], |
| 879 'direct_dependent_settings': { | 845 'direct_dependent_settings': { |
| 880 'include_dirs': [ | 846 'include_dirs': [ |
| 881 '<@(webcore_include_dirs)', | 847 '<@(webcore_include_dirs)', |
| 882 ], | 848 ], |
| 883 }, | 849 }, |
| 884 'conditions': [ | 850 'conditions': [ |
| 885 ['target_arch=="arm"', { | |
| 886 'dependencies': [ | |
| 887 'webcore_arm_neon', | |
| 888 ], | |
| 889 }], | |
| 890 ['OS=="linux" and "WTF_USE_WEBAUDIO_IPP=1" in feature_defines', { | 851 ['OS=="linux" and "WTF_USE_WEBAUDIO_IPP=1" in feature_defines', { |
| 891 'link_settings': { | 852 'link_settings': { |
| 892 'ldflags': [ | 853 'ldflags': [ |
| 893 '<!@(pkg-config --libs-only-L ipp)', | 854 '<!@(pkg-config --libs-only-L ipp)', |
| 894 ], | 855 ], |
| 895 'libraries': [ | 856 'libraries': [ |
| 896 '-lipps -lippcore', | 857 '-lipps -lippcore', |
| 897 ], | 858 ], |
| 898 }, | 859 }, |
| 899 }], | 860 }], |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 946 '<(SHARED_INTERMEDIATE_DIR)/blink/bindings/V8LayerRect.h', | 907 '<(SHARED_INTERMEDIATE_DIR)/blink/bindings/V8LayerRect.h', |
| 947 '<(SHARED_INTERMEDIATE_DIR)/blink/bindings/V8LayerRectList.cpp', | 908 '<(SHARED_INTERMEDIATE_DIR)/blink/bindings/V8LayerRectList.cpp', |
| 948 '<(SHARED_INTERMEDIATE_DIR)/blink/bindings/V8LayerRectList.h', | 909 '<(SHARED_INTERMEDIATE_DIR)/blink/bindings/V8LayerRectList.h', |
| 949 ], | 910 ], |
| 950 'sources/': [ | 911 'sources/': [ |
| 951 ['exclude', 'testing/js'], | 912 ['exclude', 'testing/js'], |
| 952 ], | 913 ], |
| 953 }, | 914 }, |
| 954 ], # targets | 915 ], # targets |
| 955 } | 916 } |
| OLD | NEW |