blob: dc54608ec7d2d175235ab7126b39a50a789e8278 [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",
Ethan Nicholasc18bb512020-07-28 14:46:53 -040027 "$_src/sksl/SkSLDehydrator.cpp",
John Stilesf1058182020-06-02 12:29:20 -040028 "$_src/sksl/SkSLErrorReporter.h",
29 "$_src/sksl/SkSLExternalValue.h",
30 "$_src/sksl/SkSLFileOutputStream.h",
Ethan Nicholas5b5f0962017-09-11 13:50:14 -070031 "$_src/sksl/SkSLIRGenerator.cpp",
John Stilesf1058182020-06-02 12:29:20 -040032 "$_src/sksl/SkSLIRGenerator.h",
Ethan Nicholas5b5f0962017-09-11 13:50:14 -070033 "$_src/sksl/SkSLLexer.cpp",
John Stilesf1058182020-06-02 12:29:20 -040034 "$_src/sksl/SkSLLexer.h",
35 "$_src/sksl/SkSLMemoryLayout.h",
36 "$_src/sksl/SkSLOutputStream.h",
Ethan Nicholas5b5f0962017-09-11 13:50:14 -070037 "$_src/sksl/SkSLParser.cpp",
John Stilesf1058182020-06-02 12:29:20 -040038 "$_src/sksl/SkSLParser.h",
39 "$_src/sksl/SkSLPosition.h",
Ethan Nicholasc18bb512020-07-28 14:46:53 -040040 "$_src/sksl/SkSLRehydrator.cpp",
Brian Osman1298bc42020-06-30 13:39:35 -040041 "$_src/sksl/SkSLSampleUsage.cpp",
Ethan Nicholasd4efe682019-08-29 16:10:13 -040042 "$_src/sksl/SkSLSectionAndParameterHelper.cpp",
John Stilesf1058182020-06-02 12:29:20 -040043 "$_src/sksl/SkSLSectionAndParameterHelper.h",
Ethan Nicholas0df1b042017-03-31 13:56:23 -040044 "$_src/sksl/SkSLString.cpp",
John Stilesf1058182020-06-02 12:29:20 -040045 "$_src/sksl/SkSLString.h",
46 "$_src/sksl/SkSLStringStream.h",
Mike Kleina5fb6152016-10-26 14:17:04 -040047 "$_src/sksl/SkSLUtil.cpp",
John Stilesf1058182020-06-02 12:29:20 -040048 "$_src/sksl/SkSLUtil.h",
Ethan Nicholas762466e2017-06-29 10:03:38 -040049 "$_src/sksl/ir/SkSLSetting.cpp",
John Stilesf1058182020-06-02 12:29:20 -040050 "$_src/sksl/ir/SkSLSetting.h",
Ethan Nicholasd4efe682019-08-29 16:10:13 -040051 "$_src/sksl/ir/SkSLSymbolTable.cpp",
John Stilesf1058182020-06-02 12:29:20 -040052 "$_src/sksl/ir/SkSLSymbolTable.h",
Mike Kleina5fb6152016-10-26 14:17:04 -040053 "$_src/sksl/ir/SkSLType.cpp",
John Stilesf1058182020-06-02 12:29:20 -040054 "$_src/sksl/ir/SkSLType.h",
Ethan Nicholas8f7e28f2018-03-26 14:24:27 -040055 "$_src/sksl/ir/SkSLVariableReference.cpp",
John Stilesf1058182020-06-02 12:29:20 -040056 "$_src/sksl/ir/SkSLVariableReference.h",
Mike Kleina5fb6152016-10-26 14:17:04 -040057]
Ethan Nicholas762466e2017-06-29 10:03:38 -040058
Brian Osmanfb32ddf2019-06-18 10:14:20 -040059skia_sksl_gpu_sources = [
60 "$_src/sksl/SkSLCPPCodeGenerator.cpp",
John Stilesf1058182020-06-02 12:29:20 -040061 "$_src/sksl/SkSLCPPCodeGenerator.h",
Brian Osmanfb32ddf2019-06-18 10:14:20 -040062 "$_src/sksl/SkSLCPPUniformCTypes.cpp",
John Stilesf1058182020-06-02 12:29:20 -040063 "$_src/sksl/SkSLCPPUniformCTypes.h",
64 "$_src/sksl/SkSLCodeGenerator.h",
Brian Osmanfb32ddf2019-06-18 10:14:20 -040065 "$_src/sksl/SkSLGLSLCodeGenerator.cpp",
John Stilesf1058182020-06-02 12:29:20 -040066 "$_src/sksl/SkSLGLSLCodeGenerator.h",
Brian Osmanfb32ddf2019-06-18 10:14:20 -040067 "$_src/sksl/SkSLHCodeGenerator.cpp",
John Stilesf1058182020-06-02 12:29:20 -040068 "$_src/sksl/SkSLHCodeGenerator.h",
Brian Osmanfb32ddf2019-06-18 10:14:20 -040069 "$_src/sksl/SkSLMetalCodeGenerator.cpp",
John Stilesf1058182020-06-02 12:29:20 -040070 "$_src/sksl/SkSLMetalCodeGenerator.h",
Brian Osmanfb32ddf2019-06-18 10:14:20 -040071 "$_src/sksl/SkSLOutputStream.cpp",
John Stilesf1058182020-06-02 12:29:20 -040072 "$_src/sksl/SkSLOutputStream.h",
Brian Osmanfb32ddf2019-06-18 10:14:20 -040073 "$_src/sksl/SkSLPipelineStageCodeGenerator.cpp",
John Stilesf1058182020-06-02 12:29:20 -040074 "$_src/sksl/SkSLPipelineStageCodeGenerator.h",
Brian Osmanfb32ddf2019-06-18 10:14:20 -040075 "$_src/sksl/SkSLSPIRVCodeGenerator.cpp",
John Stilesf1058182020-06-02 12:29:20 -040076 "$_src/sksl/SkSLSPIRVCodeGenerator.h",
Brian Osmanc0243912020-02-19 15:35:26 -050077 "$_src/sksl/SkSLSPIRVtoHLSL.cpp",
John Stilesf1058182020-06-02 12:29:20 -040078 "$_src/sksl/SkSLSPIRVtoHLSL.h",
Brian Osmanfb32ddf2019-06-18 10:14:20 -040079]
Brian Osmane5c1f972019-06-17 10:27:55 -040080
Ethan Nicholas9fb036f2017-07-05 16:19:09 -040081skia_gpu_processor_sources = [
Ethan Nicholaseace9352018-10-15 20:09:54 +000082 "$_src/gpu/effects/GrAARectEffect.fp",
Greg Daniel3e8c3452018-04-06 10:37:55 -040083 "$_src/gpu/effects/GrAlphaThresholdFragmentProcessor.fp",
John Stilesa9c9b532020-07-09 17:13:13 -040084 "$_src/gpu/effects/GrArithmeticProcessor.fp",
Ethan Nicholas0274b302017-07-14 16:17:04 -040085 "$_src/gpu/effects/GrBlurredEdgeFragmentProcessor.fp",
Mike Reed18e75562018-03-12 14:03:47 -040086 "$_src/gpu/effects/GrCircleBlurFragmentProcessor.fp",
Ethan Nicholas83d11852017-07-13 16:00:16 -040087 "$_src/gpu/effects/GrCircleEffect.fp",
Brian Osman6f5e9402020-01-22 10:39:31 -050088 "$_src/gpu/effects/GrClampFragmentProcessor.fp",
Mike Klein96f64012020-04-03 10:59:37 -050089 "$_src/gpu/effects/GrColorMatrixFragmentProcessor.fp",
Ethan Nicholasff4fb332019-04-09 16:28:19 -040090 "$_src/gpu/effects/GrComposeLerpEffect.fp",
Ethan Nicholas839872c2017-10-05 12:36:59 -040091 "$_src/gpu/effects/GrConfigConversionEffect.fp",
Ethan Nicholase9d172a2017-11-20 12:12:24 -050092 "$_src/gpu/effects/GrConstColorProcessor.fp",
Brian Salomon64227222020-02-26 13:28:42 -050093 "$_src/gpu/effects/GrDeviceSpaceEffect.fp",
John Stiles53ee0fc2020-07-09 15:29:33 -040094 "$_src/gpu/effects/GrDitherEffect.fp",
Ethan Nicholas420f1562017-07-14 13:11:38 -040095 "$_src/gpu/effects/GrEllipseEffect.fp",
Florin Malita36031202019-10-23 11:44:22 -040096 "$_src/gpu/effects/GrHSLToRGBFilterEffect.fp",
John Stiles8c7c7092020-07-10 15:55:57 -040097 "$_src/gpu/effects/GrHighContrastFilterEffect.fp",
Ethan Nicholas14efcbf2017-11-07 09:23:38 -050098 "$_src/gpu/effects/GrLumaColorFilterEffect.fp",
Ethan Nicholas2d5f9b32017-12-13 14:36:14 -050099 "$_src/gpu/effects/GrMagnifierEffect.fp",
Florin Malita6041d312019-03-05 15:03:20 +0000100 "$_src/gpu/effects/GrMixerEffect.fp",
Brian Salomonc0d79e52019-04-10 15:02:11 -0400101 "$_src/gpu/effects/GrOverrideInputFragmentProcessor.fp",
Florin Malita36031202019-10-23 11:44:22 -0400102 "$_src/gpu/effects/GrRGBToHSLFilterEffect.fp",
Ethan Nicholas297d6ef2017-12-20 12:00:11 -0500103 "$_src/gpu/effects/GrRRectBlurEffect.fp",
Mike Klein96f64012020-04-03 10:59:37 -0500104 "$_src/gpu/effects/GrRectBlurEffect.fp",
105 "$_src/gpu/gradients/GrClampedGradientEffect.fp",
Michael Ludwig0495f7a2018-09-12 15:23:33 -0400106 "$_src/gpu/gradients/GrDualIntervalGradientColorizer.fp",
Michael Ludwig4f94ef62018-09-12 15:22:16 -0400107 "$_src/gpu/gradients/GrLinearGradientLayout.fp",
Michael Ludwig4089df82018-09-12 15:22:37 -0400108 "$_src/gpu/gradients/GrRadialGradientLayout.fp",
Mike Klein96f64012020-04-03 10:59:37 -0500109 "$_src/gpu/gradients/GrSingleIntervalGradientColorizer.fp",
Michael Ludwig24d438b2018-09-12 15:22:50 -0400110 "$_src/gpu/gradients/GrSweepGradientLayout.fp",
Michael Ludwig4f94ef62018-09-12 15:22:16 -0400111 "$_src/gpu/gradients/GrTiledGradientEffect.fp",
Mike Klein96f64012020-04-03 10:59:37 -0500112 "$_src/gpu/gradients/GrTwoPointConicalGradientLayout.fp",
113 "$_src/gpu/gradients/GrUnrolledBinaryGradientColorizer.fp",
Ethan Nicholas9fb036f2017-07-05 16:19:09 -0400114]
Ethan Nicholasc18bb512020-07-28 14:46:53 -0400115
116skia_dehydrate_sksl_sources = [
117 "$_src/sksl/generated/sksl_fp.sksl",
118 "$_src/sksl/sksl_frag.sksl",
119 "$_src/sksl/sksl_geom.sksl",
120 "$_src/sksl/sksl_gpu.sksl",
121 "$_src/sksl/sksl_interp.sksl",
122 "$_src/sksl/sksl_pipeline.sksl",
123 "$_src/sksl/sksl_vert.sksl",
124]