blob: 273ae538b5329af21c309a675e4880f5d7671ced [file] [log] [blame]
load("//bazel:skia_rules.bzl", "exports_files_legacy", "skia_filegroup", "split_srcs_and_hdrs")
package(
default_applicable_licenses = ["//:license"],
)
licenses(["notice"])
exports_files_legacy()
ANALYSIS_FILES = [
"SkSLCanExitWithoutReturningValue.cpp",
"SkSLCheckProgramStructure.cpp",
"SkSLCheckSymbolTableCorrectness.cpp",
"SkSLFinalizationChecks.cpp",
"SkSLGetLoopControlFlowInfo.cpp",
"SkSLGetLoopUnrollInfo.cpp",
"SkSLGetReturnComplexity.cpp",
"SkSLHasSideEffects.cpp",
"SkSLIsConstantExpression.cpp",
"SkSLIsDynamicallyUniformExpression.cpp",
"SkSLIsSameExpressionTree.cpp",
"SkSLIsTrivialExpression.cpp",
"SkSLNoOpErrorReporter.h",
"SkSLProgramUsage.cpp",
"SkSLProgramUsage.h",
"SkSLProgramVisitor.h",
"SkSLReturnsInputAlpha.cpp",
"SkSLSwitchCaseContainsExit.cpp",
"SkSLSymbolTableStackBuilder.cpp",
]
split_srcs_and_hdrs(
name = "analysis",
files = ANALYSIS_FILES,
)
skia_filegroup(
name = "srcs",
srcs = [":analysis_srcs"],
visibility = ["//src/sksl:__pkg__"],
)
skia_filegroup(
name = "private_hdrs",
srcs = [":analysis_hdrs"],
visibility = ["//src/sksl:__pkg__"],
)