blob: aa80bd7256ae32e576ca1ab2d2704eda024ae7ac [file] [log] [blame]
Mike Kleina5fb6152016-10-26 14:17:04 -04001# Copyright 2016 Google Inc.
2#
3# Use of this source code is governed by a BSD-style license that can be
4# found in the LICENSE file.
5
6# Things are easiest for everyone if these source paths are absolute.
7_src = get_path_info("../src", "abspath")
Brian Osman061a5cf2020-06-24 14:50:25 -04008_include = get_path_info("../include", "abspath")
Mike Kleina5fb6152016-10-26 14:17:04 -04009
10skia_sksl_sources = [
Brian Osman1298bc42020-06-30 13:39:35 -040011 "$_include/private/SkSLSampleUsage.h",
John Stilesf1058182020-06-02 12:29:20 -040012 "$_src/sksl/SkSLASTFile.h",
Ethan Nicholasfc994162019-06-06 10:04:27 -040013 "$_src/sksl/SkSLASTNode.cpp",
John Stilesf1058182020-06-02 12:29:20 -040014 "$_src/sksl/SkSLASTNode.h",
Michael Ludwig8f3a8362020-06-29 17:27:00 -040015 "$_src/sksl/SkSLAnalysis.cpp",
16 "$_src/sksl/SkSLAnalysis.h",
Brian Osmanb08cc022020-04-02 11:38:40 -040017 "$_src/sksl/SkSLByteCode.cpp",
John Stilesf1058182020-06-02 12:29:20 -040018 "$_src/sksl/SkSLByteCode.h",
Ethan Nicholas0e9401d2019-03-21 11:05:37 -040019 "$_src/sksl/SkSLByteCodeGenerator.cpp",
John Stilesf1058182020-06-02 12:29:20 -040020 "$_src/sksl/SkSLByteCodeGenerator.h",
Mike Kleina5fb6152016-10-26 14:17:04 -040021 "$_src/sksl/SkSLCFGGenerator.cpp",
John Stilesf1058182020-06-02 12:29:20 -040022 "$_src/sksl/SkSLCFGGenerator.h",
Mike Kleina5fb6152016-10-26 14:17:04 -040023 "$_src/sksl/SkSLCompiler.cpp",
John Stilesf1058182020-06-02 12:29:20 -040024 "$_src/sksl/SkSLCompiler.h",
25 "$_src/sksl/SkSLContext.h",
26 "$_src/sksl/SkSLDefines.h",
27 "$_src/sksl/SkSLErrorReporter.h",
28 "$_src/sksl/SkSLExternalValue.h",
29 "$_src/sksl/SkSLFileOutputStream.h",
Ethan Nicholas5b5f0962017-09-11 13:50:14 -070030 "$_src/sksl/SkSLIRGenerator.cpp",
John Stilesf1058182020-06-02 12:29:20 -040031 "$_src/sksl/SkSLIRGenerator.h",
Ethan Nicholas5b5f0962017-09-11 13:50:14 -070032 "$_src/sksl/SkSLLexer.cpp",
John Stilesf1058182020-06-02 12:29:20 -040033 "$_src/sksl/SkSLLexer.h",
34 "$_src/sksl/SkSLMemoryLayout.h",
35 "$_src/sksl/SkSLOutputStream.h",
Ethan Nicholas5b5f0962017-09-11 13:50:14 -070036 "$_src/sksl/SkSLParser.cpp",
John Stilesf1058182020-06-02 12:29:20 -040037 "$_src/sksl/SkSLParser.h",
38 "$_src/sksl/SkSLPosition.h",
Brian Osman1298bc42020-06-30 13:39:35 -040039 "$_src/sksl/SkSLSampleUsage.cpp",
Ethan Nicholasd4efe682019-08-29 16:10:13 -040040 "$_src/sksl/SkSLSectionAndParameterHelper.cpp",
John Stilesf1058182020-06-02 12:29:20 -040041 "$_src/sksl/SkSLSectionAndParameterHelper.h",
Ethan Nicholas0df1b042017-03-31 13:56:23 -040042 "$_src/sksl/SkSLString.cpp",
John Stilesf1058182020-06-02 12:29:20 -040043 "$_src/sksl/SkSLString.h",
44 "$_src/sksl/SkSLStringStream.h",
Mike Kleina5fb6152016-10-26 14:17:04 -040045 "$_src/sksl/SkSLUtil.cpp",
John Stilesf1058182020-06-02 12:29:20 -040046 "$_src/sksl/SkSLUtil.h",
Ethan Nicholas762466e2017-06-29 10:03:38 -040047 "$_src/sksl/ir/SkSLSetting.cpp",
John Stilesf1058182020-06-02 12:29:20 -040048 "$_src/sksl/ir/SkSLSetting.h",
Ethan Nicholasd4efe682019-08-29 16:10:13 -040049 "$_src/sksl/ir/SkSLSymbolTable.cpp",
John Stilesf1058182020-06-02 12:29:20 -040050 "$_src/sksl/ir/SkSLSymbolTable.h",
Mike Kleina5fb6152016-10-26 14:17:04 -040051 "$_src/sksl/ir/SkSLType.cpp",
John Stilesf1058182020-06-02 12:29:20 -040052 "$_src/sksl/ir/SkSLType.h",
Ethan Nicholas8f7e28f2018-03-26 14:24:27 -040053 "$_src/sksl/ir/SkSLVariableReference.cpp",
John Stilesf1058182020-06-02 12:29:20 -040054 "$_src/sksl/ir/SkSLVariableReference.h",
Mike Kleina5fb6152016-10-26 14:17:04 -040055]
Ethan Nicholas762466e2017-06-29 10:03:38 -040056
Brian Osmanfb32ddf2019-06-18 10:14:20 -040057skia_sksl_gpu_sources = [
58 "$_src/sksl/SkSLCPPCodeGenerator.cpp",
John Stilesf1058182020-06-02 12:29:20 -040059 "$_src/sksl/SkSLCPPCodeGenerator.h",
Brian Osmanfb32ddf2019-06-18 10:14:20 -040060 "$_src/sksl/SkSLCPPUniformCTypes.cpp",
John Stilesf1058182020-06-02 12:29:20 -040061 "$_src/sksl/SkSLCPPUniformCTypes.h",
62 "$_src/sksl/SkSLCodeGenerator.h",
Brian Osmanfb32ddf2019-06-18 10:14:20 -040063 "$_src/sksl/SkSLGLSLCodeGenerator.cpp",
John Stilesf1058182020-06-02 12:29:20 -040064 "$_src/sksl/SkSLGLSLCodeGenerator.h",
Brian Osmanfb32ddf2019-06-18 10:14:20 -040065 "$_src/sksl/SkSLHCodeGenerator.cpp",
John Stilesf1058182020-06-02 12:29:20 -040066 "$_src/sksl/SkSLHCodeGenerator.h",
Brian Osmanfb32ddf2019-06-18 10:14:20 -040067 "$_src/sksl/SkSLMetalCodeGenerator.cpp",
John Stilesf1058182020-06-02 12:29:20 -040068 "$_src/sksl/SkSLMetalCodeGenerator.h",
Brian Osmanfb32ddf2019-06-18 10:14:20 -040069 "$_src/sksl/SkSLOutputStream.cpp",
John Stilesf1058182020-06-02 12:29:20 -040070 "$_src/sksl/SkSLOutputStream.h",
Brian Osmanfb32ddf2019-06-18 10:14:20 -040071 "$_src/sksl/SkSLPipelineStageCodeGenerator.cpp",
John Stilesf1058182020-06-02 12:29:20 -040072 "$_src/sksl/SkSLPipelineStageCodeGenerator.h",
Brian Osmanfb32ddf2019-06-18 10:14:20 -040073 "$_src/sksl/SkSLSPIRVCodeGenerator.cpp",
John Stilesf1058182020-06-02 12:29:20 -040074 "$_src/sksl/SkSLSPIRVCodeGenerator.h",
Brian Osmanc0243912020-02-19 15:35:26 -050075 "$_src/sksl/SkSLSPIRVtoHLSL.cpp",
John Stilesf1058182020-06-02 12:29:20 -040076 "$_src/sksl/SkSLSPIRVtoHLSL.h",
Brian Osmanfb32ddf2019-06-18 10:14:20 -040077]
Brian Osmane5c1f972019-06-17 10:27:55 -040078
Ethan Nicholas9fb036f2017-07-05 16:19:09 -040079skia_gpu_processor_sources = [
Ethan Nicholaseace9352018-10-15 20:09:54 +000080 "$_src/gpu/effects/GrAARectEffect.fp",
Greg Daniel3e8c3452018-04-06 10:37:55 -040081 "$_src/gpu/effects/GrAlphaThresholdFragmentProcessor.fp",
Ethan Nicholas0274b302017-07-14 16:17:04 -040082 "$_src/gpu/effects/GrBlurredEdgeFragmentProcessor.fp",
Mike Reed18e75562018-03-12 14:03:47 -040083 "$_src/gpu/effects/GrCircleBlurFragmentProcessor.fp",
Ethan Nicholas83d11852017-07-13 16:00:16 -040084 "$_src/gpu/effects/GrCircleEffect.fp",
Brian Osman6f5e9402020-01-22 10:39:31 -050085 "$_src/gpu/effects/GrClampFragmentProcessor.fp",
Mike Klein96f64012020-04-03 10:59:37 -050086 "$_src/gpu/effects/GrColorMatrixFragmentProcessor.fp",
Ethan Nicholasff4fb332019-04-09 16:28:19 -040087 "$_src/gpu/effects/GrComposeLerpEffect.fp",
Ethan Nicholas839872c2017-10-05 12:36:59 -040088 "$_src/gpu/effects/GrConfigConversionEffect.fp",
Ethan Nicholase9d172a2017-11-20 12:12:24 -050089 "$_src/gpu/effects/GrConstColorProcessor.fp",
Brian Salomon64227222020-02-26 13:28:42 -050090 "$_src/gpu/effects/GrDeviceSpaceEffect.fp",
Ethan Nicholas420f1562017-07-14 13:11:38 -040091 "$_src/gpu/effects/GrEllipseEffect.fp",
Florin Malita36031202019-10-23 11:44:22 -040092 "$_src/gpu/effects/GrHSLToRGBFilterEffect.fp",
Ethan Nicholas14efcbf2017-11-07 09:23:38 -050093 "$_src/gpu/effects/GrLumaColorFilterEffect.fp",
Ethan Nicholas2d5f9b32017-12-13 14:36:14 -050094 "$_src/gpu/effects/GrMagnifierEffect.fp",
Florin Malita6041d312019-03-05 15:03:20 +000095 "$_src/gpu/effects/GrMixerEffect.fp",
Brian Salomonc0d79e52019-04-10 15:02:11 -040096 "$_src/gpu/effects/GrOverrideInputFragmentProcessor.fp",
Florin Malita36031202019-10-23 11:44:22 -040097 "$_src/gpu/effects/GrRGBToHSLFilterEffect.fp",
Ethan Nicholas297d6ef2017-12-20 12:00:11 -050098 "$_src/gpu/effects/GrRRectBlurEffect.fp",
Mike Klein96f64012020-04-03 10:59:37 -050099 "$_src/gpu/effects/GrRectBlurEffect.fp",
100 "$_src/gpu/gradients/GrClampedGradientEffect.fp",
Michael Ludwig0495f7a2018-09-12 15:23:33 -0400101 "$_src/gpu/gradients/GrDualIntervalGradientColorizer.fp",
Michael Ludwig4f94ef62018-09-12 15:22:16 -0400102 "$_src/gpu/gradients/GrLinearGradientLayout.fp",
Michael Ludwig4089df82018-09-12 15:22:37 -0400103 "$_src/gpu/gradients/GrRadialGradientLayout.fp",
Mike Klein96f64012020-04-03 10:59:37 -0500104 "$_src/gpu/gradients/GrSingleIntervalGradientColorizer.fp",
Michael Ludwig24d438b2018-09-12 15:22:50 -0400105 "$_src/gpu/gradients/GrSweepGradientLayout.fp",
Mike Klein96f64012020-04-03 10:59:37 -0500106 "$_src/gpu/gradients/GrTextureGradientColorizer.fp",
Michael Ludwig4f94ef62018-09-12 15:22:16 -0400107 "$_src/gpu/gradients/GrTiledGradientEffect.fp",
Mike Klein96f64012020-04-03 10:59:37 -0500108 "$_src/gpu/gradients/GrTwoPointConicalGradientLayout.fp",
109 "$_src/gpu/gradients/GrUnrolledBinaryGradientColorizer.fp",
Ethan Nicholas9fb036f2017-07-05 16:19:09 -0400110]