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', | |
Nico
2011/01/19 21:07:27
indent is too big
| |
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', | |
Nico
2011/01/19 21:07:27
Why does skia need to depend on chrome's gpu direc
| |
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 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
655 ], | 753 ], |
656 'dependencies': [ | 754 'dependencies': [ |
657 'skia_opts' | 755 'skia_opts' |
658 ], | 756 ], |
659 'direct_dependent_settings': { | 757 'direct_dependent_settings': { |
660 'include_dirs': [ | 758 'include_dirs': [ |
661 'config', | 759 'config', |
662 '../third_party/skia/include/config', | 760 '../third_party/skia/include/config', |
663 '../third_party/skia/include/core', | 761 '../third_party/skia/include/core', |
664 '../third_party/skia/include/effects', | 762 '../third_party/skia/include/effects', |
763 '../third_party/skia/include/gpu', | |
764 '../third_party/skia/gpu/include', | |
Nico
2011/01/19 21:07:27
indent too big
| |
665 'ext', | 765 'ext', |
666 ], | 766 ], |
667 'mac_framework_dirs': [ | 767 'mac_framework_dirs': [ |
668 '$(SDKROOT)/System/Library/Frameworks/ApplicationServices.framework/Fr ameworks', | 768 '$(SDKROOT)/System/Library/Frameworks/ApplicationServices.framework/Fr ameworks', |
669 ], | 769 ], |
670 }, | 770 }, |
671 }, | 771 }, |
672 | 772 |
673 # Due to an unfortunate intersection of lameness between gcc and gyp, | 773 # 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 | 774 # 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 | 775 # 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 | 776 # must be passed the -msse2 flag. However, with this flag, it may |
677 # emit SSE2 instructions even for scalar code, such as the CPUID | 777 # 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 | 778 # 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 | 779 # 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 | 780 # does not allow file-specific CFLAGS, so we must create this extra |
681 # target for those files to be compiled with -msse2. | 781 # target for those files to be compiled with -msse2. |
682 # | 782 # |
683 # This is actually only a problem on 32-bit Linux (all Intel Macs have | 783 # 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 | 784 # SSE2, Linux x86_64 has SSE2 by definition, and MSC will happily emit |
685 # SSE2 from instrinsics, which generating plain ol' 386 for everything | 785 # SSE2 from instrinsics, which generating plain ol' 386 for everything |
686 # else). However, to keep the .gyp file simple and avoid platform-specific | 786 # 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 ], | 841 ], |
742 }, | 842 }, |
743 ], | 843 ], |
744 } | 844 } |
745 | 845 |
746 # Local Variables: | 846 # Local Variables: |
747 # tab-width:2 | 847 # tab-width:2 |
748 # indent-tabs-mode:nil | 848 # indent-tabs-mode:nil |
749 # End: | 849 # End: |
750 # vim: set expandtab tabstop=2 shiftwidth=2: | 850 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |