| 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 769 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 }, |
| 798 'conditions': [ |
| 799 [ 'use_skia == 0', { |
| 800 'sources/': [ |
| 801 ['exclude', '/pdf/'], |
| 802 ['exclude', 'ext/vector_platform_device_skia\\.(cc|h)'], |
| 803 ], |
| 804 }, |
| 805 { # use_skia |
| 806 'defines': [ |
| 807 'SK_SUPPORT_888_TEXT', |
| 808 'SK_USE_MAC_CORE_TEXT', |
| 809 ], |
| 810 }], |
| 811 ], |
| 802 }], | 812 }], |
| 803 [ 'OS == "win"', { | 813 [ 'OS == "win"', { |
| 804 'sources!': [ | 814 'sources!': [ |
| 805 '../third_party/skia/src/core/SkMMapStream.cpp', | 815 '../third_party/skia/src/core/SkMMapStream.cpp', |
| 806 '../third_party/skia/src/ports/SkTime_Unix.cc', | 816 '../third_party/skia/src/ports/SkTime_Unix.cc', |
| 807 'ext/SkThread_chrome.cc', | 817 'ext/SkThread_chrome.cc', |
| 808 ], | 818 ], |
| 809 'include_dirs': [ | 819 'include_dirs': [ |
| 810 'config/win', | 820 'config/win', |
| 811 ], | 821 ], |
| (...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 992 ], | 1002 ], |
| 993 }, | 1003 }, |
| 994 ], | 1004 ], |
| 995 } | 1005 } |
| 996 | 1006 |
| 997 # Local Variables: | 1007 # Local Variables: |
| 998 # tab-width:2 | 1008 # tab-width:2 |
| 999 # indent-tabs-mode:nil | 1009 # indent-tabs-mode:nil |
| 1000 # End: | 1010 # End: |
| 1001 # vim: set expandtab tabstop=2 shiftwidth=2: | 1011 # vim: set expandtab tabstop=2 shiftwidth=2: |
| OLD | NEW |