| load("@rules_java//java:defs.bzl", "java_library") |
| |
| package(default_visibility = ["//src:__subpackages__"]) |
| |
| filegroup( |
| name = "srcs", |
| srcs = glob(["**"]) + [ |
| "//src/main/java/com/google/devtools/build/lib/rules/android:srcs", |
| "//src/main/java/com/google/devtools/build/lib/rules/apple:srcs", |
| "//src/main/java/com/google/devtools/build/lib/rules/config:srcs", |
| "//src/main/java/com/google/devtools/build/lib/rules/cpp:srcs", |
| "//src/main/java/com/google/devtools/build/lib/rules/genquery:srcs", |
| "//src/main/java/com/google/devtools/build/lib/rules/genrule:srcs", |
| "//src/main/java/com/google/devtools/build/lib/rules/java:srcs", |
| "//src/main/java/com/google/devtools/build/lib/rules/objc:srcs", |
| "//src/main/java/com/google/devtools/build/lib/rules/platform:srcs", |
| "//src/main/java/com/google/devtools/build/lib/rules/proto:srcs", |
| "//src/main/java/com/google/devtools/build/lib/rules/python:srcs", |
| ], |
| visibility = ["//src:__subpackages__"], |
| ) |
| |
| java_library( |
| name = "legacy_exports", |
| exports = [ |
| ":alias", |
| ":extra/action_listener", |
| ":extra/action_listener_rule", |
| ":extra/extra_action_factory", |
| ":extra/extra_action_rule", |
| ":filegroup/filegroup", |
| ":filegroup/filegroup_path_provider", |
| ":label_build_settings", |
| ":repository/bind", |
| ":repository/bind_rule", |
| ":repository/local_repository_rule", |
| ":repository/new_local_repository_function", |
| ":repository/new_local_repository_rule", |
| ":repository/new_repository_file_handler", |
| ":repository/repository_directory_value", |
| ":repository/repository_function", |
| ":repository/resolved_file_value", |
| ":repository/resolved_hashes_value", |
| ":repository/workspace_attribute_mapper", |
| ":repository/workspace_base_rule", |
| ":repository/workspace_configured_target_factory", |
| ":repository/workspace_file_helper", |
| ":toolchain_type", |
| ], |
| ) |
| |
| # TODO: Move to core/rules. |
| java_library( |
| name = "core_rules", |
| srcs = glob( |
| ["core/*.java"], |
| ), |
| deps = [ |
| "//src/main/java/com/google/devtools/build/lib/actions", |
| "//src/main/java/com/google/devtools/build/lib/actions:artifacts", |
| "//src/main/java/com/google/devtools/build/lib/analysis:analysis_cluster", |
| "//src/main/java/com/google/devtools/build/lib/analysis:configured_target", |
| "//src/main/java/com/google/devtools/build/lib/analysis:test/coverage_configuration", |
| "//src/main/java/com/google/devtools/build/lib/analysis:test/test_configuration", |
| "//src/main/java/com/google/devtools/build/lib/analysis:test/test_trimming_transition_factory", |
| "//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/packages", |
| "//src/main/java/com/google/devtools/build/lib/skyframe:configured_target_and_data", |
| ], |
| ) |
| |
| # TODO(bazel-team): Include in the srcs the implementations of the rules inside |
| # CoreWorkspaceRules.java once they can be extracted from the "build-base" target. They can't be |
| # extracted currently because of non-trivial inter-package dependencies. |
| java_library( |
| name = "core_workspace_rules", |
| srcs = [ |
| "repository/CoreWorkspaceRules.java", |
| ], |
| deps = [ |
| ":core_rules", |
| ":repository/bind_rule", |
| ":repository/local_repository_rule", |
| ":repository/workspace_base_rule", |
| "//src/main/java/com/google/devtools/build/lib/analysis:analysis_cluster", |
| "//third_party:guava", |
| ], |
| ) |
| |
| # TODO: Move to rules/nativedeps. |
| java_library( |
| name = "nativedeps", |
| srcs = glob( |
| ["nativedeps/*.java"], |
| ), |
| deps = [ |
| "//src/main/java/com/google/devtools/build/lib/actions:artifacts", |
| "//src/main/java/com/google/devtools/build/lib/analysis:actions/symlink_action", |
| "//src/main/java/com/google/devtools/build/lib/analysis:analysis_cluster", |
| "//src/main/java/com/google/devtools/build/lib/analysis:config/build_configuration", |
| "//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/packages", |
| "//src/main/java/com/google/devtools/build/lib/rules/cpp", |
| "//src/main/java/com/google/devtools/build/lib/util", |
| "//src/main/java/com/google/devtools/build/lib/vfs:pathfragment", |
| "//third_party:guava", |
| "//third_party:jsr305", |
| ], |
| ) |
| |
| # TODO: Move to rules/test. |
| java_library( |
| name = "test_rules", |
| srcs = glob( |
| ["test/*.java"], |
| ), |
| deps = [ |
| ":core_rules", |
| "//src/main/java/com/google/devtools/build/lib/actions", |
| "//src/main/java/com/google/devtools/build/lib/analysis:analysis_cluster", |
| "//src/main/java/com/google/devtools/build/lib/analysis:configured_target", |
| "//src/main/java/com/google/devtools/build/lib/analysis:rule_definition_environment", |
| "//src/main/java/com/google/devtools/build/lib/analysis:run_environment_info", |
| "//src/main/java/com/google/devtools/build/lib/analysis:test/analysis_failure_info", |
| "//src/main/java/com/google/devtools/build/lib/analysis:test/analysis_test_result_info", |
| "//src/main/java/com/google/devtools/build/lib/analysis:test/execution_info", |
| "//src/main/java/com/google/devtools/build/lib/analysis:test/instrumented_files_info", |
| "//src/main/java/com/google/devtools/build/lib/analysis:test/test_configuration", |
| "//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/concurrent", |
| "//src/main/java/com/google/devtools/build/lib/events", |
| "//src/main/java/com/google/devtools/build/lib/packages", |
| "//src/main/java/com/google/devtools/build/lib/starlarkbuildapi/test", |
| "//src/main/java/com/google/devtools/build/lib/util", |
| "//src/main/java/com/google/devtools/build/lib/vfs", |
| "//src/main/java/net/starlark/java/eval", |
| "//src/main/protobuf:test_status_java_proto", |
| "//third_party:guava", |
| "//third_party:jsr305", |
| ], |
| ) |
| |
| java_library( |
| name = "alias", |
| srcs = [ |
| "Alias.java", |
| "AliasConfiguredTarget.java", |
| "LateBoundAlias.java", |
| ], |
| deps = [ |
| "//src/main/java/com/google/devtools/build/lib/actions", |
| "//src/main/java/com/google/devtools/build/lib/actions:artifacts", |
| "//src/main/java/com/google/devtools/build/lib/analysis:analysis_cluster", |
| "//src/main/java/com/google/devtools/build/lib/analysis:build_setting_provider", |
| "//src/main/java/com/google/devtools/build/lib/analysis:config/config_matching_provider", |
| "//src/main/java/com/google/devtools/build/lib/analysis:config/core_options", |
| "//src/main/java/com/google/devtools/build/lib/analysis:config/fragment", |
| "//src/main/java/com/google/devtools/build/lib/analysis:configured_target", |
| "//src/main/java/com/google/devtools/build/lib/analysis:file_provider", |
| "//src/main/java/com/google/devtools/build/lib/analysis:required_config_fragments_provider", |
| "//src/main/java/com/google/devtools/build/lib/analysis:rule_definition_environment", |
| "//src/main/java/com/google/devtools/build/lib/analysis:transitive_info_provider", |
| "//src/main/java/com/google/devtools/build/lib/analysis:visibility_provider", |
| "//src/main/java/com/google/devtools/build/lib/analysis:visibility_provider_impl", |
| "//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/packages", |
| "//src/main/java/com/google/devtools/build/lib/skyframe:build_configuration", |
| "//src/main/java/com/google/devtools/build/lib/util:filetype", |
| "//src/main/java/net/starlark/java/eval", |
| "//third_party:guava", |
| "//third_party:jsr305", |
| ], |
| ) |
| |
| java_library( |
| name = "extra/action_listener", |
| srcs = ["extra/ActionListener.java"], |
| deps = [ |
| "//src/main/java/com/google/devtools/build/lib/actions", |
| "//src/main/java/com/google/devtools/build/lib/analysis:analysis_cluster", |
| "//src/main/java/com/google/devtools/build/lib/analysis:configured_target", |
| "//src/main/java/com/google/devtools/build/lib/analysis:transitive_info_collection", |
| "//src/main/java/com/google/devtools/build/lib/collect", |
| "//src/main/java/com/google/devtools/build/lib/packages", |
| "//third_party:guava", |
| "//third_party:jsr305", |
| ], |
| ) |
| |
| java_library( |
| name = "extra/action_listener_rule", |
| srcs = ["extra/ActionListenerRule.java"], |
| deps = [ |
| ":extra/action_listener", |
| "//src/main/java/com/google/devtools/build/lib/analysis:analysis_cluster", |
| "//src/main/java/com/google/devtools/build/lib/analysis:rule_definition_environment", |
| "//src/main/java/com/google/devtools/build/lib/packages", |
| ], |
| ) |
| |
| java_library( |
| name = "extra/extra_action_factory", |
| srcs = ["extra/ExtraActionFactory.java"], |
| deps = [ |
| "//src/main/java/com/google/devtools/build/lib/actions", |
| "//src/main/java/com/google/devtools/build/lib/actions:artifacts", |
| "//src/main/java/com/google/devtools/build/lib/analysis:analysis_cluster", |
| "//src/main/java/com/google/devtools/build/lib/analysis:configured_target", |
| "//src/main/java/com/google/devtools/build/lib/packages", |
| "//src/main/java/com/google/devtools/build/lib/vfs:pathfragment", |
| "//third_party:guava", |
| "//third_party:jsr305", |
| ], |
| ) |
| |
| java_library( |
| name = "extra/extra_action_rule", |
| srcs = ["extra/ExtraActionRule.java"], |
| deps = [ |
| ":extra/extra_action_factory", |
| "//src/main/java/com/google/devtools/build/lib/analysis:analysis_cluster", |
| "//src/main/java/com/google/devtools/build/lib/analysis:config/execution_transition_factory", |
| "//src/main/java/com/google/devtools/build/lib/analysis:rule_definition_environment", |
| "//src/main/java/com/google/devtools/build/lib/packages", |
| ], |
| ) |
| |
| java_library( |
| name = "filegroup/filegroup", |
| srcs = ["filegroup/Filegroup.java"], |
| deps = [ |
| ":filegroup/filegroup_path_provider", |
| "//src/main/java/com/google/devtools/build/lib/actions", |
| "//src/main/java/com/google/devtools/build/lib/actions:artifacts", |
| "//src/main/java/com/google/devtools/build/lib/analysis:analysis_cluster", |
| "//src/main/java/com/google/devtools/build/lib/analysis:config/build_configuration", |
| "//src/main/java/com/google/devtools/build/lib/analysis:configured_target", |
| "//src/main/java/com/google/devtools/build/lib/analysis:test/instrumented_files_info", |
| "//src/main/java/com/google/devtools/build/lib/analysis:transitive_info_collection", |
| "//src/main/java/com/google/devtools/build/lib/collect/nestedset", |
| "//src/main/java/com/google/devtools/build/lib/packages", |
| "//src/main/java/com/google/devtools/build/lib/util:filetype", |
| "//src/main/java/com/google/devtools/build/lib/vfs:pathfragment", |
| "//third_party:guava", |
| "//third_party:jsr305", |
| ], |
| ) |
| |
| java_library( |
| name = "filegroup/filegroup_path_provider", |
| srcs = ["filegroup/FilegroupPathProvider.java"], |
| deps = [ |
| "//src/main/java/com/google/devtools/build/lib/concurrent", |
| "//src/main/java/com/google/devtools/build/lib/packages", |
| "//src/main/java/com/google/devtools/build/lib/vfs:pathfragment", |
| "//src/main/java/net/starlark/java/annot", |
| ], |
| ) |
| |
| java_library( |
| name = "label_build_settings", |
| srcs = ["LabelBuildSettings.java"], |
| deps = [ |
| ":alias", |
| "//src/main/java/com/google/devtools/build/lib/analysis:config/build_configuration", |
| "//src/main/java/com/google/devtools/build/lib/analysis:rule_definition_environment", |
| "//src/main/java/com/google/devtools/build/lib/cmdline", |
| "//src/main/java/com/google/devtools/build/lib/packages", |
| "//src/main/java/com/google/devtools/build/lib/skyframe/serialization/autocodec", |
| "//src/main/java/com/google/devtools/build/lib/skyframe/serialization/autocodec:serialization-constant", |
| "//src/main/java/net/starlark/java/eval", |
| "//third_party:guava", |
| ], |
| ) |
| |
| java_library( |
| name = "repository/bind", |
| srcs = ["repository/Bind.java"], |
| deps = [ |
| ":alias", |
| "//src/main/java/com/google/devtools/build/lib/actions", |
| "//src/main/java/com/google/devtools/build/lib/analysis:analysis_cluster", |
| "//src/main/java/com/google/devtools/build/lib/analysis:configured_target", |
| "//src/main/java/com/google/devtools/build/lib/collect/nestedset", |
| "//src/main/java/com/google/devtools/build/lib/packages", |
| "//third_party:guava", |
| "//third_party:jsr305", |
| ], |
| ) |
| |
| java_library( |
| name = "repository/bind_rule", |
| srcs = ["repository/BindRule.java"], |
| deps = [ |
| ":repository/bind", |
| "//src/main/java/com/google/devtools/build/lib/analysis:analysis_cluster", |
| "//src/main/java/com/google/devtools/build/lib/analysis:rule_definition_environment", |
| "//src/main/java/com/google/devtools/build/lib/packages", |
| "//src/main/java/com/google/devtools/build/lib/util:filetype", |
| ], |
| ) |
| |
| java_library( |
| name = "repository/local_repository_rule", |
| srcs = ["repository/LocalRepositoryRule.java"], |
| deps = [ |
| ":repository/workspace_base_rule", |
| ":repository/workspace_configured_target_factory", |
| "//src/main/java/com/google/devtools/build/lib/analysis:analysis_cluster", |
| "//src/main/java/com/google/devtools/build/lib/analysis:rule_definition_environment", |
| "//src/main/java/com/google/devtools/build/lib/packages", |
| ], |
| ) |
| |
| java_library( |
| name = "repository/new_local_repository_function", |
| srcs = ["repository/NewLocalRepositoryFunction.java"], |
| deps = [ |
| ":repository/new_local_repository_rule", |
| ":repository/new_repository_file_handler", |
| ":repository/repository_directory_value", |
| ":repository/repository_function", |
| "//src/main/java/com/google/devtools/build/lib/actions:file_metadata", |
| "//src/main/java/com/google/devtools/build/lib/analysis:analysis_cluster", |
| "//src/main/java/com/google/devtools/build/lib/analysis:blaze_directories", |
| "//src/main/java/com/google/devtools/build/lib/bazel:resolved_event", |
| "//src/main/java/com/google/devtools/build/lib/bugreport", |
| "//src/main/java/com/google/devtools/build/lib/io:inconsistent_filesystem_exception", |
| "//src/main/java/com/google/devtools/build/lib/packages", |
| "//src/main/java/com/google/devtools/build/lib/skyframe:directory_listing_value", |
| "//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/net/starlark/java/eval", |
| "//third_party:guava", |
| "//third_party:jsr305", |
| ], |
| ) |
| |
| java_library( |
| name = "repository/new_local_repository_rule", |
| srcs = ["repository/NewLocalRepositoryRule.java"], |
| deps = [ |
| ":repository/workspace_base_rule", |
| ":repository/workspace_configured_target_factory", |
| "//src/main/java/com/google/devtools/build/lib/analysis:analysis_cluster", |
| "//src/main/java/com/google/devtools/build/lib/analysis:rule_definition_environment", |
| "//src/main/java/com/google/devtools/build/lib/packages", |
| ], |
| ) |
| |
| java_library( |
| name = "repository/new_repository_file_handler", |
| srcs = ["repository/NewRepositoryFileHandler.java"], |
| deps = [ |
| ":repository/repository_function", |
| ":repository/workspace_attribute_mapper", |
| "//src/main/java/com/google/devtools/build/lib/actions:file_metadata", |
| "//src/main/java/com/google/devtools/build/lib/cmdline", |
| "//src/main/java/com/google/devtools/build/lib/cmdline:LabelValidator", |
| "//src/main/java/com/google/devtools/build/lib/packages", |
| "//src/main/java/com/google/devtools/build/lib/skyframe:package_lookup_value", |
| "//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/net/starlark/java/eval", |
| "//third_party:guava", |
| "//third_party:jsr305", |
| ], |
| ) |
| |
| java_library( |
| name = "repository/repository_directory_value", |
| srcs = ["repository/RepositoryDirectoryValue.java"], |
| deps = [ |
| "//src/main/java/com/google/devtools/build/lib/cmdline", |
| "//src/main/java/com/google/devtools/build/lib/concurrent", |
| "//src/main/java/com/google/devtools/build/lib/skyframe:directory_listing_value", |
| "//src/main/java/com/google/devtools/build/lib/skyframe:sky_functions", |
| "//src/main/java/com/google/devtools/build/lib/skyframe/serialization/autocodec", |
| "//src/main/java/com/google/devtools/build/lib/vfs", |
| "//src/main/java/com/google/devtools/build/skyframe:skyframe-objects", |
| "//third_party:guava", |
| "//third_party:jsr305", |
| ], |
| ) |
| |
| java_library( |
| name = "repository/repository_function", |
| srcs = [ |
| "repository/LocalRepositoryFunction.java", |
| "repository/NeedsSkyframeRestartException.java", |
| "repository/RepositoryDelegatorFunction.java", |
| "repository/RepositoryDirectoryDirtinessChecker.java", |
| "repository/RepositoryFunction.java", |
| "repository/ResolvedFileFunction.java", |
| "repository/ResolvedHashesFunction.java", |
| ], |
| deps = [ |
| ":repository/local_repository_rule", |
| ":repository/repository_directory_value", |
| ":repository/resolved_file_value", |
| ":repository/resolved_hashes_value", |
| ":repository/workspace_attribute_mapper", |
| ":repository/workspace_file_helper", |
| "//src/main/java/com/google/devtools/build/lib/actions:file_metadata", |
| "//src/main/java/com/google/devtools/build/lib/analysis:analysis_cluster", |
| "//src/main/java/com/google/devtools/build/lib/analysis:blaze_directories", |
| "//src/main/java/com/google/devtools/build/lib/bazel:resolved_event", |
| "//src/main/java/com/google/devtools/build/lib/bazel/bzlmod:repo_rule_value", |
| "//src/main/java/com/google/devtools/build/lib/cmdline", |
| "//src/main/java/com/google/devtools/build/lib/cmdline:LabelValidator", |
| "//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/packages", |
| "//src/main/java/com/google/devtools/build/lib/packages/semantics", |
| "//src/main/java/com/google/devtools/build/lib/repository:external_package_exception", |
| "//src/main/java/com/google/devtools/build/lib/repository:external_package_helper", |
| "//src/main/java/com/google/devtools/build/lib/repository:external_rule_not_found_exception", |
| "//src/main/java/com/google/devtools/build/lib/repository:repository_events", |
| "//src/main/java/com/google/devtools/build/lib/skyframe:action_environment_function", |
| "//src/main/java/com/google/devtools/build/lib/skyframe:already_reported_exception", |
| "//src/main/java/com/google/devtools/build/lib/skyframe:package_lookup_function", |
| "//src/main/java/com/google/devtools/build/lib/skyframe:package_lookup_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:sky_value_dirtiness_checker", |
| "//src/main/java/com/google/devtools/build/lib/util", |
| "//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/net/starlark/java/eval", |
| "//src/main/java/net/starlark/java/syntax", |
| "//third_party:guava", |
| "//third_party:jsr305", |
| ], |
| ) |
| |
| java_library( |
| name = "repository/resolved_file_value", |
| srcs = ["repository/ResolvedFileValue.java"], |
| deps = [ |
| "//src/main/java/com/google/devtools/build/lib/concurrent", |
| "//src/main/java/com/google/devtools/build/lib/skyframe:sky_functions", |
| "//src/main/java/com/google/devtools/build/lib/skyframe/serialization/autocodec", |
| "//src/main/java/com/google/devtools/build/lib/vfs", |
| "//src/main/java/com/google/devtools/build/skyframe:skyframe-objects", |
| "//third_party:guava", |
| ], |
| ) |
| |
| java_library( |
| name = "repository/resolved_hashes_value", |
| srcs = ["repository/ResolvedHashesValue.java"], |
| deps = [ |
| "//src/main/java/com/google/devtools/build/lib/skyframe:sky_functions", |
| "//src/main/java/com/google/devtools/build/lib/skyframe/serialization/autocodec", |
| "//src/main/java/com/google/devtools/build/lib/skyframe/serialization/autocodec:serialization-constant", |
| "//src/main/java/com/google/devtools/build/skyframe:skyframe-objects", |
| ], |
| ) |
| |
| java_library( |
| name = "repository/workspace_attribute_mapper", |
| srcs = ["repository/WorkspaceAttributeMapper.java"], |
| deps = [ |
| "//src/main/java/com/google/devtools/build/lib/packages", |
| "//src/main/java/net/starlark/java/eval", |
| "//third_party:guava", |
| "//third_party:jsr305", |
| ], |
| ) |
| |
| java_library( |
| name = "repository/workspace_base_rule", |
| srcs = ["repository/WorkspaceBaseRule.java"], |
| deps = [ |
| "//src/main/java/com/google/devtools/build/lib/analysis:analysis_cluster", |
| "//src/main/java/com/google/devtools/build/lib/analysis:rule_definition_environment", |
| "//src/main/java/com/google/devtools/build/lib/packages", |
| ], |
| ) |
| |
| java_library( |
| name = "repository/workspace_configured_target_factory", |
| srcs = ["repository/WorkspaceConfiguredTargetFactory.java"], |
| deps = [ |
| "//src/main/java/com/google/devtools/build/lib/actions", |
| "//src/main/java/com/google/devtools/build/lib/analysis:analysis_cluster", |
| "//src/main/java/com/google/devtools/build/lib/analysis:configured_target", |
| "//src/main/java/com/google/devtools/build/lib/packages", |
| ], |
| ) |
| |
| java_library( |
| name = "repository/workspace_file_helper", |
| srcs = ["repository/WorkspaceFileHelper.java"], |
| deps = [ |
| "//src/main/java/com/google/devtools/build/lib/actions:file_metadata", |
| "//src/main/java/com/google/devtools/build/lib/cmdline", |
| "//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", |
| "//third_party:jsr305", |
| ], |
| ) |
| |
| java_library( |
| name = "toolchain_type", |
| srcs = ["ToolchainType.java"], |
| deps = [ |
| "//src/main/java/com/google/devtools/build/lib/actions", |
| "//src/main/java/com/google/devtools/build/lib/analysis:analysis_cluster", |
| "//src/main/java/com/google/devtools/build/lib/analysis:configured_target", |
| "//src/main/java/com/google/devtools/build/lib/analysis:rule_definition_environment", |
| "//src/main/java/com/google/devtools/build/lib/analysis/platform", |
| "//src/main/java/com/google/devtools/build/lib/packages", |
| "//third_party:jsr305", |
| ], |
| ) |
| |
| filegroup( |
| name = "bazel-docgen-src", |
| srcs = glob(["**/*.java"]), |
| ) |
| |
| filegroup( |
| name = "docgen_src", |
| srcs = glob( |
| [ |
| "*.java", |
| "test/*.java", |
| "extra/*.java", |
| ], |
| ), |
| ) |