OLD | NEW |
1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2011 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', | 12 '../third_party/skia/gpu/src/GrAllocPool.cpp', |
13 '../third_party/skia/gpu/src/GrAtlas.cpp', | 13 '../third_party/skia/gpu/src/GrAtlas.cpp', |
14 '../third_party/skia/gpu/src/GrBufferAllocPool.cpp', | 14 '../third_party/skia/gpu/src/GrBufferAllocPool.cpp', |
15 '../third_party/skia/gpu/src/GrBufferAllocPool.h', | 15 '../third_party/skia/gpu/src/GrBufferAllocPool.h', |
16 '../third_party/skia/gpu/src/GrClip.cpp', | 16 '../third_party/skia/gpu/src/GrClip.cpp', |
17 '../third_party/skia/gpu/src/GrContext.cpp', | 17 '../third_party/skia/gpu/src/GrContext.cpp', |
18 '../third_party/skia/gpu/src/GrDrawTarget.cpp', | 18 '../third_party/skia/gpu/src/GrDrawTarget.cpp', |
19 '../third_party/skia/gpu/src/GrGLIndexBuffer.cpp', | 19 '../third_party/skia/gpu/src/GrGLIndexBuffer.cpp', |
20 '../third_party/skia/gpu/src/GrGLTexture.cpp', | 20 '../third_party/skia/gpu/src/GrGLTexture.cpp', |
21 '../third_party/skia/gpu/src/GrGLUtil.cpp', | 21 '../third_party/skia/gpu/src/GrGLUtil.cpp', |
22 '../third_party/skia/gpu/src/GrGLVertexBuffer.cpp', | 22 '../third_party/skia/gpu/src/GrGLVertexBuffer.cpp', |
23 '../third_party/skia/gpu/src/GrGpu.cpp', | 23 '../third_party/skia/gpu/src/GrGpu.cpp', |
24 '../third_party/skia/gpu/src/GrGpuGLShaders.cpp', | |
25 '../third_party/skia/gpu/src/GrGpuGLShaders.h', | 24 '../third_party/skia/gpu/src/GrGpuGLShaders.h', |
26 '../third_party/skia/gpu/src/GrGpuFactory.cpp', | 25 '../third_party/skia/gpu/src/GrGpuFactory.cpp', |
27 '../third_party/skia/gpu/src/GrGpuGL.cpp', | 26 '../third_party/skia/gpu/src/GrGpuGL.cpp', |
28 '../third_party/skia/gpu/src/GrGpuGL.h', | 27 '../third_party/skia/gpu/src/GrGpuGL.h', |
29 '../third_party/skia/gpu/src/GrInOrderDrawBuffer.cpp', | 28 '../third_party/skia/gpu/src/GrInOrderDrawBuffer.cpp', |
30 '../third_party/skia/gpu/src/GrMatrix.cpp', | 29 '../third_party/skia/gpu/src/GrMatrix.cpp', |
31 '../third_party/skia/gpu/src/GrMemory.cpp', | 30 '../third_party/skia/gpu/src/GrMemory.cpp', |
32 '../third_party/skia/gpu/src/GrPath.cpp', | 31 '../third_party/skia/gpu/src/GrPath.cpp', |
33 '../third_party/skia/gpu/src/GrRectanizer_fifo.cpp', | 32 '../third_party/skia/gpu/src/GrRectanizer_fifo.cpp', |
34 '../third_party/skia/gpu/src/GrGpuGLShaders2.cpp', | 33 '../third_party/skia/gpu/src/GrGpuGLShaders2.cpp', |
(...skipping 625 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
660 '../gpu', | 659 '../gpu', |
661 ], | 660 ], |
662 'msvs_disabled_warnings': [4244, 4267,4345, 4390, 4554, 4800], | 661 'msvs_disabled_warnings': [4244, 4267,4345, 4390, 4554, 4800], |
663 'mac_framework_dirs': [ | 662 'mac_framework_dirs': [ |
664 '$(SDKROOT)/System/Library/Frameworks/ApplicationServices.framework/Fram
eworks', | 663 '$(SDKROOT)/System/Library/Frameworks/ApplicationServices.framework/Fram
eworks', |
665 ], | 664 ], |
666 'defines': [ | 665 'defines': [ |
667 'SK_BUILD_NO_IMAGE_ENCODE', | 666 'SK_BUILD_NO_IMAGE_ENCODE', |
668 'GR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"', | 667 'GR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"', |
669 'GR_AGGRESSIVE_SHADER_OPTS=1', | 668 'GR_AGGRESSIVE_SHADER_OPTS=1', |
670 'GR_STATIC_RECT_VB=1', | |
671 'GR_SKIP_2POINTRADIAL_PROGRAMS', | |
672 ], | 669 ], |
673 'sources!': [ | 670 'sources!': [ |
674 '../third_party/skia/include/core/SkTypes.h', | 671 '../third_party/skia/include/core/SkTypes.h', |
675 ], | 672 ], |
676 'conditions': [ | 673 'conditions': [ |
677 [ 'OS != "mac"', { | 674 [ 'OS != "mac"', { |
678 'sources/': [ | 675 'sources/': [ |
679 ['exclude', '_mac\\.(cc|cpp|mm?)$'], | 676 ['exclude', '_mac\\.(cc|cpp|mm?)$'], |
680 ['exclude', '/mac/'] ], | 677 ['exclude', '/mac/'] ], |
681 }], | 678 }], |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
776 '../third_party/skia/gpu/include', | 773 '../third_party/skia/gpu/include', |
777 'ext', | 774 'ext', |
778 ], | 775 ], |
779 'mac_framework_dirs': [ | 776 'mac_framework_dirs': [ |
780 '$(SDKROOT)/System/Library/Frameworks/ApplicationServices.framework/Fr
ameworks', | 777 '$(SDKROOT)/System/Library/Frameworks/ApplicationServices.framework/Fr
ameworks', |
781 ], | 778 ], |
782 'defines': [ | 779 'defines': [ |
783 'SK_BUILD_NO_IMAGE_ENCODE', | 780 'SK_BUILD_NO_IMAGE_ENCODE', |
784 'GR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"', | 781 'GR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"', |
785 'GR_AGGRESSIVE_SHADER_OPTS=1', | 782 'GR_AGGRESSIVE_SHADER_OPTS=1', |
786 'GR_STATIC_RECT_VB=1', | |
787 'GR_SKIP_2POINTRADIAL_PROGRAMS', | |
788 ], | 783 ], |
789 }, | 784 }, |
790 }, | 785 }, |
791 | 786 |
792 # Due to an unfortunate intersection of lameness between gcc and gyp, | 787 # Due to an unfortunate intersection of lameness between gcc and gyp, |
793 # we have to build the *_SSE2.cpp files in a separate target. The | 788 # we have to build the *_SSE2.cpp files in a separate target. The |
794 # gcc lameness is that, in order to compile SSE2 intrinsics code, it | 789 # gcc lameness is that, in order to compile SSE2 intrinsics code, it |
795 # must be passed the -msse2 flag. However, with this flag, it may | 790 # must be passed the -msse2 flag. However, with this flag, it may |
796 # emit SSE2 instructions even for scalar code, such as the CPUID | 791 # emit SSE2 instructions even for scalar code, such as the CPUID |
797 # test used to test for the presence of SSE2. So that, and all other | 792 # test used to test for the presence of SSE2. So that, and all other |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
874 ], | 869 ], |
875 }, | 870 }, |
876 ], | 871 ], |
877 } | 872 } |
878 | 873 |
879 # Local Variables: | 874 # Local Variables: |
880 # tab-width:2 | 875 # tab-width:2 |
881 # indent-tabs-mode:nil | 876 # indent-tabs-mode:nil |
882 # End: | 877 # End: |
883 # vim: set expandtab tabstop=2 shiftwidth=2: | 878 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |