1load("//bazel:skia_rules.bzl", "split_srcs_and_hdrs") 2 3package( 4 default_applicable_licenses = ["//:license"], 5) 6 7licenses(["notice"]) 8 9IR_FILES = [ 10 "SkSLBinaryExpression.cpp", 11 "SkSLBinaryExpression.h", 12 "SkSLBlock.cpp", 13 "SkSLBlock.h", 14 "SkSLBreakStatement.h", 15 "SkSLChildCall.cpp", 16 "SkSLChildCall.h", 17 "SkSLConstructor.cpp", 18 "SkSLConstructor.h", 19 "SkSLConstructorArray.cpp", 20 "SkSLConstructorArray.h", 21 "SkSLConstructorArrayCast.cpp", 22 "SkSLConstructorArrayCast.h", 23 "SkSLConstructorCompound.cpp", 24 "SkSLConstructorCompound.h", 25 "SkSLConstructorCompoundCast.cpp", 26 "SkSLConstructorCompoundCast.h", 27 "SkSLConstructorDiagonalMatrix.cpp", 28 "SkSLConstructorDiagonalMatrix.h", 29 "SkSLConstructorMatrixResize.cpp", 30 "SkSLConstructorMatrixResize.h", 31 "SkSLConstructorScalarCast.cpp", 32 "SkSLConstructorScalarCast.h", 33 "SkSLConstructorSplat.cpp", 34 "SkSLConstructorSplat.h", 35 "SkSLConstructorStruct.cpp", 36 "SkSLConstructorStruct.h", 37 "SkSLContinueStatement.h", 38 "SkSLDiscardStatement.cpp", 39 "SkSLDiscardStatement.h", 40 "SkSLDoStatement.cpp", 41 "SkSLDoStatement.h", 42 "SkSLEmptyExpression.h", 43 "SkSLExpression.cpp", 44 "SkSLExpression.h", 45 "SkSLExpressionStatement.cpp", 46 "SkSLExpressionStatement.h", 47 "SkSLExtension.cpp", 48 "SkSLExtension.h", 49 "SkSLFieldAccess.cpp", 50 "SkSLFieldAccess.h", 51 "SkSLFieldSymbol.h", 52 "SkSLForStatement.cpp", 53 "SkSLForStatement.h", 54 "SkSLFunctionCall.cpp", 55 "SkSLFunctionCall.h", 56 "SkSLFunctionDeclaration.cpp", 57 "SkSLFunctionDeclaration.h", 58 "SkSLFunctionDefinition.cpp", 59 "SkSLFunctionDefinition.h", 60 "SkSLFunctionPrototype.h", 61 "SkSLFunctionReference.h", 62 "SkSLIfStatement.cpp", 63 "SkSLIfStatement.h", 64 "SkSLIndexExpression.cpp", 65 "SkSLIndexExpression.h", 66 "SkSLInterfaceBlock.cpp", 67 "SkSLInterfaceBlock.h", 68 "SkSLIRHelpers.h", 69 "SkSLIRNode.h", 70 "SkSLLayout.cpp", 71 "SkSLLayout.h", 72 "SkSLLiteral.cpp", 73 "SkSLLiteral.h", 74 "SkSLMethodReference.h", 75 "SkSLModifierFlags.cpp", 76 "SkSLModifierFlags.h", 77 "SkSLModifiers.h", 78 "SkSLModifiersDeclaration.cpp", 79 "SkSLModifiersDeclaration.h", 80 "SkSLNop.h", 81 "SkSLPoison.h", 82 "SkSLPostfixExpression.cpp", 83 "SkSLPostfixExpression.h", 84 "SkSLPrefixExpression.cpp", 85 "SkSLPrefixExpression.h", 86 "SkSLProgram.cpp", 87 "SkSLProgram.h", 88 "SkSLProgramElement.h", 89 "SkSLReturnStatement.h", 90 "SkSLSetting.cpp", 91 "SkSLSetting.h", 92 "SkSLStatement.h", 93 "SkSLStructDefinition.cpp", 94 "SkSLStructDefinition.h", 95 "SkSLSwitchCase.cpp", 96 "SkSLSwitchCase.h", 97 "SkSLSwitchStatement.cpp", 98 "SkSLSwitchStatement.h", 99 "SkSLSwizzle.cpp", 100 "SkSLSwizzle.h", 101 "SkSLSymbol.cpp", 102 "SkSLSymbol.h", 103 "SkSLSymbolTable.cpp", 104 "SkSLSymbolTable.h", 105 "SkSLTernaryExpression.cpp", 106 "SkSLTernaryExpression.h", 107 "SkSLType.cpp", 108 "SkSLType.h", 109 "SkSLTypeReference.cpp", 110 "SkSLTypeReference.h", 111 "SkSLVarDeclarations.cpp", 112 "SkSLVarDeclarations.h", 113 "SkSLVariable.cpp", 114 "SkSLVariable.h", 115 "SkSLVariableReference.cpp", 116 "SkSLVariableReference.h", 117] 118 119split_srcs_and_hdrs( 120 name = "ir", 121 files = IR_FILES, 122 visibility = ["//src/sksl:__pkg__"], 123) 124