232dd2b61b
This is a reland of 4ecab92584
This reland folds in subsequent code cleanups and disables a test that
failed on Android + Vulkan.
Original change's description:
> Run unit tests to verify SkSL folding behavior.
>
> The unit test loads SkSL source files from `resources/sksl`, compiles
> the code, and uses SkRuntimeEffect to render a pixel using the effect.
> If solid green is rendered, the test passes.
>
> Change-Id: I2ccb427a907975ae84aee19d8e68d774b2cb638c
> Bug: skia:11009
> Reviewed-on: https://skia-review.googlesource.com/c/skia/+/355983
> Commit-Queue: John Stiles <johnstiles@google.com>
> Auto-Submit: John Stiles <johnstiles@google.com>
> Reviewed-by: Brian Osman <brianosman@google.com>
Bug: skia:11009
Change-Id: I09196c8ca3041e8957324a0cbb7f7d6963c6e4e7
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/358523
Auto-Submit: John Stiles <johnstiles@google.com>
Commit-Queue: Ethan Nicholas <ethannicholas@google.com>
Reviewed-by: Ethan Nicholas <ethannicholas@google.com>
72 lines
2.8 KiB
Plaintext
72 lines
2.8 KiB
Plaintext
# Copyright 2016 Google Inc.
|
|
#
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
# found in the LICENSE file.
|
|
|
|
# Things are easiest for everyone if these source paths are absolute.
|
|
_src = get_path_info("../src", "abspath")
|
|
_include = get_path_info("../include", "abspath")
|
|
|
|
skia_effects_public = [
|
|
"$_include/effects/Sk1DPathEffect.h",
|
|
"$_include/effects/Sk2DPathEffect.h",
|
|
"$_include/effects/SkBlurDrawLooper.h",
|
|
"$_include/effects/SkBlurMaskFilter.h",
|
|
"$_include/effects/SkColorMatrix.h",
|
|
"$_include/effects/SkColorMatrixFilter.h",
|
|
"$_include/effects/SkCornerPathEffect.h",
|
|
"$_include/effects/SkDashPathEffect.h",
|
|
"$_include/effects/SkDiscretePathEffect.h",
|
|
"$_include/effects/SkGradientShader.h",
|
|
"$_include/effects/SkHighContrastFilter.h",
|
|
"$_include/effects/SkLayerDrawLooper.h",
|
|
"$_include/effects/SkLumaColorFilter.h",
|
|
"$_include/effects/SkOverdrawColorFilter.h",
|
|
"$_include/effects/SkPerlinNoiseShader.h",
|
|
"$_include/effects/SkRuntimeEffect.h",
|
|
"$_include/effects/SkShaderMaskFilter.h",
|
|
"$_include/effects/SkTableColorFilter.h",
|
|
"$_include/effects/SkTableMaskFilter.h",
|
|
]
|
|
|
|
skia_effects_sources = [
|
|
"$_src/c/sk_effects.cpp",
|
|
"$_src/effects/Sk1DPathEffect.cpp",
|
|
"$_src/effects/Sk2DPathEffect.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/SkEmbossMaskFilter.cpp",
|
|
"$_src/effects/SkHighContrastFilter.cpp",
|
|
"$_src/effects/SkLayerDrawLooper.cpp",
|
|
"$_src/effects/SkLumaColorFilter.cpp",
|
|
"$_src/effects/SkOpPathEffect.cpp",
|
|
"$_src/effects/SkOverdrawColorFilter.cpp",
|
|
"$_src/effects/SkPackBits.cpp",
|
|
"$_src/effects/SkPackBits.h",
|
|
"$_src/effects/SkShaderMaskFilter.cpp",
|
|
"$_src/effects/SkTableColorFilter.cpp",
|
|
"$_src/effects/SkTableMaskFilter.cpp",
|
|
"$_src/effects/SkTrimPathEffect.cpp",
|
|
"$_src/shaders/SkPerlinNoiseShader.cpp",
|
|
"$_src/shaders/gradients/Sk4fGradientBase.cpp",
|
|
"$_src/shaders/gradients/Sk4fGradientBase.h",
|
|
"$_src/shaders/gradients/Sk4fGradientPriv.h",
|
|
"$_src/shaders/gradients/Sk4fLinearGradient.cpp",
|
|
"$_src/shaders/gradients/Sk4fLinearGradient.h",
|
|
"$_src/shaders/gradients/SkGradientShader.cpp",
|
|
"$_src/shaders/gradients/SkGradientShaderPriv.h",
|
|
"$_src/shaders/gradients/SkLinearGradient.cpp",
|
|
"$_src/shaders/gradients/SkLinearGradient.h",
|
|
"$_src/shaders/gradients/SkRadialGradient.cpp",
|
|
"$_src/shaders/gradients/SkRadialGradient.h",
|
|
"$_src/shaders/gradients/SkSweepGradient.cpp",
|
|
"$_src/shaders/gradients/SkSweepGradient.h",
|
|
"$_src/shaders/gradients/SkTwoPointConicalGradient.cpp",
|
|
"$_src/shaders/gradients/SkTwoPointConicalGradient.h",
|
|
]
|