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 |
12 #'../third_party/skia/src/animator/SkAnimate.h', | 90 #'../third_party/skia/src/animator/SkAnimate.h', |
13 #'../third_party/skia/src/animator/SkAnimateActive.cpp', | 91 #'../third_party/skia/src/animator/SkAnimateActive.cpp', |
14 #'../third_party/skia/src/animator/SkAnimateActive.h', | 92 #'../third_party/skia/src/animator/SkAnimateActive.h', |
15 #'../third_party/skia/src/animator/SkAnimateBase.cpp', | 93 #'../third_party/skia/src/animator/SkAnimateBase.cpp', |
16 #'../third_party/skia/src/animator/SkAnimateBase.h', | 94 #'../third_party/skia/src/animator/SkAnimateBase.h', |
17 #'../third_party/skia/src/animator/SkAnimateField.cpp', | 95 #'../third_party/skia/src/animator/SkAnimateField.cpp', |
18 #'../third_party/skia/src/animator/SkAnimateMaker.cpp', | 96 #'../third_party/skia/src/animator/SkAnimateMaker.cpp', |
19 #'../third_party/skia/src/animator/SkAnimateMaker.h', | 97 #'../third_party/skia/src/animator/SkAnimateMaker.h', |
20 #'../third_party/skia/src/animator/SkAnimateProperties.h', | 98 #'../third_party/skia/src/animator/SkAnimateProperties.h', |
21 #'../third_party/skia/src/animator/SkAnimateSchema.xsd', | 99 #'../third_party/skia/src/animator/SkAnimateSchema.xsd', |
(...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
320 '../third_party/skia/src/effects/SkGradientShader.cpp', | 398 '../third_party/skia/src/effects/SkGradientShader.cpp', |
321 '../third_party/skia/src/effects/SkKernel33MaskFilter.cpp', | 399 '../third_party/skia/src/effects/SkKernel33MaskFilter.cpp', |
322 '../third_party/skia/src/effects/SkLayerDrawLooper.cpp', | 400 '../third_party/skia/src/effects/SkLayerDrawLooper.cpp', |
323 '../third_party/skia/src/effects/SkLayerRasterizer.cpp', | 401 '../third_party/skia/src/effects/SkLayerRasterizer.cpp', |
324 '../third_party/skia/src/effects/SkPaintFlagsDrawFilter.cpp', | 402 '../third_party/skia/src/effects/SkPaintFlagsDrawFilter.cpp', |
325 '../third_party/skia/src/effects/SkPorterDuff.cpp', | 403 '../third_party/skia/src/effects/SkPorterDuff.cpp', |
326 '../third_party/skia/src/effects/SkPixelXorXfermode.cpp', | 404 '../third_party/skia/src/effects/SkPixelXorXfermode.cpp', |
327 '../third_party/skia/src/effects/SkRadialGradient_Table.h', | 405 '../third_party/skia/src/effects/SkRadialGradient_Table.h', |
328 '../third_party/skia/src/effects/SkTransparentShader.cpp', | 406 '../third_party/skia/src/effects/SkTransparentShader.cpp', |
329 | 407 |
| 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 |
330 '../third_party/skia/src/images/bmpdecoderhelper.cpp', | 415 '../third_party/skia/src/images/bmpdecoderhelper.cpp', |
331 '../third_party/skia/src/images/bmpdecoderhelper.h', | 416 '../third_party/skia/src/images/bmpdecoderhelper.h', |
332 '../third_party/skia/src/images/fpdfemb.h', | 417 '../third_party/skia/src/images/fpdfemb.h', |
333 '../third_party/skia/src/images/fpdfemb_ext.h', | 418 '../third_party/skia/src/images/fpdfemb_ext.h', |
334 '../third_party/skia/src/images/SkBitmap_RLEPixels.h', | 419 '../third_party/skia/src/images/SkBitmap_RLEPixels.h', |
335 '../third_party/skia/src/images/SkCreateRLEPixelRef.cpp', | 420 '../third_party/skia/src/images/SkCreateRLEPixelRef.cpp', |
336 #'../third_party/skia/src/images/SkFDStream.cpp', | 421 #'../third_party/skia/src/images/SkFDStream.cpp', |
337 #'../third_party/skia/src/images/SkFlipPixelRef.cpp', | 422 #'../third_party/skia/src/images/SkFlipPixelRef.cpp', |
338 '../third_party/skia/src/images/SkImageDecoder.cpp', | 423 '../third_party/skia/src/images/SkImageDecoder.cpp', |
339 '../third_party/skia/src/images/SkImageDecoder_Factory.cpp', | 424 '../third_party/skia/src/images/SkImageDecoder_Factory.cpp', |
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
485 '../third_party/skia/include/effects/SkEmbossMaskFilter.h', | 570 '../third_party/skia/include/effects/SkEmbossMaskFilter.h', |
486 '../third_party/skia/include/effects/SkGradientShader.h', | 571 '../third_party/skia/include/effects/SkGradientShader.h', |
487 '../third_party/skia/include/effects/SkKernel33MaskFilter.h', | 572 '../third_party/skia/include/effects/SkKernel33MaskFilter.h', |
488 '../third_party/skia/include/effects/SkLayerDrawLooper.h', | 573 '../third_party/skia/include/effects/SkLayerDrawLooper.h', |
489 '../third_party/skia/include/effects/SkLayerRasterizer.h', | 574 '../third_party/skia/include/effects/SkLayerRasterizer.h', |
490 '../third_party/skia/include/effects/SkNWayCanvas.h', | 575 '../third_party/skia/include/effects/SkNWayCanvas.h', |
491 '../third_party/skia/include/effects/SkPaintFlagsDrawFilter.h', | 576 '../third_party/skia/include/effects/SkPaintFlagsDrawFilter.h', |
492 '../third_party/skia/include/effects/SkPixelXorXfermode.h', | 577 '../third_party/skia/include/effects/SkPixelXorXfermode.h', |
493 '../third_party/skia/include/effects/SkTransparentShader.h', | 578 '../third_party/skia/include/effects/SkTransparentShader.h', |
494 | 579 |
| 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 |
495 '../third_party/skia/include/ports/SkStream_Win.h', | 586 '../third_party/skia/include/ports/SkStream_Win.h', |
496 | 587 |
497 '../third_party/skia/include/images/SkFlipPixelRef.h', | 588 '../third_party/skia/include/images/SkFlipPixelRef.h', |
498 '../third_party/skia/include/images/SkImageDecoder.h', | 589 '../third_party/skia/include/images/SkImageDecoder.h', |
499 '../third_party/skia/include/images/SkImageEncoder.h', | 590 '../third_party/skia/include/images/SkImageEncoder.h', |
500 '../third_party/skia/include/images/SkImageRef.h', | 591 '../third_party/skia/include/images/SkImageRef.h', |
501 '../third_party/skia/include/images/SkImageRef_GlobalPool.h', | 592 '../third_party/skia/include/images/SkImageRef_GlobalPool.h', |
502 '../third_party/skia/include/images/SkMovie.h', | 593 '../third_party/skia/include/images/SkMovie.h', |
503 '../third_party/skia/include/images/SkPageFlipper.h', | 594 '../third_party/skia/include/images/SkPageFlipper.h', |
504 | 595 |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
543 'ext/vector_platform_device_linux.h', | 634 'ext/vector_platform_device_linux.h', |
544 'ext/vector_platform_device_win.cc', | 635 'ext/vector_platform_device_win.cc', |
545 'ext/vector_platform_device_win.h', | 636 'ext/vector_platform_device_win.h', |
546 ], | 637 ], |
547 'include_dirs': [ | 638 'include_dirs': [ |
548 '..', | 639 '..', |
549 'config', | 640 'config', |
550 '../third_party/skia/include/config', | 641 '../third_party/skia/include/config', |
551 '../third_party/skia/include/core', | 642 '../third_party/skia/include/core', |
552 '../third_party/skia/include/effects', | 643 '../third_party/skia/include/effects', |
| 644 '../third_party/skia/include/gpu', |
553 '../third_party/skia/include/images', | 645 '../third_party/skia/include/images', |
554 '../third_party/skia/include/utils', | 646 '../third_party/skia/include/utils', |
| 647 '../third_party/skia/gpu/include', |
| 648 '../third_party/skia/gpu/src', |
555 '../third_party/skia/src/core', | 649 '../third_party/skia/src/core', |
| 650 |
| 651 '../gpu', |
556 ], | 652 ], |
557 'msvs_disabled_warnings': [4244, 4267,4345, 4390, 4554, 4800], | 653 'msvs_disabled_warnings': [4244, 4267,4345, 4390, 4554, 4800], |
558 'mac_framework_dirs': [ | 654 'mac_framework_dirs': [ |
559 '$(SDKROOT)/System/Library/Frameworks/ApplicationServices.framework/Fram
eworks', | 655 '$(SDKROOT)/System/Library/Frameworks/ApplicationServices.framework/Fram
eworks', |
560 ], | 656 ], |
561 'defines': [ | 657 'defines': [ |
562 'SK_BUILD_NO_IMAGE_ENCODE', | 658 'SK_BUILD_NO_IMAGE_ENCODE', |
| 659 'GR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"', |
| 660 'GR_SKIP_2POINTRADIAL_PROGRAMS', |
563 ], | 661 ], |
564 'sources!': [ | 662 'sources!': [ |
565 '../third_party/skia/include/core/SkTypes.h', | 663 '../third_party/skia/include/core/SkTypes.h', |
566 ], | 664 ], |
567 'conditions': [ | 665 'conditions': [ |
568 [ 'OS != "mac"', { | 666 [ 'OS != "mac"', { |
569 'sources/': [ | 667 'sources/': [ |
570 ['exclude', '_mac\\.(cc|cpp|mm?)$'], | 668 ['exclude', '_mac\\.(cc|cpp|mm?)$'], |
571 ['exclude', '/mac/'] ], | 669 ['exclude', '/mac/'] ], |
572 }], | 670 }], |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
606 'SK_RESTRICT=', | 704 'SK_RESTRICT=', |
607 ], | 705 ], |
608 }], | 706 }], |
609 [ 'OS == "linux" or OS == "freebsd" or OS == "openbsd" or OS == "solaris
"', { | 707 [ 'OS == "linux" or OS == "freebsd" or OS == "openbsd" or OS == "solaris
"', { |
610 'dependencies': [ | 708 'dependencies': [ |
611 '../build/linux/system.gyp:gdk', | 709 '../build/linux/system.gyp:gdk', |
612 '../build/linux/system.gyp:fontconfig', | 710 '../build/linux/system.gyp:fontconfig', |
613 '../build/linux/system.gyp:freetype2', | 711 '../build/linux/system.gyp:freetype2', |
614 '../third_party/harfbuzz/harfbuzz.gyp:harfbuzz', | 712 '../third_party/harfbuzz/harfbuzz.gyp:harfbuzz', |
615 '../third_party/icu/icu.gyp:icuuc', | 713 '../third_party/icu/icu.gyp:icuuc', |
| 714 '../gpu/gpu.gyp:gles2_c_lib', |
616 ], | 715 ], |
617 'cflags': [ | 716 'cflags': [ |
618 '-Wno-unused', | 717 '-Wno-unused', |
619 '-Wno-unused-function', | 718 '-Wno-unused-function', |
620 ], | 719 ], |
621 'sources': [ | 720 'sources': [ |
622 'ext/SkFontHost_fontconfig.cpp', | 721 'ext/SkFontHost_fontconfig.cpp', |
623 'ext/SkFontHost_fontconfig_direct.cpp', | 722 'ext/SkFontHost_fontconfig_direct.cpp', |
624 '../third_party/skia/src/core/SkBlitter_ARGB32_Subpixel.cpp', | 723 '../third_party/skia/src/core/SkBlitter_ARGB32_Subpixel.cpp', |
625 '../third_party/skia/src/ports/SkFontHost_FreeType_Subpixel.cpp', | 724 '../third_party/skia/src/ports/SkFontHost_FreeType_Subpixel.cpp', |
(...skipping 29 matching lines...) Expand all Loading... |
655 ], | 754 ], |
656 'dependencies': [ | 755 'dependencies': [ |
657 'skia_opts' | 756 'skia_opts' |
658 ], | 757 ], |
659 'direct_dependent_settings': { | 758 'direct_dependent_settings': { |
660 'include_dirs': [ | 759 'include_dirs': [ |
661 'config', | 760 'config', |
662 '../third_party/skia/include/config', | 761 '../third_party/skia/include/config', |
663 '../third_party/skia/include/core', | 762 '../third_party/skia/include/core', |
664 '../third_party/skia/include/effects', | 763 '../third_party/skia/include/effects', |
| 764 '../third_party/skia/include/gpu', |
| 765 '../third_party/skia/gpu/include', |
665 'ext', | 766 'ext', |
666 ], | 767 ], |
667 'mac_framework_dirs': [ | 768 'mac_framework_dirs': [ |
668 '$(SDKROOT)/System/Library/Frameworks/ApplicationServices.framework/Fr
ameworks', | 769 '$(SDKROOT)/System/Library/Frameworks/ApplicationServices.framework/Fr
ameworks', |
669 ], | 770 ], |
670 }, | 771 }, |
671 }, | 772 }, |
672 | 773 |
673 # Due to an unfortunate intersection of lameness between gcc and gyp, | 774 # Due to an unfortunate intersection of lameness between gcc and gyp, |
674 # we have to build the *_SSE2.cpp files in a separate target. The | 775 # we have to build the *_SSE2.cpp files in a separate target. The |
675 # gcc lameness is that, in order to compile SSE2 intrinsics code, it | 776 # gcc lameness is that, in order to compile SSE2 intrinsics code, it |
676 # must be passed the -msse2 flag. However, with this flag, it may | 777 # must be passed the -msse2 flag. However, with this flag, it may |
677 # emit SSE2 instructions even for scalar code, such as the CPUID | 778 # emit SSE2 instructions even for scalar code, such as the CPUID |
678 # test used to test for the presence of SSE2. So that, and all other | 779 # test used to test for the presence of SSE2. So that, and all other |
679 # code must be compiled *without* -msse2. The gyp lameness is that it | 780 # code must be compiled *without* -msse2. The gyp lameness is that it |
680 # does not allow file-specific CFLAGS, so we must create this extra | 781 # does not allow file-specific CFLAGS, so we must create this extra |
681 # target for those files to be compiled with -msse2. | 782 # target for those files to be compiled with -msse2. |
682 # | 783 # |
683 # This is actually only a problem on 32-bit Linux (all Intel Macs have | 784 # This is actually only a problem on 32-bit Linux (all Intel Macs have |
684 # SSE2, Linux x86_64 has SSE2 by definition, and MSC will happily emit | 785 # SSE2, Linux x86_64 has SSE2 by definition, and MSC will happily emit |
685 # SSE2 from instrinsics, which generating plain ol' 386 for everything | 786 # SSE2 from instrinsics, which generating plain ol' 386 for everything |
686 # else). However, to keep the .gyp file simple and avoid platform-specific | 787 # 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... |
741 ], | 842 ], |
742 }, | 843 }, |
743 ], | 844 ], |
744 } | 845 } |
745 | 846 |
746 # Local Variables: | 847 # Local Variables: |
747 # tab-width:2 | 848 # tab-width:2 |
748 # indent-tabs-mode:nil | 849 # indent-tabs-mode:nil |
749 # End: | 850 # End: |
750 # vim: set expandtab tabstop=2 shiftwidth=2: | 851 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |