blob: 58b4ccca16e7ba4b9960d6cbe220390120e2296c [file] [log] [blame]
load("//bazel:macros.bzl", "exports_files_legacy", "split_srcs_and_hdrs")
licenses(["notice"])
exports_files_legacy()
IR_FILES = [
"SkSLBinaryExpression.cpp",
"SkSLBinaryExpression.h",
"SkSLBlock.cpp",
"SkSLBlock.h",
"SkSLBreakStatement.h",
"SkSLChildCall.cpp",
"SkSLChildCall.h",
"SkSLConstructor.cpp",
"SkSLConstructor.h",
"SkSLConstructorArray.cpp",
"SkSLConstructorArray.h",
"SkSLConstructorArrayCast.cpp",
"SkSLConstructorArrayCast.h",
"SkSLConstructorCompound.cpp",
"SkSLConstructorCompound.h",
"SkSLConstructorCompoundCast.cpp",
"SkSLConstructorCompoundCast.h",
"SkSLConstructorDiagonalMatrix.cpp",
"SkSLConstructorDiagonalMatrix.h",
"SkSLConstructorMatrixResize.cpp",
"SkSLConstructorMatrixResize.h",
"SkSLConstructorScalarCast.cpp",
"SkSLConstructorScalarCast.h",
"SkSLConstructorSplat.cpp",
"SkSLConstructorSplat.h",
"SkSLConstructorStruct.cpp",
"SkSLConstructorStruct.h",
"SkSLContinueStatement.h",
"SkSLDiscardStatement.h",
"SkSLDoStatement.cpp",
"SkSLDoStatement.h",
"SkSLExpression.cpp",
"SkSLExpression.h",
"SkSLExpressionStatement.cpp",
"SkSLExpressionStatement.h",
"SkSLExtension.h",
"SkSLExternalFunction.h",
"SkSLExternalFunctionCall.h",
"SkSLExternalFunctionReference.h",
"SkSLField.h",
"SkSLFieldAccess.cpp",
"SkSLFieldAccess.h",
"SkSLForStatement.cpp",
"SkSLForStatement.h",
"SkSLFunctionCall.cpp",
"SkSLFunctionCall.h",
"SkSLFunctionDeclaration.cpp",
"SkSLFunctionDeclaration.h",
"SkSLFunctionDefinition.cpp",
"SkSLFunctionDefinition.h",
"SkSLFunctionPrototype.h",
"SkSLFunctionReference.h",
"SkSLIfStatement.cpp",
"SkSLIfStatement.h",
"SkSLIndexExpression.cpp",
"SkSLIndexExpression.h",
"SkSLInterfaceBlock.h",
"SkSLLiteral.h",
"SkSLMethodReference.h",
"SkSLModifiers.cpp",
"SkSLModifiersDeclaration.h",
"SkSLNop.h",
"SkSLPoison.h",
"SkSLPostfixExpression.cpp",
"SkSLPostfixExpression.h",
"SkSLPrefixExpression.cpp",
"SkSLPrefixExpression.h",
"SkSLProgram.h",
"SkSLReturnStatement.h",
"SkSLSetting.cpp",
"SkSLSetting.h",
"SkSLStructDefinition.h",
"SkSLSwitchCase.h",
"SkSLSwitchStatement.cpp",
"SkSLSwitchStatement.h",
"SkSLSwizzle.cpp",
"SkSLSwizzle.h",
"SkSLSymbolTable.cpp",
"SkSLSymbolTable.h",
"SkSLTernaryExpression.cpp",
"SkSLTernaryExpression.h",
"SkSLType.cpp",
"SkSLType.h",
"SkSLTypeReference.cpp",
"SkSLTypeReference.h",
"SkSLUnresolvedFunction.h",
"SkSLVarDeclarations.cpp",
"SkSLVarDeclarations.h",
"SkSLVariable.cpp",
"SkSLVariable.h",
"SkSLVariableReference.cpp",
"SkSLVariableReference.h",
]
split_srcs_and_hdrs(
name = "ir",
files = IR_FILES,
)
filegroup(
name = "srcs",
srcs = [":ir_srcs"],
visibility = ["//src/sksl:__pkg__"],
)
filegroup(
name = "private_hdrs",
srcs = [":ir_hdrs"],
visibility = ["//src/sksl:__pkg__"],
)