OLD | NEW |
1 # Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2010 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': '<(library)', | 9 'type': '<(library)', |
10 'msvs_guid': 'CD9CA56E-4E94-444C-87D4-58CA1E6F300D', | 10 'msvs_guid': 'CD9CA56E-4E94-444C-87D4-58CA1E6F300D', |
11 'sources': [ | 11 'sources': [ |
12 '../third_party/skia/gpu/src/GrAllocPool.cpp', | |
13 '../third_party/skia/gpu/src/GrAtlas.cpp', | |
14 '../third_party/skia/gpu/src/GrClip.cpp', | |
15 '../third_party/skia/gpu/src/GrContext.cpp', | |
16 '../third_party/skia/gpu/src/GrDrawTarget.cpp', | |
17 '../third_party/skia/gpu/src/GrGLIndexBuffer.cpp', | |
18 '../third_party/skia/gpu/src/GrGLTexture.cpp', | |
19 '../third_party/skia/gpu/src/GrGLUtil.cpp', | |
20 '../third_party/skia/gpu/src/GrGLVertexBuffer.cpp', | |
21 '../third_party/skia/gpu/src/GrGpu.cpp', | |
22 '../third_party/skia/gpu/src/GrGpuGLShaders.cpp', | |
23 '../third_party/skia/gpu/src/GrGpuGLShaders.h', | |
24 '../third_party/skia/gpu/src/GrGpuFactory.cpp', | |
25 '../third_party/skia/gpu/src/GrGpuGL.cpp', | |
26 '../third_party/skia/gpu/src/GrGpuGL.h', | |
27 '../third_party/skia/gpu/src/GrInOrderDrawBuffer.cpp', | |
28 '../third_party/skia/gpu/src/GrMatrix.cpp', | |
29 '../third_party/skia/gpu/src/GrMemory.cpp', | |
30 '../third_party/skia/gpu/src/GrPath.cpp', | |
31 '../third_party/skia/gpu/src/GrRectanizer_fifo.cpp', | |
32 '../third_party/skia/gpu/src/GrTextureCache.cpp', | |
33 '../third_party/skia/gpu/src/GrTextContext.cpp', | |
34 '../third_party/skia/gpu/src/GrTextStrike.cpp', | |
35 '../third_party/skia/gpu/src/GrTextStrike_impl.h', | |
36 '../third_party/skia/gpu/src/GrVertexBufferAllocPool.cpp', | |
37 | |
38 '../third_party/skia/gpu/include/GrAllocPool.h', | |
39 '../third_party/skia/gpu/include/GrAllocator.h', | |
40 '../third_party/skia/gpu/include/GrAtlas.h', | |
41 '../third_party/skia/gpu/include/GrClip.h', | |
42 '../third_party/skia/gpu/include/GrClipIterator.h', | |
43 '../third_party/skia/gpu/include/GrColor.h', | |
44 '../third_party/skia/gpu/include/GrConfig.h', | |
45 '../third_party/skia/gpu/include/GrContext.h', | |
46 '../third_party/skia/gpu/include/GrDrawTarget.h', | |
47 '../third_party/skia/gpu/include/GrFontScaler.h', | |
48 '../third_party/skia/gpu/include/GrGLConfig.h', | |
49 '../third_party/skia/gpu/include/GrGLIndexBuffer.h', | |
50 '../third_party/skia/gpu/include/GrGLTexture.h', | |
51 '../third_party/skia/gpu/include/GrGLVertexBuffer.h', | |
52 '../third_party/skia/gpu/include/GrGlyph.h', | |
53 '../third_party/skia/gpu/include/GrGpu.h', | |
54 '../third_party/skia/gpu/include/GrGpuVertex.h', | |
55 '../third_party/skia/gpu/include/GrIPoint.h', | |
56 '../third_party/skia/gpu/include/GrInOrderDrawBuffer.h', | |
57 '../third_party/skia/gpu/include/GrIndexBuffer.h', | |
58 '../third_party/skia/gpu/include/GrInstanceCounter.h', | |
59 '../third_party/skia/gpu/include/GrKey.h', | |
60 '../third_party/skia/gpu/include/GrMatrix.h', | |
61 '../third_party/skia/gpu/include/GrMemory.h', | |
62 '../third_party/skia/gpu/include/GrMesh.h', | |
63 '../third_party/skia/gpu/include/GrNoncopyable.h', | |
64 '../third_party/skia/gpu/include/GrPath.h', | |
65 '../third_party/skia/gpu/include/GrPathIter.h', | |
66 '../third_party/skia/gpu/include/GrPathSink.h', | |
67 '../third_party/skia/gpu/include/GrPoint.h', | |
68 '../third_party/skia/gpu/include/GrRandom.h', | |
69 '../third_party/skia/gpu/include/GrRect.h', | |
70 '../third_party/skia/gpu/include/GrRectanizer.h', | |
71 '../third_party/skia/gpu/include/GrRefCnt.h', | |
72 '../third_party/skia/gpu/include/GrSamplerState.h', | |
73 '../third_party/skia/gpu/include/GrScalar.h', | |
74 '../third_party/skia/gpu/include/GrStopwatch.h', | |
75 '../third_party/skia/gpu/include/GrStringBuilder.h', | |
76 '../third_party/skia/gpu/include/GrTArray.h', | |
77 '../third_party/skia/gpu/include/GrTBSearch.h', | |
78 '../third_party/skia/gpu/include/GrTDArray.h', | |
79 '../third_party/skia/gpu/include/GrTHashCache.h', | |
80 '../third_party/skia/gpu/include/GrTLList.h', | |
81 '../third_party/skia/gpu/include/GrTextContext.h', | |
82 '../third_party/skia/gpu/include/GrTextStrike.h', | |
83 '../third_party/skia/gpu/include/GrTexture.h', | |
84 '../third_party/skia/gpu/include/GrTextureCache.h', | |
85 '../third_party/skia/gpu/include/GrTypes.h', | |
86 '../third_party/skia/gpu/include/GrUserConfig.h', | |
87 '../third_party/skia/gpu/include/GrVertexBuffer.h', | |
88 '../third_party/skia/gpu/include/GrVertexBufferAllocPool.h', | |
89 | |
90 #'../third_party/skia/src/animator/SkAnimate.h', | 12 #'../third_party/skia/src/animator/SkAnimate.h', |
91 #'../third_party/skia/src/animator/SkAnimateActive.cpp', | 13 #'../third_party/skia/src/animator/SkAnimateActive.cpp', |
92 #'../third_party/skia/src/animator/SkAnimateActive.h', | 14 #'../third_party/skia/src/animator/SkAnimateActive.h', |
93 #'../third_party/skia/src/animator/SkAnimateBase.cpp', | 15 #'../third_party/skia/src/animator/SkAnimateBase.cpp', |
94 #'../third_party/skia/src/animator/SkAnimateBase.h', | 16 #'../third_party/skia/src/animator/SkAnimateBase.h', |
95 #'../third_party/skia/src/animator/SkAnimateField.cpp', | 17 #'../third_party/skia/src/animator/SkAnimateField.cpp', |
96 #'../third_party/skia/src/animator/SkAnimateMaker.cpp', | 18 #'../third_party/skia/src/animator/SkAnimateMaker.cpp', |
97 #'../third_party/skia/src/animator/SkAnimateMaker.h', | 19 #'../third_party/skia/src/animator/SkAnimateMaker.h', |
98 #'../third_party/skia/src/animator/SkAnimateProperties.h', | 20 #'../third_party/skia/src/animator/SkAnimateProperties.h', |
99 #'../third_party/skia/src/animator/SkAnimateSchema.xsd', | 21 #'../third_party/skia/src/animator/SkAnimateSchema.xsd', |
(...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
398 '../third_party/skia/src/effects/SkGradientShader.cpp', | 320 '../third_party/skia/src/effects/SkGradientShader.cpp', |
399 '../third_party/skia/src/effects/SkKernel33MaskFilter.cpp', | 321 '../third_party/skia/src/effects/SkKernel33MaskFilter.cpp', |
400 '../third_party/skia/src/effects/SkLayerDrawLooper.cpp', | 322 '../third_party/skia/src/effects/SkLayerDrawLooper.cpp', |
401 '../third_party/skia/src/effects/SkLayerRasterizer.cpp', | 323 '../third_party/skia/src/effects/SkLayerRasterizer.cpp', |
402 '../third_party/skia/src/effects/SkPaintFlagsDrawFilter.cpp', | 324 '../third_party/skia/src/effects/SkPaintFlagsDrawFilter.cpp', |
403 '../third_party/skia/src/effects/SkPorterDuff.cpp', | 325 '../third_party/skia/src/effects/SkPorterDuff.cpp', |
404 '../third_party/skia/src/effects/SkPixelXorXfermode.cpp', | 326 '../third_party/skia/src/effects/SkPixelXorXfermode.cpp', |
405 '../third_party/skia/src/effects/SkRadialGradient_Table.h', | 327 '../third_party/skia/src/effects/SkRadialGradient_Table.h', |
406 '../third_party/skia/src/effects/SkTransparentShader.cpp', | 328 '../third_party/skia/src/effects/SkTransparentShader.cpp', |
407 | 329 |
408 '../third_party/skia/src/gpu/SkGpuCanvas.cpp', | |
409 '../third_party/skia/src/gpu/SkGpuDevice.cpp', | |
410 '../third_party/skia/src/gpu/GrPrintf_skia.cpp', | |
411 '../third_party/skia/src/gpu/SkGrFontScaler.cpp', | |
412 '../third_party/skia/src/gpu/SkGr.cpp', | |
413 '../third_party/skia/src/gpu/SkGrTexturePixelRef.cpp', | |
414 | |
415 '../third_party/skia/src/images/bmpdecoderhelper.cpp', | 330 '../third_party/skia/src/images/bmpdecoderhelper.cpp', |
416 '../third_party/skia/src/images/bmpdecoderhelper.h', | 331 '../third_party/skia/src/images/bmpdecoderhelper.h', |
417 '../third_party/skia/src/images/fpdfemb.h', | 332 '../third_party/skia/src/images/fpdfemb.h', |
418 '../third_party/skia/src/images/fpdfemb_ext.h', | 333 '../third_party/skia/src/images/fpdfemb_ext.h', |
419 '../third_party/skia/src/images/SkBitmap_RLEPixels.h', | 334 '../third_party/skia/src/images/SkBitmap_RLEPixels.h', |
420 '../third_party/skia/src/images/SkCreateRLEPixelRef.cpp', | 335 '../third_party/skia/src/images/SkCreateRLEPixelRef.cpp', |
421 #'../third_party/skia/src/images/SkFDStream.cpp', | 336 #'../third_party/skia/src/images/SkFDStream.cpp', |
422 #'../third_party/skia/src/images/SkFlipPixelRef.cpp', | 337 #'../third_party/skia/src/images/SkFlipPixelRef.cpp', |
423 '../third_party/skia/src/images/SkImageDecoder.cpp', | 338 '../third_party/skia/src/images/SkImageDecoder.cpp', |
424 '../third_party/skia/src/images/SkImageDecoder_Factory.cpp', | 339 '../third_party/skia/src/images/SkImageDecoder_Factory.cpp', |
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
570 '../third_party/skia/include/effects/SkEmbossMaskFilter.h', | 485 '../third_party/skia/include/effects/SkEmbossMaskFilter.h', |
571 '../third_party/skia/include/effects/SkGradientShader.h', | 486 '../third_party/skia/include/effects/SkGradientShader.h', |
572 '../third_party/skia/include/effects/SkKernel33MaskFilter.h', | 487 '../third_party/skia/include/effects/SkKernel33MaskFilter.h', |
573 '../third_party/skia/include/effects/SkLayerDrawLooper.h', | 488 '../third_party/skia/include/effects/SkLayerDrawLooper.h', |
574 '../third_party/skia/include/effects/SkLayerRasterizer.h', | 489 '../third_party/skia/include/effects/SkLayerRasterizer.h', |
575 '../third_party/skia/include/effects/SkNWayCanvas.h', | 490 '../third_party/skia/include/effects/SkNWayCanvas.h', |
576 '../third_party/skia/include/effects/SkPaintFlagsDrawFilter.h', | 491 '../third_party/skia/include/effects/SkPaintFlagsDrawFilter.h', |
577 '../third_party/skia/include/effects/SkPixelXorXfermode.h', | 492 '../third_party/skia/include/effects/SkPixelXorXfermode.h', |
578 '../third_party/skia/include/effects/SkTransparentShader.h', | 493 '../third_party/skia/include/effects/SkTransparentShader.h', |
579 | 494 |
580 '../third_party/skia/include/gpu/SkGpuCanvas.h', | |
581 '../third_party/skia/include/gpu/SkGpuDevice.h', | |
582 '../third_party/skia/include/gpu/SkGpuDeviceFactory.h', | |
583 '../third_party/skia/include/gpu/SkGr.h', | |
584 '../third_party/skia/include/gpu/SkGrTexturePixelRef.h', | |
585 | |
586 '../third_party/skia/include/ports/SkStream_Win.h', | 495 '../third_party/skia/include/ports/SkStream_Win.h', |
587 | 496 |
588 '../third_party/skia/include/images/SkFlipPixelRef.h', | 497 '../third_party/skia/include/images/SkFlipPixelRef.h', |
589 '../third_party/skia/include/images/SkImageDecoder.h', | 498 '../third_party/skia/include/images/SkImageDecoder.h', |
590 '../third_party/skia/include/images/SkImageEncoder.h', | 499 '../third_party/skia/include/images/SkImageEncoder.h', |
591 '../third_party/skia/include/images/SkImageRef.h', | 500 '../third_party/skia/include/images/SkImageRef.h', |
592 '../third_party/skia/include/images/SkImageRef_GlobalPool.h', | 501 '../third_party/skia/include/images/SkImageRef_GlobalPool.h', |
593 '../third_party/skia/include/images/SkMovie.h', | 502 '../third_party/skia/include/images/SkMovie.h', |
594 '../third_party/skia/include/images/SkPageFlipper.h', | 503 '../third_party/skia/include/images/SkPageFlipper.h', |
595 | 504 |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
634 'ext/vector_platform_device_linux.h', | 543 'ext/vector_platform_device_linux.h', |
635 'ext/vector_platform_device_win.cc', | 544 'ext/vector_platform_device_win.cc', |
636 'ext/vector_platform_device_win.h', | 545 'ext/vector_platform_device_win.h', |
637 ], | 546 ], |
638 'include_dirs': [ | 547 'include_dirs': [ |
639 '..', | 548 '..', |
640 'config', | 549 'config', |
641 '../third_party/skia/include/config', | 550 '../third_party/skia/include/config', |
642 '../third_party/skia/include/core', | 551 '../third_party/skia/include/core', |
643 '../third_party/skia/include/effects', | 552 '../third_party/skia/include/effects', |
644 '../third_party/skia/include/gpu', | |
645 '../third_party/skia/include/images', | 553 '../third_party/skia/include/images', |
646 '../third_party/skia/include/utils', | 554 '../third_party/skia/include/utils', |
647 '../third_party/skia/gpu/include', | |
648 '../third_party/skia/gpu/src', | |
649 '../third_party/skia/src/core', | 555 '../third_party/skia/src/core', |
650 | |
651 '../gpu', | |
652 ], | 556 ], |
653 'msvs_disabled_warnings': [4244, 4267,4345, 4390, 4554, 4800], | 557 'msvs_disabled_warnings': [4244, 4267,4345, 4390, 4554, 4800], |
654 'mac_framework_dirs': [ | 558 'mac_framework_dirs': [ |
655 '$(SDKROOT)/System/Library/Frameworks/ApplicationServices.framework/Fram
eworks', | 559 '$(SDKROOT)/System/Library/Frameworks/ApplicationServices.framework/Fram
eworks', |
656 ], | 560 ], |
657 'defines': [ | 561 'defines': [ |
658 'SK_BUILD_NO_IMAGE_ENCODE', | 562 'SK_BUILD_NO_IMAGE_ENCODE', |
659 'GR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"', | |
660 'GR_SKIP_2POINTRADIAL_PROGRAMS', | |
661 ], | 563 ], |
662 'sources!': [ | 564 'sources!': [ |
663 '../third_party/skia/include/core/SkTypes.h', | 565 '../third_party/skia/include/core/SkTypes.h', |
664 ], | 566 ], |
665 'conditions': [ | 567 'conditions': [ |
666 [ 'OS != "mac"', { | 568 [ 'OS != "mac"', { |
667 'sources/': [ | 569 'sources/': [ |
668 ['exclude', '_mac\\.(cc|cpp|mm?)$'], | 570 ['exclude', '_mac\\.(cc|cpp|mm?)$'], |
669 ['exclude', '/mac/'] ], | 571 ['exclude', '/mac/'] ], |
670 }], | 572 }], |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
753 ], | 655 ], |
754 'dependencies': [ | 656 'dependencies': [ |
755 'skia_opts' | 657 'skia_opts' |
756 ], | 658 ], |
757 'direct_dependent_settings': { | 659 'direct_dependent_settings': { |
758 'include_dirs': [ | 660 'include_dirs': [ |
759 'config', | 661 'config', |
760 '../third_party/skia/include/config', | 662 '../third_party/skia/include/config', |
761 '../third_party/skia/include/core', | 663 '../third_party/skia/include/core', |
762 '../third_party/skia/include/effects', | 664 '../third_party/skia/include/effects', |
763 '../third_party/skia/include/gpu', | |
764 '../third_party/skia/gpu/include', | |
765 'ext', | 665 'ext', |
766 ], | 666 ], |
767 'mac_framework_dirs': [ | 667 'mac_framework_dirs': [ |
768 '$(SDKROOT)/System/Library/Frameworks/ApplicationServices.framework/Fr
ameworks', | 668 '$(SDKROOT)/System/Library/Frameworks/ApplicationServices.framework/Fr
ameworks', |
769 ], | 669 ], |
770 }, | 670 }, |
771 }, | 671 }, |
772 | 672 |
773 # Due to an unfortunate intersection of lameness between gcc and gyp, | 673 # Due to an unfortunate intersection of lameness between gcc and gyp, |
774 # we have to build the *_SSE2.cpp files in a separate target. The | 674 # we have to build the *_SSE2.cpp files in a separate target. The |
775 # gcc lameness is that, in order to compile SSE2 intrinsics code, it | 675 # gcc lameness is that, in order to compile SSE2 intrinsics code, it |
776 # must be passed the -msse2 flag. However, with this flag, it may | 676 # must be passed the -msse2 flag. However, with this flag, it may |
777 # emit SSE2 instructions even for scalar code, such as the CPUID | 677 # emit SSE2 instructions even for scalar code, such as the CPUID |
778 # test used to test for the presence of SSE2. So that, and all other | 678 # test used to test for the presence of SSE2. So that, and all other |
779 # code must be compiled *without* -msse2. The gyp lameness is that it | 679 # code must be compiled *without* -msse2. The gyp lameness is that it |
780 # does not allow file-specific CFLAGS, so we must create this extra | 680 # does not allow file-specific CFLAGS, so we must create this extra |
781 # target for those files to be compiled with -msse2. | 681 # target for those files to be compiled with -msse2. |
782 # | 682 # |
783 # This is actually only a problem on 32-bit Linux (all Intel Macs have | 683 # This is actually only a problem on 32-bit Linux (all Intel Macs have |
784 # SSE2, Linux x86_64 has SSE2 by definition, and MSC will happily emit | 684 # SSE2, Linux x86_64 has SSE2 by definition, and MSC will happily emit |
785 # SSE2 from instrinsics, which generating plain ol' 386 for everything | 685 # SSE2 from instrinsics, which generating plain ol' 386 for everything |
786 # else). However, to keep the .gyp file simple and avoid platform-specific | 686 # else). However, to keep the .gyp file simple and avoid platform-specific |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
841 ], | 741 ], |
842 }, | 742 }, |
843 ], | 743 ], |
844 } | 744 } |
845 | 745 |
846 # Local Variables: | 746 # Local Variables: |
847 # tab-width:2 | 747 # tab-width:2 |
848 # indent-tabs-mode:nil | 748 # indent-tabs-mode:nil |
849 # End: | 749 # End: |
850 # vim: set expandtab tabstop=2 shiftwidth=2: | 750 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |