| load("@rules_java//java:defs.bzl", "java_library") |
| |
| package( |
| default_applicable_licenses = ["//:license"], |
| default_visibility = ["//src:__subpackages__"], |
| ) |
| |
| filegroup( |
| name = "srcs", |
| srcs = glob(["**"]) + [ |
| "//src/main/java/com/google/devtools/build/lib/runtime/commands/events:srcs", |
| "//src/main/java/com/google/devtools/build/lib/runtime/commands/info:srcs", |
| "//src/main/java/com/google/devtools/build/lib/runtime/commands/license:srcs", |
| ], |
| visibility = ["//src:__subpackages__"], |
| ) |
| |
| java_library( |
| name = "commands", |
| srcs = glob([ |
| "*.java", |
| ]), |
| resources = glob(["*.txt"]) + [ |
| "//src/main/java/com/google/devtools/build/lib/runtime/commands/license", |
| ], |
| 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:runtime", |
| "//src/main/java/com/google/devtools/build/lib:runtime/blaze_command_result", |
| "//src/main/java/com/google/devtools/build/lib:starlark_options_parser", |
| "//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/actions:commandline_item", |
| "//src/main/java/com/google/devtools/build/lib/actions:middleman_type", |
| "//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_version_info", |
| "//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/core_options", |
| "//src/main/java/com/google/devtools/build/lib/analysis:config/fragment", |
| "//src/main/java/com/google/devtools/build/lib/analysis:config/fragment_class_set", |
| "//src/main/java/com/google/devtools/build/lib/analysis:config/fragment_options", |
| "//src/main/java/com/google/devtools/build/lib/analysis:config/fragment_registry", |
| "//src/main/java/com/google/devtools/build/lib/analysis:config/invalid_configuration_exception", |
| "//src/main/java/com/google/devtools/build/lib/analysis:config/run_under", |
| "//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:no_build_event", |
| "//src/main/java/com/google/devtools/build/lib/analysis:no_build_request_finished_event", |
| "//src/main/java/com/google/devtools/build/lib/analysis:print_action_visitor", |
| "//src/main/java/com/google/devtools/build/lib/analysis:run_environment_info", |
| "//src/main/java/com/google/devtools/build/lib/analysis:test/test_configuration", |
| "//src/main/java/com/google/devtools/build/lib/buildeventstream", |
| "//src/main/java/com/google/devtools/build/lib/buildeventstream/proto:build_event_stream_java_proto", |
| "//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/events", |
| "//src/main/java/com/google/devtools/build/lib/exec:execution_options", |
| "//src/main/java/com/google/devtools/build/lib/exec:symlink_tree_helper", |
| "//src/main/java/com/google/devtools/build/lib/exec:test_policy", |
| "//src/main/java/com/google/devtools/build/lib/exec/local: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:label_printer", |
| "//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/profiler", |
| "//src/main/java/com/google/devtools/build/lib/profiler:profiler-output", |
| "//src/main/java/com/google/devtools/build/lib/profiler/memory:allocationtracker", |
| "//src/main/java/com/google/devtools/build/lib/query2", |
| "//src/main/java/com/google/devtools/build/lib/query2/common:abstract-blaze-query-env", |
| "//src/main/java/com/google/devtools/build/lib/query2/common:options", |
| "//src/main/java/com/google/devtools/build/lib/query2/common:universe-scope", |
| "//src/main/java/com/google/devtools/build/lib/query2/engine", |
| "//src/main/java/com/google/devtools/build/lib/query2/query/output", |
| "//src/main/java/com/google/devtools/build/lib/runtime/commands/events", |
| "//src/main/java/com/google/devtools/build/lib/runtime/commands/info", |
| "//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_key", |
| "//src/main/java/com/google/devtools/build/lib/skyframe:loading_phase_started_event", |
| "//src/main/java/com/google/devtools/build/lib/skyframe:package_progress_receiver", |
| "//src/main/java/com/google/devtools/build/lib/skyframe:repository_mapping_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/util", |
| "//src/main/java/com/google/devtools/build/lib/util:abrupt_exit_exception", |
| "//src/main/java/com/google/devtools/build/lib/util:command", |
| "//src/main/java/com/google/devtools/build/lib/util:detailed_exit_code", |
| "//src/main/java/com/google/devtools/build/lib/util:exit_code", |
| "//src/main/java/com/google/devtools/build/lib/util:filetype", |
| "//src/main/java/com/google/devtools/build/lib/util:interrupted_failure_details", |
| "//src/main/java/com/google/devtools/build/lib/util:os", |
| "//src/main/java/com/google/devtools/build/lib/util:shell_escaper", |
| "//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/util/io:out-err", |
| "//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/common/options", |
| "//src/main/java/com/google/devtools/common/options:invocation_policy", |
| "//src/main/java/net/starlark/java/eval", |
| "//src/main/protobuf:bazel_flags_java_proto", |
| "//src/main/protobuf:command_server_java_proto", |
| "//src/main/protobuf:extra_actions_base_java_proto", |
| "//src/main/protobuf:failure_details_java_proto", |
| "//src/main/protobuf:invocation_policy_java_proto", |
| "//third_party:flogger", |
| "//third_party:gson", |
| "//third_party:guava", |
| "//third_party:jsr305", |
| "//third_party/protobuf:protobuf_java", |
| ], |
| ) |