Chromium Code Reviews| 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 'sources': [ | 10 'sources': [ |
| (...skipping 725 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 736 [ 'OS != "mac"', { | 736 [ 'OS != "mac"', { |
| 737 'sources/': [ | 737 'sources/': [ |
| 738 ['exclude', '_mac\\.(cc|cpp|mm?)$'], | 738 ['exclude', '_mac\\.(cc|cpp|mm?)$'], |
| 739 ['exclude', '/mac/'] | 739 ['exclude', '/mac/'] |
| 740 ], | 740 ], |
| 741 'sources': [ | 741 'sources': [ |
| 742 '../third_party/skia/include/utils/SkMatrix44.h', | 742 '../third_party/skia/include/utils/SkMatrix44.h', |
| 743 '../third_party/skia/src/utils/SkMatrix44.cpp', | 743 '../third_party/skia/src/utils/SkMatrix44.cpp', |
| 744 ], | 744 ], |
| 745 }], | 745 }], |
| 746 [ 'toolkit_uses_gtk == 0', { | |
| 747 'sources/': [ ['exclude', '_(linux|gtk)\\.(cc|cpp)$'] ], | |
| 748 'sources!': [ | |
| 749 '../third_party/skia/src/ports/SkFontHost_FreeType.cpp', | |
| 750 '../third_party/skia/src/ports/SkFontHost_TryeType_Tables.cpp', | |
| 751 '../third_party/skia/src/ports/SkFontHost_gamma_none.cpp', | |
| 752 '../third_party/skia/src/ports/SkFontHost_gamma_none.cpp', | |
| 753 '../third_party/skia/src/ports/SkFontHost_tables.cpp', | |
| 754 ], | |
| 755 }], | |
| 756 [ 'OS == "android"', { | 746 [ 'OS == "android"', { |
| 757 'sources/': [ | 747 'sources/': [ |
| 758 ['include', 'ext/platform_device_linux.cc'], | 748 ['include', 'ext/platform_device_linux.cc'], |
| 759 ['include', 'ext/platform_canvas_linux.cc'], | 749 ['include', 'ext/platform_canvas_linux.cc'], |
| 760 ], | 750 ], |
| 761 }, { # OS != "android" | 751 }, { # OS != "android" |
| 762 'sources/': [ ['exclude', '_android\\.(cc|cpp)$'] ], | 752 'sources/': [ ['exclude', '_android\\.(cc|cpp)$'] ], |
| 763 }], | 753 }], |
| 764 [ 'OS != "win"', { | 754 [ 'OS != "win"', { |
| 765 'sources/': [ ['exclude', '_win\\.(cc|cpp)$'] ], | 755 'sources/': [ ['exclude', '_win\\.(cc|cpp)$'] ], |
| 766 }], | 756 }], |
| 767 [ 'armv7 == 1', { | 757 [ 'armv7 == 1', { |
| 768 'defines': [ | 758 'defines': [ |
| 769 '__ARM_ARCH__=7', | 759 '__ARM_ARCH__=7', |
| 770 ], | 760 ], |
| 771 }], | 761 }], |
| 772 [ 'armv7 == 1 and arm_neon == 1', { | 762 [ 'armv7 == 1 and arm_neon == 1', { |
| 773 'defines': [ | 763 'defines': [ |
| 774 '__ARM_HAVE_NEON', | 764 '__ARM_HAVE_NEON', |
| 775 ], | 765 ], |
| 776 }], | 766 }], |
| 777 [ 'target_arch == "arm"', { | 767 [ 'target_arch == "arm"', { |
| 778 'sources!': [ | 768 'sources!': [ |
| 779 '../third_party/skia/src/opts/opts_check_SSE2.cpp' | 769 '../third_party/skia/src/opts/opts_check_SSE2.cpp' |
| 780 ], | 770 ], |
| 781 }], | 771 }], |
| 782 [ 'toolkit_uses_gtk == 1', { | 772 [ 'use_glib == 1', { |
|
Nico
2011/09/19 21:58:09
Where is this set? I don't see it in http://codese
sadrul
2011/09/19 22:00:10
This will happen, presumably soon, with http://cod
| |
| 783 'dependencies': [ | 773 'dependencies': [ |
| 784 '../build/linux/system.gyp:gdk', | |
| 785 '../build/linux/system.gyp:fontconfig', | 774 '../build/linux/system.gyp:fontconfig', |
| 786 '../build/linux/system.gyp:freetype2', | 775 '../build/linux/system.gyp:freetype2', |
| 787 '../third_party/harfbuzz/harfbuzz.gyp:harfbuzz', | 776 '../third_party/harfbuzz/harfbuzz.gyp:harfbuzz', |
| 788 '../third_party/icu/icu.gyp:icuuc', | 777 '../third_party/icu/icu.gyp:icuuc', |
| 789 ], | 778 ], |
| 790 'cflags': [ | 779 'cflags': [ |
| 791 '-Wno-unused', | 780 '-Wno-unused', |
| 792 '-Wno-unused-function', | 781 '-Wno-unused-function', |
| 793 ], | 782 ], |
| 794 'sources': [ | 783 'sources': [ |
| 795 'ext/SkFontHost_fontconfig.cpp', | 784 'ext/SkFontHost_fontconfig.cpp', |
| 796 'ext/SkFontHost_fontconfig_direct.cpp', | 785 'ext/SkFontHost_fontconfig_direct.cpp', |
| 797 ], | 786 ], |
| 798 'defines': [ | 787 'defines': [ |
| 799 'SK_MAX_SIZE_FOR_LCDTEXT=256', | 788 'SK_MAX_SIZE_FOR_LCDTEXT=256', |
| 800 ], | 789 ], |
| 790 }, { # use_glib == 0 | |
| 791 'sources/': [ ['exclude', '_linux\\.(cc|cpp)$'] ], | |
| 792 'sources!': [ | |
| 793 '../third_party/skia/src/ports/SkFontHost_FreeType.cpp', | |
| 794 '../third_party/skia/src/ports/SkFontHost_TryeType_Tables.cpp', | |
| 795 '../third_party/skia/src/ports/SkFontHost_gamma_none.cpp', | |
| 796 '../third_party/skia/src/ports/SkFontHost_gamma_none.cpp', | |
| 797 '../third_party/skia/src/ports/SkFontHost_tables.cpp', | |
| 798 ], | |
| 799 }], | |
| 800 [ 'toolkit_uses_gtk == 1', { | |
| 801 'dependencies': [ | |
| 802 '../build/linux/system.gyp:gdk', | |
| 803 ], | |
| 804 }, { # toolkit_uses_gtk == 0 | |
| 805 'sources/': [ ['exclude', '_gtk\\.(cc|cpp)$'] ], | |
| 801 }], | 806 }], |
| 802 [ 'OS == "mac"', { | 807 [ 'OS == "mac"', { |
| 803 'defines': [ | 808 'defines': [ |
| 804 'SK_BUILD_FOR_MAC', | 809 'SK_BUILD_FOR_MAC', |
| 805 ], | 810 ], |
| 806 'include_dirs': [ | 811 'include_dirs': [ |
| 807 '../third_party/skia/include/utils/mac', | 812 '../third_party/skia/include/utils/mac', |
| 808 ], | 813 ], |
| 809 'link_settings': { | 814 'link_settings': { |
| 810 'libraries': [ | 815 'libraries': [ |
| (...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1014 ], | 1019 ], |
| 1015 'include_dirs': [ | 1020 'include_dirs': [ |
| 1016 '..', | 1021 '..', |
| 1017 ], | 1022 ], |
| 1018 'sources': [ | 1023 'sources': [ |
| 1019 'ext/image_operations_bench.cc', | 1024 'ext/image_operations_bench.cc', |
| 1020 ], | 1025 ], |
| 1021 }, | 1026 }, |
| 1022 ], | 1027 ], |
| 1023 } | 1028 } |
| OLD | NEW |