| load("@rules_java//java:defs.bzl", "java_library") |
| |
| package( |
| default_testonly = 1, |
| default_visibility = ["//src:__subpackages__"], |
| ) |
| |
| filegroup( |
| name = "srcs", |
| testonly = 0, |
| srcs = glob(["*"]), |
| visibility = ["//src:__subpackages__"], |
| ) |
| |
| # Redirection for util lib to allow exporting both ":util_internal" and the |
| # implementation of AnalysisMock as named in |
| # src/test/java/com/google/devtools/build/lib/testutil/TestConstants.java |
| java_library( |
| name = "util", |
| exports = [ |
| ":util_internal", |
| ], |
| runtime_deps = ["//src/test/java/com/google/devtools/build/lib/analysis/mock"], |
| ) |
| |
| java_library( |
| name = "util_internal", |
| srcs = glob(["*.java"]), |
| deps = [ |
| "//src/main/java/com/google/devtools/build/lib:build-request-options", |
| "//src/main/java/com/google/devtools/build/lib:keep-going-option", |
| "//src/main/java/com/google/devtools/build/lib:loading-phase-threads-option", |
| "//src/main/java/com/google/devtools/build/lib/actions", |
| "//src/main/java/com/google/devtools/build/lib/actions:action_lookup_key", |
| "//src/main/java/com/google/devtools/build/lib/actions:artifact_owner", |
| "//src/main/java/com/google/devtools/build/lib/actions:artifacts", |
| "//src/main/java/com/google/devtools/build/lib/actions:commandline_item", |
| "//src/main/java/com/google/devtools/build/lib/actions:package_roots", |
| "//src/main/java/com/google/devtools/build/lib/actions:thread_state_receiver", |
| "//src/main/java/com/google/devtools/build/lib/analysis:actions/parameter_file_write_action", |
| "//src/main/java/com/google/devtools/build/lib/analysis:analysis_cluster", |
| "//src/main/java/com/google/devtools/build/lib/analysis:analysis_options", |
| "//src/main/java/com/google/devtools/build/lib/analysis:blaze_directories", |
| "//src/main/java/com/google/devtools/build/lib/analysis:build_view", |
| "//src/main/java/com/google/devtools/build/lib/analysis:buildinfo/build_info_key", |
| "//src/main/java/com/google/devtools/build/lib/analysis:config/build_configuration", |
| "//src/main/java/com/google/devtools/build/lib/analysis:config/build_options", |
| "//src/main/java/com/google/devtools/build/lib/analysis:config/config_conditions", |
| "//src/main/java/com/google/devtools/build/lib/analysis:config/config_matching_provider", |
| "//src/main/java/com/google/devtools/build/lib/analysis:config/core_option_converters", |
| "//src/main/java/com/google/devtools/build/lib/analysis:config/execution_transition_factory", |
| "//src/main/java/com/google/devtools/build/lib/analysis:config/fragment", |
| "//src/main/java/com/google/devtools/build/lib/analysis:config/fragment_factory", |
| "//src/main/java/com/google/devtools/build/lib/analysis:config/fragment_options", |
| "//src/main/java/com/google/devtools/build/lib/analysis:config/invalid_configuration_exception", |
| "//src/main/java/com/google/devtools/build/lib/analysis:config/transitions/configuration_transition", |
| "//src/main/java/com/google/devtools/build/lib/analysis:config/transitions/no_transition", |
| "//src/main/java/com/google/devtools/build/lib/analysis:config/transitions/null_transition", |
| "//src/main/java/com/google/devtools/build/lib/analysis:config/transitions/patch_transition", |
| "//src/main/java/com/google/devtools/build/lib/analysis:configured_target", |
| "//src/main/java/com/google/devtools/build/lib/analysis:configured_target_value", |
| "//src/main/java/com/google/devtools/build/lib/analysis:dependency_key", |
| "//src/main/java/com/google/devtools/build/lib/analysis:dependency_kind", |
| "//src/main/java/com/google/devtools/build/lib/analysis:duplicate_exception", |
| "//src/main/java/com/google/devtools/build/lib/analysis:exec_group_collection", |
| "//src/main/java/com/google/devtools/build/lib/analysis:extra_action_artifacts_provider", |
| "//src/main/java/com/google/devtools/build/lib/analysis:file_provider", |
| "//src/main/java/com/google/devtools/build/lib/analysis:inconsistent_aspect_order_exception", |
| "//src/main/java/com/google/devtools/build/lib/analysis:resolved_toolchain_context", |
| "//src/main/java/com/google/devtools/build/lib/analysis:rule_definition_environment", |
| "//src/main/java/com/google/devtools/build/lib/analysis:server_directories", |
| "//src/main/java/com/google/devtools/build/lib/analysis:target_and_configuration", |
| "//src/main/java/com/google/devtools/build/lib/analysis:test/coverage_report_action_factory", |
| "//src/main/java/com/google/devtools/build/lib/analysis:test/instrumented_files_info", |
| "//src/main/java/com/google/devtools/build/lib/analysis:toolchain_collection", |
| "//src/main/java/com/google/devtools/build/lib/analysis:toolchain_context", |
| "//src/main/java/com/google/devtools/build/lib/analysis:top_level_artifact_context", |
| "//src/main/java/com/google/devtools/build/lib/analysis:transitive_info_collection", |
| "//src/main/java/com/google/devtools/build/lib/analysis:transitive_info_provider", |
| "//src/main/java/com/google/devtools/build/lib/analysis:view_creation_failed_exception", |
| "//src/main/java/com/google/devtools/build/lib/analysis:workspace_status_action", |
| "//src/main/java/com/google/devtools/build/lib/analysis/platform", |
| "//src/main/java/com/google/devtools/build/lib/bazel/bzlmod:resolution", |
| "//src/main/java/com/google/devtools/build/lib/bazel/bzlmod:resolution_impl", |
| "//src/main/java/com/google/devtools/build/lib/bazel/rules/android", |
| "//src/main/java/com/google/devtools/build/lib/bugreport", |
| "//src/main/java/com/google/devtools/build/lib/causes", |
| "//src/main/java/com/google/devtools/build/lib/clock", |
| "//src/main/java/com/google/devtools/build/lib/cmdline", |
| "//src/main/java/com/google/devtools/build/lib/collect/nestedset", |
| "//src/main/java/com/google/devtools/build/lib/concurrent", |
| "//src/main/java/com/google/devtools/build/lib/events", |
| "//src/main/java/com/google/devtools/build/lib/exec:execution_options", |
| "//src/main/java/com/google/devtools/build/lib/packages", |
| "//src/main/java/com/google/devtools/build/lib/packages:configured_attribute_mapper", |
| "//src/main/java/com/google/devtools/build/lib/packages/semantics", |
| "//src/main/java/com/google/devtools/build/lib/pkgcache", |
| "//src/main/java/com/google/devtools/build/lib/rules:repository/local_repository_rule", |
| "//src/main/java/com/google/devtools/build/lib/rules:repository/repository_function", |
| "//src/main/java/com/google/devtools/build/lib/rules/cpp", |
| "//src/main/java/com/google/devtools/build/lib/rules/java:java-compilation", |
| "//src/main/java/com/google/devtools/build/lib/shell", |
| "//src/main/java/com/google/devtools/build/lib/skyframe:aspect_key_creator", |
| "//src/main/java/com/google/devtools/build/lib/skyframe:build_configuration", |
| "//src/main/java/com/google/devtools/build/lib/skyframe:configured_target_and_data", |
| "//src/main/java/com/google/devtools/build/lib/skyframe:configured_target_key", |
| "//src/main/java/com/google/devtools/build/lib/skyframe:diff_awareness", |
| "//src/main/java/com/google/devtools/build/lib/skyframe:package_roots_no_symlink_creation", |
| "//src/main/java/com/google/devtools/build/lib/skyframe:package_value", |
| "//src/main/java/com/google/devtools/build/lib/skyframe:precomputed_value", |
| "//src/main/java/com/google/devtools/build/lib/skyframe:sky_functions", |
| "//src/main/java/com/google/devtools/build/lib/skyframe:skyframe_cluster", |
| "//src/main/java/com/google/devtools/build/lib/skyframe:starlark_builtins_value", |
| "//src/main/java/com/google/devtools/build/lib/skyframe:target_pattern_phase_value", |
| "//src/main/java/com/google/devtools/build/lib/skyframe:toolchain_exception", |
| "//src/main/java/com/google/devtools/build/lib/skyframe:unloaded_toolchain_context", |
| "//src/main/java/com/google/devtools/build/lib/skyframe/packages:PackageFactoryBuilderWithSkyframeForTesting", |
| "//src/main/java/com/google/devtools/build/lib/util", |
| "//src/main/java/com/google/devtools/build/lib/util:abrupt_exit_exception", |
| "//src/main/java/com/google/devtools/build/lib/util:crash_failure_details", |
| "//src/main/java/com/google/devtools/build/lib/util:filetype", |
| "//src/main/java/com/google/devtools/build/lib/util:string", |
| "//src/main/java/com/google/devtools/build/lib/util/io", |
| "//src/main/java/com/google/devtools/build/lib/vfs", |
| "//src/main/java/com/google/devtools/build/lib/vfs:pathfragment", |
| "//src/main/java/com/google/devtools/build/skyframe", |
| "//src/main/java/com/google/devtools/build/skyframe:skyframe-objects", |
| "//src/main/java/com/google/devtools/common/options", |
| "//src/main/java/net/starlark/java/eval", |
| "//src/test/java/com/google/devtools/build/lib/actions/util", |
| "//src/test/java/com/google/devtools/build/lib/bazel/bzlmod:util", |
| "//src/test/java/com/google/devtools/build/lib/packages:testutil", |
| "//src/test/java/com/google/devtools/build/lib/skyframe:testutil", |
| "//src/test/java/com/google/devtools/build/lib/testutil", |
| "//src/test/java/com/google/devtools/build/lib/testutil:SkyframeExecutorTestHelper", |
| "//src/test/java/com/google/devtools/build/lib/testutil:TestConstants", |
| "//src/test/java/com/google/devtools/build/skyframe:testutil", |
| "//third_party:auto_value", |
| "//third_party:guava", |
| "//third_party:jsr305", |
| "//third_party:junit4", |
| "//third_party:truth", |
| ], |
| ) |