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

Side by Side Diff: skia/skia.gyp

Issue 10843036: Revert 149468 - mirror of http://codereview.chromium.org/10825089/ (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',
259 '../third_party/skia/src/core/SkMath.cpp', 257 '../third_party/skia/src/core/SkMath.cpp',
260 '../third_party/skia/src/core/SkMatrix.cpp', 258 '../third_party/skia/src/core/SkMatrix.cpp',
261 '../third_party/skia/src/core/SkMetaData.cpp', 259 '../third_party/skia/src/core/SkMetaData.cpp',
262 '../third_party/skia/src/core/SkOrderedReadBuffer.cpp', 260 '../third_party/skia/src/core/SkOrderedReadBuffer.cpp',
263 '../third_party/skia/src/core/SkOrderedWriteBuffer.cpp', 261 '../third_party/skia/src/core/SkOrderedWriteBuffer.cpp',
264 '../third_party/skia/src/core/SkPackBits.cpp', 262 '../third_party/skia/src/core/SkPackBits.cpp',
265 '../third_party/skia/src/core/SkPaint.cpp', 263 '../third_party/skia/src/core/SkPaint.cpp',
266 '../third_party/skia/src/core/SkPath.cpp', 264 '../third_party/skia/src/core/SkPath.cpp',
267 '../third_party/skia/src/core/SkPathEffect.cpp', 265 '../third_party/skia/src/core/SkPathEffect.cpp',
268 '../third_party/skia/src/core/SkPathHeap.cpp', 266 '../third_party/skia/src/core/SkPathHeap.cpp',
(...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after
543 '../third_party/skia/src/pdf/SkPDFUtils.h', 541 '../third_party/skia/src/pdf/SkPDFUtils.h',
544 542
545 '../third_party/skia/src/ports/FontHostConfiguration_android.cpp', 543 '../third_party/skia/src/ports/FontHostConfiguration_android.cpp',
546 '../third_party/skia/src/ports/SkFontDescriptor.cpp', 544 '../third_party/skia/src/ports/SkFontDescriptor.cpp',
547 '../third_party/skia/src/ports/SkFontDescriptor.h', 545 '../third_party/skia/src/ports/SkFontDescriptor.h',
548 #'../third_party/skia/src/ports/SkFontHost_FONTPATH.cpp', 546 #'../third_party/skia/src/ports/SkFontHost_FONTPATH.cpp',
549 '../third_party/skia/src/ports/SkFontHost_FreeType.cpp', 547 '../third_party/skia/src/ports/SkFontHost_FreeType.cpp',
550 '../third_party/skia/src/ports/SkFontHost_android.cpp', 548 '../third_party/skia/src/ports/SkFontHost_android.cpp',
551 #'../third_party/skia/src/ports/SkFontHost_ascender.cpp', 549 #'../third_party/skia/src/ports/SkFontHost_ascender.cpp',
552 '../third_party/skia/src/ports/SkFontHost_tables.cpp', 550 '../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',
574 575
575 '../third_party/skia/src/sfnt/SkOTUtils.cpp', 576 '../third_party/skia/src/sfnt/SkOTUtils.cpp',
576 '../third_party/skia/src/sfnt/SkOTUtils.h', 577 '../third_party/skia/src/sfnt/SkOTUtils.h',
577 578
578 '../third_party/skia/include/utils/mac/SkCGUtils.h', 579 '../third_party/skia/include/utils/mac/SkCGUtils.h',
579 '../third_party/skia/include/utils/SkDeferredCanvas.h', 580 '../third_party/skia/include/utils/SkDeferredCanvas.h',
580 '../third_party/skia/include/utils/SkMatrix44.h', 581 '../third_party/skia/include/utils/SkMatrix44.h',
581 '../third_party/skia/src/utils/mac/SkCreateCGImageRef.cpp', 582 '../third_party/skia/src/utils/mac/SkCreateCGImageRef.cpp',
582 '../third_party/skia/src/utils/SkBase64.cpp', 583 '../third_party/skia/src/utils/SkBase64.cpp',
583 '../third_party/skia/src/utils/SkBase64.h', 584 '../third_party/skia/src/utils/SkBase64.h',
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after
814 '../third_party/skia/include/pipe', 815 '../third_party/skia/include/pipe',
815 '../third_party/skia/include/ports', 816 '../third_party/skia/include/ports',
816 '../third_party/skia/include/utils', 817 '../third_party/skia/include/utils',
817 '../third_party/skia/src/core', 818 '../third_party/skia/src/core',
818 '../third_party/skia/src/gpu', 819 '../third_party/skia/src/gpu',
819 '../third_party/skia/src/sfnt', 820 '../third_party/skia/src/sfnt',
820 '../third_party/skia/src/utils', 821 '../third_party/skia/src/utils',
821 ], 822 ],
822 'msvs_disabled_warnings': [4244, 4267, 4341, 4345, 4390, 4554, 4800], 823 'msvs_disabled_warnings': [4244, 4267, 4341, 4345, 4390, 4554, 4800],
823 'defines': [ 824 'defines': [
824 'SK_GAMMA_SRGB',
825 #'SK_GAMMA_APPLY_TO_A8',
826 'SK_BUILD_NO_IMAGE_ENCODE', 825 'SK_BUILD_NO_IMAGE_ENCODE',
827 'GR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"', 826 'GR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"',
828 'GR_STATIC_RECT_VB=1', 827 'GR_STATIC_RECT_VB=1',
829 'GR_AGGRESSIVE_SHADER_OPTS=1', 828 'GR_AGGRESSIVE_SHADER_OPTS=1',
830 'SK_DISABLE_FAST_AA_STROKE_RECT', 829 'SK_DISABLE_FAST_AA_STROKE_RECT',
831 'SK_DEFERRED_CANVAS_USES_GPIPE=1', 830 'SK_DEFERRED_CANVAS_USES_GPIPE=1',
832 831
833 # temporary for landing Skia rev 3077 with minimal layout test breakage 832 # temporary for landing Skia rev 3077 with minimal layout test breakage
834 'SK_SIMPLE_TWOCOLOR_VERTICAL_GRADIENTS', 833 'SK_SIMPLE_TWOCOLOR_VERTICAL_GRADIENTS',
835 834
(...skipping 28 matching lines...) Expand all
864 'defines+': [ 863 'defines+': [
865 'SK_USE_POSIX_THREADS', 864 'SK_USE_POSIX_THREADS',
866 ], 865 ],
867 'sources!': [ 866 'sources!': [
868 'ext/SkThread_chrome.cc', 867 'ext/SkThread_chrome.cc',
869 ], 868 ],
870 }], 869 }],
871 [ 'OS != "android"', { 870 [ 'OS != "android"', {
872 'sources/': [ 871 'sources/': [
873 ['exclude', '_android\\.(cc|cpp)$'], 872 ['exclude', '_android\\.(cc|cpp)$'],
873 # Below files are only used by Android
874 ['exclude', '../third_party/skia/src/ports/SkFontHost_gamma\\.cpp$'] ,
874 ], 875 ],
875 'defines': [ 876 'defines': [
876 'SK_DEFAULT_FONT_CACHE_LIMIT=(20*1024*1024)', 877 'SK_DEFAULT_FONT_CACHE_LIMIT=(20*1024*1024)',
877 ], 878 ],
878 }], 879 }],
879 [ 'OS != "mac"', { 880 [ 'OS != "mac"', {
880 'sources/': [ 881 'sources/': [
881 ['exclude', '_mac\\.(cc|cpp|mm?)$'], 882 ['exclude', '_mac\\.(cc|cpp|mm?)$'],
882 ['exclude', '/mac/'] 883 ['exclude', '/mac/']
883 ], 884 ],
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
917 'ext/SkFontHost_fontconfig_direct.cpp', 918 'ext/SkFontHost_fontconfig_direct.cpp',
918 ], 919 ],
919 'defines': [ 920 'defines': [
920 # 'SK_USE_COLOR_LUMINANCE', 921 # 'SK_USE_COLOR_LUMINANCE',
921 ], 922 ],
922 }], 923 }],
923 [ 'use_glib == 0 and OS != "android"', { 924 [ 'use_glib == 0 and OS != "android"', {
924 'sources/': [ ['exclude', '_linux\\.(cc|cpp)$'] ], 925 'sources/': [ ['exclude', '_linux\\.(cc|cpp)$'] ],
925 'sources!': [ 926 'sources!': [
926 '../third_party/skia/src/ports/SkFontHost_FreeType.cpp', 927 '../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',
927 ], 930 ],
928 }], 931 }],
929 [ 'use_aura == 1 and use_canvas_skia == 1', { 932 [ 'use_aura == 1 and use_canvas_skia == 1', {
930 'sources/': [ 933 'sources/': [
931 ['exclude', 'ext/platform_canvas_mac\\.cc$'], 934 ['exclude', 'ext/platform_canvas_mac\\.cc$'],
932 ['exclude', 'ext/platform_canvas_linux\\.cc$'], 935 ['exclude', 'ext/platform_canvas_linux\\.cc$'],
933 ['exclude', 'ext/platform_canvas_win\\.cc$'], 936 ['exclude', 'ext/platform_canvas_win\\.cc$'],
934 ], 937 ],
935 }, { # use_aura == 0 and use_canvas_skia == 1 938 }, { # use_aura == 0 and use_canvas_skia == 1
936 'sources/': [ ['exclude', 'ext/platform_canvas_skia\\.cc$'] ], 939 'sources/': [ ['exclude', 'ext/platform_canvas_skia\\.cc$'] ],
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
974 'include_dirs': [ 977 'include_dirs': [
975 '../third_party/expat/files/lib', 978 '../third_party/expat/files/lib',
976 ], 979 ],
977 'sources/': [ 980 'sources/': [
978 ['include', 'ext/platform_device_linux\\.cc$'], 981 ['include', 'ext/platform_device_linux\\.cc$'],
979 ['include', 'ext/platform_canvas_linux\\.cc$'], 982 ['include', 'ext/platform_canvas_linux\\.cc$'],
980 ], 983 ],
981 'sources!': [ 984 'sources!': [
982 'ext/vector_platform_device_skia.cc', 985 'ext/vector_platform_device_skia.cc',
983 '../third_party/skia/src/pdf/SkPDFFont.cpp', 986 '../third_party/skia/src/pdf/SkPDFFont.cpp',
987 '../third_party/skia/src/ports/SkFontHost_gamma_none.cpp',
984 ], 988 ],
985 'export_dependent_settings': [ 989 'export_dependent_settings': [
986 '../third_party/harfbuzz/harfbuzz.gyp:harfbuzz', 990 '../third_party/harfbuzz/harfbuzz.gyp:harfbuzz',
987 ], 991 ],
988 }], 992 }],
989 [ '_toolset == "target" and android_build_type == 0', { 993 [ '_toolset == "target" and android_build_type == 0', {
990 'defines': [ 994 'defines': [
991 'HAVE_ENDIAN_H', 995 'HAVE_ENDIAN_H',
992 ], 996 ],
993 }], 997 }],
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
1083 'skia_opts', 1087 'skia_opts',
1084 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyn amic_annotations', 1088 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyn amic_annotations',
1085 '../third_party/sfntly/sfntly.gyp:sfntly', 1089 '../third_party/sfntly/sfntly.gyp:sfntly',
1086 '../third_party/zlib/zlib.gyp:zlib', 1090 '../third_party/zlib/zlib.gyp:zlib',
1087 ], 1091 ],
1088 }], 1092 }],
1089 ], 1093 ],
1090 'direct_dependent_settings': { 1094 'direct_dependent_settings': {
1091 'include_dirs': [ 1095 'include_dirs': [
1092 'config', 1096 '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 '../src/opts/SkBitmapProcState_matrixProcs_neon.cpp',
1262 '../src/opts/SkBitmapProcState_matrix_clamp_neon.h',
1263 '../src/opts/SkBitmapProcState_matrix_repeat_neon.h',
1264 ], 1261 ],
1265 }], 1262 }],
1266 [ 'target_arch == "arm" and armv7 != 1', { 1263 [ 'target_arch == "arm" and armv7 != 1', {
1267 'sources': [ 1264 'sources': [
1268 '../third_party/skia/src/opts/SkBlitRow_opts_none.cpp', 1265 '../third_party/skia/src/opts/SkBlitRow_opts_none.cpp',
1269 ], 1266 ],
1270 'sources!': [ 1267 'sources!': [
1271 '../third_party/skia/src/opts/SkBlitRow_opts_arm.cpp', 1268 '../third_party/skia/src/opts/SkBlitRow_opts_arm.cpp',
1272 ], 1269 ],
1273 }], 1270 }],
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
1334 ], 1331 ],
1335 'include_dirs': [ 1332 'include_dirs': [
1336 '..', 1333 '..',
1337 ], 1334 ],
1338 'sources': [ 1335 'sources': [
1339 'ext/image_operations_bench.cc', 1336 'ext/image_operations_bench.cc',
1340 ], 1337 ],
1341 }, 1338 },
1342 ], 1339 ],
1343 } 1340 }
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