| OLD | NEW |
| 1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 { | 5 { |
| 6 'targets': [ | 6 'targets': [ |
| 7 { | 7 { |
| 8 'target_name': 'skia', | 8 'target_name': 'skia', |
| 9 'type': '<(component)', | 9 'type': '<(component)', |
| 10 'msvs_guid': 'CD9CA56E-4E94-444C-87D4-58CA1E6F300D', | 10 'msvs_guid': 'CD9CA56E-4E94-444C-87D4-58CA1E6F300D', |
| (...skipping 705 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 716 ], | 716 ], |
| 717 'sources!': [ | 717 'sources!': [ |
| 718 '../third_party/skia/include/core/SkTypes.h', | 718 '../third_party/skia/include/core/SkTypes.h', |
| 719 ], | 719 ], |
| 720 'conditions': [ | 720 'conditions': [ |
| 721 [ 'OS != "mac"', { | 721 [ 'OS != "mac"', { |
| 722 'sources/': [ | 722 'sources/': [ |
| 723 ['exclude', '_mac\\.(cc|cpp|mm?)$'], | 723 ['exclude', '_mac\\.(cc|cpp|mm?)$'], |
| 724 ['exclude', '/mac/'] ], | 724 ['exclude', '/mac/'] ], |
| 725 }], | 725 }], |
| 726 [ 'OS != "linux" and OS != "freebsd" and OS != "openbsd" and OS != "sola
ris"', { | 726 [ 'toolkit_uses_gtk == 0', { |
| 727 'sources/': [ ['exclude', '_(linux|gtk)\\.(cc|cpp)$'] ], | 727 'sources/': [ ['exclude', '_(linux|gtk)\\.(cc|cpp)$'] ], |
| 728 'sources!': [ | 728 'sources!': [ |
| 729 '../third_party/skia/src/ports/SkFontHost_FreeType.cpp', | 729 '../third_party/skia/src/ports/SkFontHost_FreeType.cpp', |
| 730 '../third_party/skia/src/ports/SkFontHost_TryeType_Tables.cpp', | 730 '../third_party/skia/src/ports/SkFontHost_TryeType_Tables.cpp', |
| 731 '../third_party/skia/src/ports/SkFontHost_gamma_none.cpp', | 731 '../third_party/skia/src/ports/SkFontHost_gamma_none.cpp', |
| 732 '../third_party/skia/src/ports/SkFontHost_gamma_none.cpp', | 732 '../third_party/skia/src/ports/SkFontHost_gamma_none.cpp', |
| 733 '../third_party/skia/src/ports/SkFontHost_tables.cpp', | 733 '../third_party/skia/src/ports/SkFontHost_tables.cpp', |
| 734 ], | 734 ], |
| 735 }], | 735 }], |
| 736 [ 'OS != "win"', { | 736 [ 'OS != "win"', { |
| (...skipping 15 matching lines...) Expand all Loading... |
| 752 ], | 752 ], |
| 753 }], | 753 }], |
| 754 ['clang==1', { | 754 ['clang==1', { |
| 755 'defines': [ | 755 'defines': [ |
| 756 # Remove all use of __restrict__ -- skia uses it incorrectly, | 756 # Remove all use of __restrict__ -- skia uses it incorrectly, |
| 757 # and clang is more strict about it. | 757 # and clang is more strict about it. |
| 758 # http://code.google.com/p/skia/issues/detail?id=63 | 758 # http://code.google.com/p/skia/issues/detail?id=63 |
| 759 'SK_RESTRICT=', | 759 'SK_RESTRICT=', |
| 760 ], | 760 ], |
| 761 }], | 761 }], |
| 762 [ 'OS == "linux" or OS == "freebsd" or OS == "openbsd" or OS == "solaris
"', { | 762 [ 'toolkit_uses_gtk == 1', { |
| 763 'dependencies': [ | 763 'dependencies': [ |
| 764 '../build/linux/system.gyp:gdk', | 764 '../build/linux/system.gyp:gdk', |
| 765 '../build/linux/system.gyp:fontconfig', | 765 '../build/linux/system.gyp:fontconfig', |
| 766 '../build/linux/system.gyp:freetype2', | 766 '../build/linux/system.gyp:freetype2', |
| 767 '../third_party/harfbuzz/harfbuzz.gyp:harfbuzz', | 767 '../third_party/harfbuzz/harfbuzz.gyp:harfbuzz', |
| 768 '../third_party/icu/icu.gyp:icuuc', | 768 '../third_party/icu/icu.gyp:icuuc', |
| 769 ], | 769 ], |
| 770 'cflags': [ | 770 'cflags': [ |
| 771 '-Wno-unused', | 771 '-Wno-unused', |
| 772 '-Wno-unused-function', | 772 '-Wno-unused-function', |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 884 '..', | 884 '..', |
| 885 'config', | 885 'config', |
| 886 '../third_party/skia/include/config', | 886 '../third_party/skia/include/config', |
| 887 '../third_party/skia/include/core', | 887 '../third_party/skia/include/core', |
| 888 '../third_party/skia/include/effects', | 888 '../third_party/skia/include/effects', |
| 889 '../third_party/skia/include/images', | 889 '../third_party/skia/include/images', |
| 890 '../third_party/skia/include/utils', | 890 '../third_party/skia/include/utils', |
| 891 '../third_party/skia/src/core', | 891 '../third_party/skia/src/core', |
| 892 ], | 892 ], |
| 893 'conditions': [ | 893 'conditions': [ |
| 894 [ '(OS == "linux" or OS == "freebsd" or OS == "openbsd") and target_arch
!= "arm"', { | 894 [ 'os_posix == 1 and OS != "mac" and target_arch != "arm"', { |
| 895 'cflags': [ | 895 'cflags': [ |
| 896 '-msse2', | 896 '-msse2', |
| 897 ], | 897 ], |
| 898 }], | 898 }], |
| 899 [ 'target_arch != "arm"', { | 899 [ 'target_arch != "arm"', { |
| 900 'sources': [ | 900 'sources': [ |
| 901 '../third_party/skia/src/opts/SkBitmapProcState_opts_SSE2.cpp', | 901 '../third_party/skia/src/opts/SkBitmapProcState_opts_SSE2.cpp', |
| 902 '../third_party/skia/src/opts/SkBlitRow_opts_SSE2.cpp', | 902 '../third_party/skia/src/opts/SkBlitRow_opts_SSE2.cpp', |
| 903 '../third_party/skia/src/opts/SkUtils_opts_SSE2.cpp', | 903 '../third_party/skia/src/opts/SkUtils_opts_SSE2.cpp', |
| 904 ], | 904 ], |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 944 ], | 944 ], |
| 945 }, | 945 }, |
| 946 ], | 946 ], |
| 947 } | 947 } |
| 948 | 948 |
| 949 # Local Variables: | 949 # Local Variables: |
| 950 # tab-width:2 | 950 # tab-width:2 |
| 951 # indent-tabs-mode:nil | 951 # indent-tabs-mode:nil |
| 952 # End: | 952 # End: |
| 953 # vim: set expandtab tabstop=2 shiftwidth=2: | 953 # vim: set expandtab tabstop=2 shiftwidth=2: |
| OLD | NEW |