Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(944)

Side by Side Diff: skia/skia.gyp

Issue 7219009: Add Skia on Chrome for Mac gyp rules (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 9 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« build/common.gypi ('K') | « printing/printing.gyp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 769 matching lines...) Expand 10 before | Expand all | Expand 10 after
780 '../third_party/skia/src/ports/SkFontHost_FreeType_Subpixel.cpp', 780 '../third_party/skia/src/ports/SkFontHost_FreeType_Subpixel.cpp',
781 ], 781 ],
782 'defines': [ 782 'defines': [
783 'SK_SUPPORT_LCDTEXT', 783 'SK_SUPPORT_LCDTEXT',
784 ], 784 ],
785 }], 785 }],
786 [ 'OS == "mac"', { 786 [ 'OS == "mac"', {
787 'defines': [ 787 'defines': [
788 'SK_BUILD_FOR_MAC', 788 'SK_BUILD_FOR_MAC',
789 ], 789 ],
790 'sources/': [
791 ['exclude', '/pdf/'],
792 ['exclude', 'ext/vector_platform_device_skia\\.(cc|h)'],
793 ],
794 'include_dirs': [ 790 'include_dirs': [
795 '../third_party/skia/include/utils/mac', 791 '../third_party/skia/include/utils/mac',
796 ], 792 ],
797 'link_settings': { 793 'link_settings': {
798 'libraries': [ 794 'libraries': [
799 '$(SDKROOT)/System/Library/Frameworks/AppKit.framework', 795 '$(SDKROOT)/System/Library/Frameworks/AppKit.framework',
800 ], 796 ],
801 }, 797 },
802 }], 798 }],
799 [ 'OS == "mac" and use_skia==0', {
darin (slow to review) 2011/06/21 17:37:44 nit: you could also just nest another 'conditions'
800 'sources/': [
801 ['exclude', '/pdf/'],
802 ['exclude', 'ext/vector_platform_device_skia\\.(cc|h)'],
803 ],
804 }],
805 [ 'OS == "mac" and use_skia==1', {
806 'defines': [
807 'SK_SUPPORT_888_TEXT',
808 'SK_USE_MAC_CORE_TEXT',
809 ],
810 }],
803 [ 'OS == "win"', { 811 [ 'OS == "win"', {
804 'sources!': [ 812 'sources!': [
805 '../third_party/skia/src/core/SkMMapStream.cpp', 813 '../third_party/skia/src/core/SkMMapStream.cpp',
806 '../third_party/skia/src/ports/SkTime_Unix.cc', 814 '../third_party/skia/src/ports/SkTime_Unix.cc',
807 'ext/SkThread_chrome.cc', 815 'ext/SkThread_chrome.cc',
808 ], 816 ],
809 'include_dirs': [ 817 'include_dirs': [
810 'config/win', 818 'config/win',
811 ], 819 ],
812 'direct_dependent_settings': { 820 'direct_dependent_settings': {
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
992 ], 1000 ],
993 }, 1001 },
994 ], 1002 ],
995 } 1003 }
996 1004
997 # Local Variables: 1005 # Local Variables:
998 # tab-width:2 1006 # tab-width:2
999 # indent-tabs-mode:nil 1007 # indent-tabs-mode:nil
1000 # End: 1008 # End:
1001 # vim: set expandtab tabstop=2 shiftwidth=2: 1009 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW
« build/common.gypi ('K') | « printing/printing.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698