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

Side by Side Diff: skia/skia.gyp

Issue 10850012: Roll skia to 4889. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 4 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
« no previous file with comments | « DEPS ('k') | skia/skia_test_expectations.txt » ('j') | 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) 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
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
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
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
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
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
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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
1087 'skia_opts', 1083 'skia_opts',
1088 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyn amic_annotations', 1084 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyn amic_annotations',
1089 '../third_party/sfntly/sfntly.gyp:sfntly', 1085 '../third_party/sfntly/sfntly.gyp:sfntly',
1090 '../third_party/zlib/zlib.gyp:zlib', 1086 '../third_party/zlib/zlib.gyp:zlib',
1091 ], 1087 ],
1092 }], 1088 }],
1093 ], 1089 ],
1094 'direct_dependent_settings': { 1090 'direct_dependent_settings': {
1095 'include_dirs': [ 1091 'include_dirs': [
1096 'config', 1092 'config',
1093
1094 #temporary until we can hide SkFontHost
1095 '../third_party/skia/src/core',
1096
1097 '../third_party/skia/include/config', 1097 '../third_party/skia/include/config',
1098 '../third_party/skia/include/core', 1098 '../third_party/skia/include/core',
1099 '../third_party/skia/include/effects', 1099 '../third_party/skia/include/effects',
1100 '../third_party/skia/include/pdf', 1100 '../third_party/skia/include/pdf',
1101 '../third_party/skia/include/gpu', 1101 '../third_party/skia/include/gpu',
1102 '../third_party/skia/include/gpu/gl', 1102 '../third_party/skia/include/gpu/gl',
1103 '../third_party/skia/include/pipe', 1103 '../third_party/skia/include/pipe',
1104 '../third_party/skia/include/ports', 1104 '../third_party/skia/include/ports',
1105 '../third_party/skia/include/utils', 1105 '../third_party/skia/include/utils',
1106 'ext', 1106 'ext',
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
1251 }], 1251 }],
1252 [ 'armv7 == 1 and arm_neon == 0', { 1252 [ 'armv7 == 1 and arm_neon == 0', {
1253 'sources': [ 1253 'sources': [
1254 '../third_party/skia/src/opts/memset.arm.S', 1254 '../third_party/skia/src/opts/memset.arm.S',
1255 ], 1255 ],
1256 }], 1256 }],
1257 [ 'armv7 == 1 and arm_neon == 1', { 1257 [ 'armv7 == 1 and arm_neon == 1', {
1258 'sources': [ 1258 'sources': [
1259 '../third_party/skia/src/opts/memset16_neon.S', 1259 '../third_party/skia/src/opts/memset16_neon.S',
1260 '../third_party/skia/src/opts/memset32_neon.S', 1260 '../third_party/skia/src/opts/memset32_neon.S',
1261 '../third_party/skia/src/opts/SkBitmapProcState_matrixProcs_neon.cpp ',
1262 '../third_party/skia/src/opts/SkBitmapProcState_matrix_clamp_neon.h' ,
1263 '../third_party/skia/src/opts/SkBitmapProcState_matrix_repeat_neon.h ',
1261 ], 1264 ],
1262 }], 1265 }],
1263 [ 'target_arch == "arm" and armv7 != 1', { 1266 [ 'target_arch == "arm" and armv7 != 1', {
1264 'sources': [ 1267 'sources': [
1265 '../third_party/skia/src/opts/SkBlitRow_opts_none.cpp', 1268 '../third_party/skia/src/opts/SkBlitRow_opts_none.cpp',
1266 ], 1269 ],
1267 'sources!': [ 1270 'sources!': [
1268 '../third_party/skia/src/opts/SkBlitRow_opts_arm.cpp', 1271 '../third_party/skia/src/opts/SkBlitRow_opts_arm.cpp',
1269 ], 1272 ],
1270 }], 1273 }],
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
1331 ], 1334 ],
1332 'include_dirs': [ 1335 'include_dirs': [
1333 '..', 1336 '..',
1334 ], 1337 ],
1335 'sources': [ 1338 'sources': [
1336 'ext/image_operations_bench.cc', 1339 'ext/image_operations_bench.cc',
1337 ], 1340 ],
1338 }, 1341 },
1339 ], 1342 ],
1340 } 1343 }
OLDNEW
« no previous file with comments | « DEPS ('k') | skia/skia_test_expectations.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698