| load("//bazel:macros.bzl", "exports_files_legacy", "skia_filegroup", "split_srcs_and_hdrs") |
| |
| licenses(["notice"]) |
| |
| exports_files_legacy() |
| |
| ANALYSIS_FILES = [ |
| "SkSLCanExitWithoutReturningValue.cpp", |
| "SkSLCheckProgramStructure.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", |
| "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__"], |
| ) |