|
| 1 | +load("@rules_java//java:defs.bzl", "java_library") |
| 2 | + |
| 3 | +package( |
| 4 | + default_applicable_licenses = ["//:license"], |
| 5 | + default_visibility = [ |
| 6 | + "//runtime/planner:__pkg__", |
| 7 | + ], |
| 8 | +) |
| 9 | + |
| 10 | +java_library( |
| 11 | + name = "program_planner", |
| 12 | + srcs = ["ProgramPlanner.java"], |
| 13 | + tags = [ |
| 14 | + ], |
| 15 | + deps = [ |
| 16 | + ":attribute_factory", |
| 17 | + ":cel_value_interpretable", |
| 18 | + ":cel_value_program", |
| 19 | + ":eval_attribute", |
| 20 | + ":eval_const", |
| 21 | + "//:auto_value", |
| 22 | + "//common:cel_ast", |
| 23 | + "//common:container", |
| 24 | + "//common/annotations", |
| 25 | + "//common/ast", |
| 26 | + "//common/types", |
| 27 | + "//common/types:type_providers", |
| 28 | + "//common/values", |
| 29 | + "//common/values:cel_value", |
| 30 | + "//runtime:evaluation_exception", |
| 31 | + "//runtime:evaluation_exception_builder", |
| 32 | + "//runtime:program", |
| 33 | + "@maven//:com_google_code_findbugs_annotations", |
| 34 | + "@maven//:com_google_errorprone_error_prone_annotations", |
| 35 | + "@maven//:com_google_guava_guava", |
| 36 | + ], |
| 37 | +) |
| 38 | + |
| 39 | +java_library( |
| 40 | + name = "cel_value_interpretable", |
| 41 | + srcs = ["CelValueInterpretable.java"], |
| 42 | + deps = [ |
| 43 | + "//common/annotations", |
| 44 | + "//common/values:cel_value", |
| 45 | + "//runtime:evaluation_exception", |
| 46 | + "//runtime:interpretable", |
| 47 | + "@maven//:com_google_errorprone_error_prone_annotations", |
| 48 | + ], |
| 49 | +) |
| 50 | + |
| 51 | +java_library( |
| 52 | + name = "cel_value_program", |
| 53 | + srcs = ["CelValueProgram.java"], |
| 54 | + deps = [ |
| 55 | + ":cel_value_interpretable", |
| 56 | + "//:auto_value", |
| 57 | + "//common/values", |
| 58 | + "//common/values:cel_value", |
| 59 | + "//runtime:activation", |
| 60 | + "//runtime:evaluation_exception", |
| 61 | + "//runtime:function_resolver", |
| 62 | + "//runtime:interpretable", |
| 63 | + "//runtime:program", |
| 64 | + "@maven//:com_google_errorprone_error_prone_annotations", |
| 65 | + ], |
| 66 | +) |
| 67 | + |
| 68 | +java_library( |
| 69 | + name = "eval_const", |
| 70 | + srcs = ["EvalConstant.java"], |
| 71 | + deps = [ |
| 72 | + ":cel_value_interpretable", |
| 73 | + "//common/values:cel_value", |
| 74 | + "//runtime:interpretable", |
| 75 | + "@maven//:com_google_errorprone_error_prone_annotations", |
| 76 | + ], |
| 77 | +) |
| 78 | + |
| 79 | +java_library( |
| 80 | + name = "attribute", |
| 81 | + srcs = ["Attribute.java"], |
| 82 | + deps = [ |
| 83 | + "//common/types", |
| 84 | + "//common/types:type_providers", |
| 85 | + "//runtime:interpretable", |
| 86 | + "@maven//:com_google_errorprone_error_prone_annotations", |
| 87 | + "@maven//:com_google_guava_guava", |
| 88 | + ], |
| 89 | +) |
| 90 | + |
| 91 | +java_library( |
| 92 | + name = "attribute_factory", |
| 93 | + srcs = ["AttributeFactory.java"], |
| 94 | + deps = [ |
| 95 | + ":attribute", |
| 96 | + "//common:container", |
| 97 | + "//common/types:type_providers", |
| 98 | + "//common/values", |
| 99 | + "@maven//:com_google_errorprone_error_prone_annotations", |
| 100 | + "@maven//:com_google_guava_guava", |
| 101 | + ], |
| 102 | +) |
| 103 | + |
| 104 | +java_library( |
| 105 | + name = "eval_attribute", |
| 106 | + srcs = ["EvalAttribute.java"], |
| 107 | + deps = [ |
| 108 | + ":attribute", |
| 109 | + ":cel_value_interpretable", |
| 110 | + "//common/values", |
| 111 | + "//common/values:cel_value", |
| 112 | + "//runtime:interpretable", |
| 113 | + "@maven//:com_google_errorprone_error_prone_annotations", |
| 114 | + "@maven//:com_google_guava_guava", |
| 115 | + ], |
| 116 | +) |
0 commit comments