OLD | NEW |
---|---|
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 'variables': { | 10 'variables': { |
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
247 '../third_party/skia/src/core/SkGeometry.cpp', | 247 '../third_party/skia/src/core/SkGeometry.cpp', |
248 '../third_party/skia/src/core/SkGlyphCache.cpp', | 248 '../third_party/skia/src/core/SkGlyphCache.cpp', |
249 '../third_party/skia/src/core/SkGlyphCache.h', | 249 '../third_party/skia/src/core/SkGlyphCache.h', |
250 '../third_party/skia/src/core/SkGraphics.cpp', | 250 '../third_party/skia/src/core/SkGraphics.cpp', |
251 '../third_party/skia/src/core/SkInstCnt.cpp', | 251 '../third_party/skia/src/core/SkInstCnt.cpp', |
252 '../third_party/skia/src/core/SkLineClipper.cpp', | 252 '../third_party/skia/src/core/SkLineClipper.cpp', |
253 '../third_party/skia/src/core/SkMMapStream.cpp', | 253 '../third_party/skia/src/core/SkMMapStream.cpp', |
254 '../third_party/skia/src/core/SkMallocPixelRef.cpp', | 254 '../third_party/skia/src/core/SkMallocPixelRef.cpp', |
255 '../third_party/skia/src/core/SkMask.cpp', | 255 '../third_party/skia/src/core/SkMask.cpp', |
256 '../third_party/skia/src/core/SkMaskFilter.cpp', | 256 '../third_party/skia/src/core/SkMaskFilter.cpp', |
257 '../third_party/skia/src/core/SkMaskGamma.cpp', | |
258 '../third_party/skia/src/core/SkMaskGamma.h', | |
257 '../third_party/skia/src/core/SkMath.cpp', | 259 '../third_party/skia/src/core/SkMath.cpp', |
258 '../third_party/skia/src/core/SkMatrix.cpp', | 260 '../third_party/skia/src/core/SkMatrix.cpp', |
259 '../third_party/skia/src/core/SkMetaData.cpp', | 261 '../third_party/skia/src/core/SkMetaData.cpp', |
260 '../third_party/skia/src/core/SkOrderedReadBuffer.cpp', | 262 '../third_party/skia/src/core/SkOrderedReadBuffer.cpp', |
261 '../third_party/skia/src/core/SkOrderedWriteBuffer.cpp', | 263 '../third_party/skia/src/core/SkOrderedWriteBuffer.cpp', |
262 '../third_party/skia/src/core/SkPackBits.cpp', | 264 '../third_party/skia/src/core/SkPackBits.cpp', |
263 '../third_party/skia/src/core/SkPaint.cpp', | 265 '../third_party/skia/src/core/SkPaint.cpp', |
264 '../third_party/skia/src/core/SkPath.cpp', | 266 '../third_party/skia/src/core/SkPath.cpp', |
265 '../third_party/skia/src/core/SkPathEffect.cpp', | 267 '../third_party/skia/src/core/SkPathEffect.cpp', |
266 '../third_party/skia/src/core/SkPathHeap.cpp', | 268 '../third_party/skia/src/core/SkPathHeap.cpp', |
(...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
541 '../third_party/skia/src/pdf/SkPDFUtils.h', | 543 '../third_party/skia/src/pdf/SkPDFUtils.h', |
542 | 544 |
543 '../third_party/skia/src/ports/FontHostConfiguration_android.cpp', | 545 '../third_party/skia/src/ports/FontHostConfiguration_android.cpp', |
544 '../third_party/skia/src/ports/SkFontDescriptor.cpp', | 546 '../third_party/skia/src/ports/SkFontDescriptor.cpp', |
545 '../third_party/skia/src/ports/SkFontDescriptor.h', | 547 '../third_party/skia/src/ports/SkFontDescriptor.h', |
546 #'../third_party/skia/src/ports/SkFontHost_FONTPATH.cpp', | 548 #'../third_party/skia/src/ports/SkFontHost_FONTPATH.cpp', |
547 '../third_party/skia/src/ports/SkFontHost_FreeType.cpp', | 549 '../third_party/skia/src/ports/SkFontHost_FreeType.cpp', |
548 '../third_party/skia/src/ports/SkFontHost_android.cpp', | 550 '../third_party/skia/src/ports/SkFontHost_android.cpp', |
549 #'../third_party/skia/src/ports/SkFontHost_ascender.cpp', | 551 #'../third_party/skia/src/ports/SkFontHost_ascender.cpp', |
550 '../third_party/skia/src/ports/SkFontHost_tables.cpp', | 552 '../third_party/skia/src/ports/SkFontHost_tables.cpp', |
551 '../third_party/skia/src/ports/SkFontHost_gamma.cpp', | |
552 '../third_party/skia/src/ports/SkFontHost_gamma_none.cpp', | |
553 #'../third_party/skia/src/ports/SkFontHost_linux.cpp', | 553 #'../third_party/skia/src/ports/SkFontHost_linux.cpp', |
554 '../third_party/skia/src/ports/SkFontHost_mac.cpp', | 554 '../third_party/skia/src/ports/SkFontHost_mac.cpp', |
555 #'../third_party/skia/src/ports/SkFontHost_none.cpp', | 555 #'../third_party/skia/src/ports/SkFontHost_none.cpp', |
556 '../third_party/skia/src/ports/SkFontHost_sandbox_none.cpp', | 556 '../third_party/skia/src/ports/SkFontHost_sandbox_none.cpp', |
557 '../third_party/skia/src/ports/SkFontHost_win.cpp', | 557 '../third_party/skia/src/ports/SkFontHost_win.cpp', |
558 '../third_party/skia/src/ports/SkGlobalInitialization_chromium.cpp', | 558 '../third_party/skia/src/ports/SkGlobalInitialization_chromium.cpp', |
559 #'../third_party/skia/src/ports/SkImageDecoder_CG.cpp', | 559 #'../third_party/skia/src/ports/SkImageDecoder_CG.cpp', |
560 #'../third_party/skia/src/ports/SkImageDecoder_empty.cpp', | 560 #'../third_party/skia/src/ports/SkImageDecoder_empty.cpp', |
561 #'../third_party/skia/src/ports/SkImageRef_ashmem.cpp', | 561 #'../third_party/skia/src/ports/SkImageRef_ashmem.cpp', |
562 #'../third_party/skia/src/ports/SkImageRef_ashmem.h', | 562 #'../third_party/skia/src/ports/SkImageRef_ashmem.h', |
563 #'../third_party/skia/src/ports/SkOSEvent_android.cpp', | 563 #'../third_party/skia/src/ports/SkOSEvent_android.cpp', |
564 #'../third_party/skia/src/ports/SkOSEvent_dummy.cpp', | 564 #'../third_party/skia/src/ports/SkOSEvent_dummy.cpp', |
565 '../third_party/skia/src/ports/SkOSFile_stdio.cpp', | 565 '../third_party/skia/src/ports/SkOSFile_stdio.cpp', |
566 #'../third_party/skia/src/ports/SkThread_none.cpp', | 566 #'../third_party/skia/src/ports/SkThread_none.cpp', |
567 '../third_party/skia/src/ports/SkThread_pthread.cpp', | 567 '../third_party/skia/src/ports/SkThread_pthread.cpp', |
568 '../third_party/skia/src/ports/SkThread_win.cpp', | 568 '../third_party/skia/src/ports/SkThread_win.cpp', |
569 '../third_party/skia/src/ports/SkTime_Unix.cpp', | 569 '../third_party/skia/src/ports/SkTime_Unix.cpp', |
570 #'../third_party/skia/src/ports/SkXMLParser_empty.cpp', | 570 #'../third_party/skia/src/ports/SkXMLParser_empty.cpp', |
571 #'../third_party/skia/src/ports/SkXMLParser_expat.cpp', | 571 #'../third_party/skia/src/ports/SkXMLParser_expat.cpp', |
572 #'../third_party/skia/src/ports/SkXMLParser_tinyxml.cpp', | 572 #'../third_party/skia/src/ports/SkXMLParser_tinyxml.cpp', |
573 #'../third_party/skia/src/ports/SkXMLPullParser_expat.cpp', | 573 #'../third_party/skia/src/ports/SkXMLPullParser_expat.cpp', |
574 '../third_party/skia/src/ports/sk_predefined_gamma.h', | |
575 | 574 |
576 '../third_party/skia/src/sfnt/SkOTUtils.cpp', | 575 '../third_party/skia/src/sfnt/SkOTUtils.cpp', |
577 '../third_party/skia/src/sfnt/SkOTUtils.h', | 576 '../third_party/skia/src/sfnt/SkOTUtils.h', |
578 | 577 |
579 '../third_party/skia/include/utils/mac/SkCGUtils.h', | 578 '../third_party/skia/include/utils/mac/SkCGUtils.h', |
580 '../third_party/skia/include/utils/SkDeferredCanvas.h', | 579 '../third_party/skia/include/utils/SkDeferredCanvas.h', |
581 '../third_party/skia/include/utils/SkMatrix44.h', | 580 '../third_party/skia/include/utils/SkMatrix44.h', |
582 '../third_party/skia/src/utils/mac/SkCreateCGImageRef.cpp', | 581 '../third_party/skia/src/utils/mac/SkCreateCGImageRef.cpp', |
583 '../third_party/skia/src/utils/SkBase64.cpp', | 582 '../third_party/skia/src/utils/SkBase64.cpp', |
584 '../third_party/skia/src/utils/SkBase64.h', | 583 '../third_party/skia/src/utils/SkBase64.h', |
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
815 '../third_party/skia/include/pipe', | 814 '../third_party/skia/include/pipe', |
816 '../third_party/skia/include/ports', | 815 '../third_party/skia/include/ports', |
817 '../third_party/skia/include/utils', | 816 '../third_party/skia/include/utils', |
818 '../third_party/skia/src/core', | 817 '../third_party/skia/src/core', |
819 '../third_party/skia/src/gpu', | 818 '../third_party/skia/src/gpu', |
820 '../third_party/skia/src/sfnt', | 819 '../third_party/skia/src/sfnt', |
821 '../third_party/skia/src/utils', | 820 '../third_party/skia/src/utils', |
822 ], | 821 ], |
823 'msvs_disabled_warnings': [4244, 4267, 4341, 4345, 4390, 4554, 4800], | 822 'msvs_disabled_warnings': [4244, 4267, 4341, 4345, 4390, 4554, 4800], |
824 'defines': [ | 823 'defines': [ |
824 'SK_GAMMA_SRGB', | |
825 #'SK_GAMMA_APPLY_TO_A8', | |
825 'SK_BUILD_NO_IMAGE_ENCODE', | 826 'SK_BUILD_NO_IMAGE_ENCODE', |
826 'GR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"', | 827 'GR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"', |
827 'GR_STATIC_RECT_VB=1', | 828 'GR_STATIC_RECT_VB=1', |
828 'GR_AGGRESSIVE_SHADER_OPTS=1', | 829 'GR_AGGRESSIVE_SHADER_OPTS=1', |
829 'SK_DISABLE_FAST_AA_STROKE_RECT', | 830 'SK_DISABLE_FAST_AA_STROKE_RECT', |
830 'SK_DEFERRED_CANVAS_USES_GPIPE=1', | 831 'SK_DEFERRED_CANVAS_USES_GPIPE=1', |
831 | 832 |
832 # temporary for landing Skia rev 3077 with minimal layout test breakage | 833 # temporary for landing Skia rev 3077 with minimal layout test breakage |
833 'SK_SIMPLE_TWOCOLOR_VERTICAL_GRADIENTS', | 834 'SK_SIMPLE_TWOCOLOR_VERTICAL_GRADIENTS', |
834 | 835 |
(...skipping 28 matching lines...) Expand all Loading... | |
863 'defines+': [ | 864 'defines+': [ |
864 'SK_USE_POSIX_THREADS', | 865 'SK_USE_POSIX_THREADS', |
865 ], | 866 ], |
866 'sources!': [ | 867 'sources!': [ |
867 'ext/SkThread_chrome.cc', | 868 'ext/SkThread_chrome.cc', |
868 ], | 869 ], |
869 }], | 870 }], |
870 [ 'OS != "android"', { | 871 [ 'OS != "android"', { |
871 'sources/': [ | 872 'sources/': [ |
872 ['exclude', '_android\\.(cc|cpp)$'], | 873 ['exclude', '_android\\.(cc|cpp)$'], |
873 # Below files are only used by Android | |
874 ['exclude', '../third_party/skia/src/ports/SkFontHost_gamma\\.cpp$'] , | |
875 ], | 874 ], |
876 'defines': [ | 875 'defines': [ |
877 'SK_DEFAULT_FONT_CACHE_LIMIT=(20*1024*1024)', | 876 'SK_DEFAULT_FONT_CACHE_LIMIT=(20*1024*1024)', |
878 ], | 877 ], |
879 }], | 878 }], |
880 [ 'OS != "mac"', { | 879 [ 'OS != "mac"', { |
881 'sources/': [ | 880 'sources/': [ |
882 ['exclude', '_mac\\.(cc|cpp|mm?)$'], | 881 ['exclude', '_mac\\.(cc|cpp|mm?)$'], |
883 ['exclude', '/mac/'] | 882 ['exclude', '/mac/'] |
884 ], | 883 ], |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
918 'ext/SkFontHost_fontconfig_direct.cpp', | 917 'ext/SkFontHost_fontconfig_direct.cpp', |
919 ], | 918 ], |
920 'defines': [ | 919 'defines': [ |
921 # 'SK_USE_COLOR_LUMINANCE', | 920 # 'SK_USE_COLOR_LUMINANCE', |
922 ], | 921 ], |
923 }], | 922 }], |
924 [ 'use_glib == 0 and OS != "android"', { | 923 [ 'use_glib == 0 and OS != "android"', { |
925 'sources/': [ ['exclude', '_linux\\.(cc|cpp)$'] ], | 924 'sources/': [ ['exclude', '_linux\\.(cc|cpp)$'] ], |
926 'sources!': [ | 925 'sources!': [ |
927 '../third_party/skia/src/ports/SkFontHost_FreeType.cpp', | 926 '../third_party/skia/src/ports/SkFontHost_FreeType.cpp', |
928 '../third_party/skia/src/ports/SkFontHost_TryeType_Tables.cpp', | |
929 '../third_party/skia/src/ports/SkFontHost_gamma_none.cpp', | |
930 ], | 927 ], |
931 }], | 928 }], |
932 [ 'use_aura == 1 and use_canvas_skia == 1', { | 929 [ 'use_aura == 1 and use_canvas_skia == 1', { |
933 'sources/': [ | 930 'sources/': [ |
934 ['exclude', 'ext/platform_canvas_mac\\.cc$'], | 931 ['exclude', 'ext/platform_canvas_mac\\.cc$'], |
935 ['exclude', 'ext/platform_canvas_linux\\.cc$'], | 932 ['exclude', 'ext/platform_canvas_linux\\.cc$'], |
936 ['exclude', 'ext/platform_canvas_win\\.cc$'], | 933 ['exclude', 'ext/platform_canvas_win\\.cc$'], |
937 ], | 934 ], |
938 }, { # use_aura == 0 and use_canvas_skia == 1 | 935 }, { # use_aura == 0 and use_canvas_skia == 1 |
939 'sources/': [ ['exclude', 'ext/platform_canvas_skia\\.cc$'] ], | 936 'sources/': [ ['exclude', 'ext/platform_canvas_skia\\.cc$'] ], |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
977 'include_dirs': [ | 974 'include_dirs': [ |
978 '../third_party/expat/files/lib', | 975 '../third_party/expat/files/lib', |
979 ], | 976 ], |
980 'sources/': [ | 977 'sources/': [ |
981 ['include', 'ext/platform_device_linux\\.cc$'], | 978 ['include', 'ext/platform_device_linux\\.cc$'], |
982 ['include', 'ext/platform_canvas_linux\\.cc$'], | 979 ['include', 'ext/platform_canvas_linux\\.cc$'], |
983 ], | 980 ], |
984 'sources!': [ | 981 'sources!': [ |
985 'ext/vector_platform_device_skia.cc', | 982 'ext/vector_platform_device_skia.cc', |
986 '../third_party/skia/src/pdf/SkPDFFont.cpp', | 983 '../third_party/skia/src/pdf/SkPDFFont.cpp', |
987 '../third_party/skia/src/ports/SkFontHost_gamma_none.cpp', | |
988 ], | 984 ], |
989 'export_dependent_settings': [ | 985 'export_dependent_settings': [ |
990 '../third_party/harfbuzz/harfbuzz.gyp:harfbuzz', | 986 '../third_party/harfbuzz/harfbuzz.gyp:harfbuzz', |
991 ], | 987 ], |
992 }], | 988 }], |
993 [ '_toolset == "target" and android_build_type == 0', { | 989 [ '_toolset == "target" and android_build_type == 0', { |
994 'defines': [ | 990 'defines': [ |
995 'HAVE_ENDIAN_H', | 991 'HAVE_ENDIAN_H', |
996 ], | 992 ], |
997 }], | 993 }], |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1076 'dependencies': [ | 1072 'dependencies': [ |
1077 'skia_opts', | 1073 'skia_opts', |
1078 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic _annotations', | 1074 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic _annotations', |
1079 '../third_party/sfntly/sfntly.gyp:sfntly', | 1075 '../third_party/sfntly/sfntly.gyp:sfntly', |
1080 '../third_party/zlib/zlib.gyp:zlib', | 1076 '../third_party/zlib/zlib.gyp:zlib', |
1081 ], | 1077 ], |
1082 'direct_dependent_settings': { | 1078 'direct_dependent_settings': { |
1083 'include_dirs': [ | 1079 'include_dirs': [ |
1084 'config', | 1080 'config', |
1085 '../third_party/skia/include/config', | 1081 '../third_party/skia/include/config', |
1086 '../third_party/skia/include/core', | 1082 '../third_party/skia/include/core', |
reed1
2012/08/01 12:41:37
// THis is a temp hack
| |
1083 '../third_party/skia/src/core', | |
1087 '../third_party/skia/include/effects', | 1084 '../third_party/skia/include/effects', |
1088 '../third_party/skia/include/pdf', | 1085 '../third_party/skia/include/pdf', |
1089 '../third_party/skia/include/gpu', | 1086 '../third_party/skia/include/gpu', |
1090 '../third_party/skia/include/gpu/gl', | 1087 '../third_party/skia/include/gpu/gl', |
1091 '../third_party/skia/include/pipe', | 1088 '../third_party/skia/include/pipe', |
1092 '../third_party/skia/include/ports', | 1089 '../third_party/skia/include/ports', |
1093 '../third_party/skia/include/utils', | 1090 '../third_party/skia/include/utils', |
1094 'ext', | 1091 'ext', |
1095 ], | 1092 ], |
1096 'defines': [ | 1093 'defines': [ |
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1319 ], | 1316 ], |
1320 'include_dirs': [ | 1317 'include_dirs': [ |
1321 '..', | 1318 '..', |
1322 ], | 1319 ], |
1323 'sources': [ | 1320 'sources': [ |
1324 'ext/image_operations_bench.cc', | 1321 'ext/image_operations_bench.cc', |
1325 ], | 1322 ], |
1326 }, | 1323 }, |
1327 ], | 1324 ], |
1328 } | 1325 } |
OLD | NEW |