Extract list of source files from effects.gyp into effects.gypi, as was done for

core.gyp.  This should make our lives easier when rolling DEPS.

Review URL:  https://codereview.appspot.com/6454172/



git-svn-id: http://skia.googlecode.com/svn/trunk@5202 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
senorblanco@chromium.org 2012-08-20 20:56:26 +00:00
parent dec840b9f0
commit f6100c3ac3
2 changed files with 106 additions and 88 deletions

View File

@ -3,98 +3,13 @@
{
'target_name': 'effects',
'type': 'static_library',
'includes': [
'effects.gypi',
],
'include_dirs': [
'../include/effects',
'../src/core',
],
'sources': [
'../include/effects/Sk1DPathEffect.h',
'../include/effects/Sk2DPathEffect.h',
'../include/effects/SkAvoidXfermode.h',
'../include/effects/SkArithmeticMode.h',
'../include/effects/SkBitmapSource.h',
'../include/effects/SkBlurDrawLooper.h',
'../include/effects/SkBlurImageFilter.h',
'../include/effects/SkBlurMaskFilter.h',
'../include/effects/SkColorMatrix.h',
'../include/effects/SkColorMatrixFilter.h',
'../include/effects/SkColorFilterImageFilter.h',
'../include/effects/SkCornerPathEffect.h',
'../include/effects/SkDashPathEffect.h',
'../include/effects/SkDiscretePathEffect.h',
'../include/effects/SkDrawExtraPathEffect.h',
'../include/effects/SkEmbossMaskFilter.h',
'../include/effects/SkGradientShader.h',
'../include/effects/SkKernel33MaskFilter.h',
'../include/effects/SkLayerDrawLooper.h',
'../include/effects/SkLayerRasterizer.h',
'../include/effects/SkLightingImageFilter.h',
'../include/effects/SkMorphologyImageFilter.h',
'../include/effects/SkPaintFlagsDrawFilter.h',
'../include/effects/SkPixelXorXfermode.h',
'../include/effects/SkPorterDuff.h',
'../include/effects/SkSingleInputImageFilter.h',
'../include/effects/SkStippleMaskFilter.h',
'../include/effects/SkTableColorFilter.h',
'../include/effects/SkTableMaskFilter.h',
'../include/effects/SkTransparentShader.h',
'../include/effects/SkMagnifierImageFilter.h',
'../src/effects/Sk1DPathEffect.cpp',
'../src/effects/Sk2DPathEffect.cpp',
'../src/effects/SkAvoidXfermode.cpp',
'../src/effects/SkArithmeticMode.cpp',
'../src/effects/SkBitmapSource.cpp',
'../src/effects/SkBlurDrawLooper.cpp',
'../src/effects/SkBlurMask.cpp',
'../src/effects/SkBlurMask.h',
'../src/effects/SkBlurImageFilter.cpp',
'../src/effects/SkBlurMaskFilter.cpp',
'../src/effects/SkColorFilters.cpp',
'../src/effects/SkColorFilterImageFilter.cpp',
'../src/effects/SkColorMatrix.cpp',
'../src/effects/SkColorMatrixFilter.cpp',
'../src/effects/SkCornerPathEffect.cpp',
'../src/effects/SkDashPathEffect.cpp',
'../src/effects/SkDiscretePathEffect.cpp',
'../src/effects/SkEmbossMask.cpp',
'../src/effects/SkEmbossMask.h',
'../src/effects/SkEmbossMask_Table.h',
'../src/effects/SkEmbossMaskFilter.cpp',
'../src/effects/SkKernel33MaskFilter.cpp',
'../src/effects/SkLayerDrawLooper.cpp',
'../src/effects/SkLayerRasterizer.cpp',
'../src/effects/SkLightingImageFilter.cpp',
'../src/effects/SkMorphologyImageFilter.cpp',
'../src/effects/SkPaintFlagsDrawFilter.cpp',
'../src/effects/SkPixelXorXfermode.cpp',
'../src/effects/SkPorterDuff.cpp',
'../src/effects/SkSingleInputImageFilter.cpp',
'../src/effects/SkStippleMaskFilter.cpp',
'../src/effects/SkTableColorFilter.cpp',
'../src/effects/SkTableMaskFilter.cpp',
'../src/effects/SkTestImageFilters.cpp',
'../src/effects/SkTransparentShader.cpp',
'../src/effects/SkMagnifierImageFilter.cpp',
'../src/effects/gradients/SkBitmapCache.cpp',
'../src/effects/gradients/SkBitmapCache.h',
'../src/effects/gradients/SkClampRange.cpp',
'../src/effects/gradients/SkClampRange.h',
'../src/effects/gradients/SkRadialGradient_Table.h',
'../src/effects/gradients/SkGradientShader.cpp',
'../src/effects/gradients/SkGradientShaderPriv.h',
'../src/effects/gradients/SkLinearGradient.cpp',
'../src/effects/gradients/SkLinearGradient.h',
'../src/effects/gradients/SkRadialGradient.cpp',
'../src/effects/gradients/SkRadialGradient.h',
'../src/effects/gradients/SkTwoPointRadialGradient.cpp',
'../src/effects/gradients/SkTwoPointRadialGradient.h',
'../src/effects/gradients/SkTwoPointConicalGradient.cpp',
'../src/effects/gradients/SkTwoPointConicalGradient.h',
'../src/effects/gradients/SkSweepGradient.cpp',
'../src/effects/gradients/SkSweepGradient.h',
],
'direct_dependent_settings': {
'include_dirs': [
'../include/effects',

103
gyp/effects.gypi Normal file
View File

@ -0,0 +1,103 @@
# Include this gypi to include all 'effects' files
# The parent gyp/gypi file must define:
# 'skia_src_path' e.g. skia/trunk/src
# 'skia_include_path' e.g. skia/trunk/include
#
# The skia build defines these in common_variables.gypi.
#
{
'sources': [
'<(skia_src_path)/effects/Sk1DPathEffect.cpp',
'<(skia_src_path)/effects/Sk2DPathEffect.cpp',
'<(skia_src_path)/effects/SkAvoidXfermode.cpp',
'<(skia_src_path)/effects/SkArithmeticMode.cpp',
'<(skia_src_path)/effects/SkBitmapSource.cpp',
'<(skia_src_path)/effects/SkBlurDrawLooper.cpp',
'<(skia_src_path)/effects/SkBlurMask.cpp',
'<(skia_src_path)/effects/SkBlurMask.h',
'<(skia_src_path)/effects/SkBlurImageFilter.cpp',
'<(skia_src_path)/effects/SkBlurMaskFilter.cpp',
'<(skia_src_path)/effects/SkColorFilters.cpp',
'<(skia_src_path)/effects/SkColorFilterImageFilter.cpp',
'<(skia_src_path)/effects/SkColorMatrix.cpp',
'<(skia_src_path)/effects/SkColorMatrixFilter.cpp',
'<(skia_src_path)/effects/SkCornerPathEffect.cpp',
'<(skia_src_path)/effects/SkDashPathEffect.cpp',
'<(skia_src_path)/effects/SkDiscretePathEffect.cpp',
'<(skia_src_path)/effects/SkEmbossMask.cpp',
'<(skia_src_path)/effects/SkEmbossMask.h',
'<(skia_src_path)/effects/SkEmbossMask_Table.h',
'<(skia_src_path)/effects/SkEmbossMaskFilter.cpp',
'<(skia_src_path)/effects/SkKernel33MaskFilter.cpp',
'<(skia_src_path)/effects/SkLayerDrawLooper.cpp',
'<(skia_src_path)/effects/SkLayerRasterizer.cpp',
'<(skia_src_path)/effects/SkLightingImageFilter.cpp',
'<(skia_src_path)/effects/SkMorphologyImageFilter.cpp',
'<(skia_src_path)/effects/SkPaintFlagsDrawFilter.cpp',
'<(skia_src_path)/effects/SkPixelXorXfermode.cpp',
'<(skia_src_path)/effects/SkPorterDuff.cpp',
'<(skia_src_path)/effects/SkSingleInputImageFilter.cpp',
'<(skia_src_path)/effects/SkStippleMaskFilter.cpp',
'<(skia_src_path)/effects/SkTableColorFilter.cpp',
'<(skia_src_path)/effects/SkTableMaskFilter.cpp',
'<(skia_src_path)/effects/SkTestImageFilters.cpp',
'<(skia_src_path)/effects/SkTransparentShader.cpp',
'<(skia_src_path)/effects/SkMagnifierImageFilter.cpp',
'<(skia_src_path)/effects/gradients/SkBitmapCache.cpp',
'<(skia_src_path)/effects/gradients/SkBitmapCache.h',
'<(skia_src_path)/effects/gradients/SkClampRange.cpp',
'<(skia_src_path)/effects/gradients/SkClampRange.h',
'<(skia_src_path)/effects/gradients/SkRadialGradient_Table.h',
'<(skia_src_path)/effects/gradients/SkGradientShader.cpp',
'<(skia_src_path)/effects/gradients/SkGradientShaderPriv.h',
'<(skia_src_path)/effects/gradients/SkLinearGradient.cpp',
'<(skia_src_path)/effects/gradients/SkLinearGradient.h',
'<(skia_src_path)/effects/gradients/SkRadialGradient.cpp',
'<(skia_src_path)/effects/gradients/SkRadialGradient.h',
'<(skia_src_path)/effects/gradients/SkTwoPointRadialGradient.cpp',
'<(skia_src_path)/effects/gradients/SkTwoPointRadialGradient.h',
'<(skia_src_path)/effects/gradients/SkTwoPointConicalGradient.cpp',
'<(skia_src_path)/effects/gradients/SkTwoPointConicalGradient.h',
'<(skia_src_path)/effects/gradients/SkSweepGradient.cpp',
'<(skia_src_path)/effects/gradients/SkSweepGradient.h',
'<skia_include_path)/effects/Sk1DPathEffect.h',
'<skia_include_path)/effects/Sk2DPathEffect.h',
'<skia_include_path)/effects/SkAvoidXfermode.h',
'<skia_include_path)/effects/SkArithmeticMode.h',
'<skia_include_path)/effects/SkBitmapSource.h',
'<skia_include_path)/effects/SkBlurDrawLooper.h',
'<skia_include_path)/effects/SkBlurImageFilter.h',
'<skia_include_path)/effects/SkBlurMaskFilter.h',
'<skia_include_path)/effects/SkColorMatrix.h',
'<skia_include_path)/effects/SkColorMatrixFilter.h',
'<skia_include_path)/effects/SkColorFilterImageFilter.h',
'<skia_include_path)/effects/SkCornerPathEffect.h',
'<skia_include_path)/effects/SkDashPathEffect.h',
'<skia_include_path)/effects/SkDiscretePathEffect.h',
'<skia_include_path)/effects/SkDrawExtraPathEffect.h',
'<skia_include_path)/effects/SkEmbossMaskFilter.h',
'<skia_include_path)/effects/SkGradientShader.h',
'<skia_include_path)/effects/SkKernel33MaskFilter.h',
'<skia_include_path)/effects/SkLayerDrawLooper.h',
'<skia_include_path)/effects/SkLayerRasterizer.h',
'<skia_include_path)/effects/SkLightingImageFilter.h',
'<skia_include_path)/effects/SkMorphologyImageFilter.h',
'<skia_include_path)/effects/SkPaintFlagsDrawFilter.h',
'<skia_include_path)/effects/SkPixelXorXfermode.h',
'<skia_include_path)/effects/SkPorterDuff.h',
'<skia_include_path)/effects/SkSingleInputImageFilter.h',
'<skia_include_path)/effects/SkStippleMaskFilter.h',
'<skia_include_path)/effects/SkTableColorFilter.h',
'<skia_include_path)/effects/SkTableMaskFilter.h',
'<skia_include_path)/effects/SkTransparentShader.h',
'<skia_include_path)/effects/SkMagnifierImageFilter.h',
],
}
# Local Variables:
# tab-width:2
# indent-tabs-mode:nil
# End:
# vim: set expandtab tabstop=2 shiftwidth=2: