| load("@rules_java//java:defs.bzl", "java_library") |
| |
| package( |
| default_applicable_licenses = ["//:license"], |
| default_visibility = ["//src:__subpackages__"], |
| ) |
| |
| filegroup( |
| name = "srcs", |
| srcs = glob(["**"]), |
| visibility = ["//src:__subpackages__"], |
| ) |
| |
| java_library( |
| name = "query2", |
| srcs = glob( |
| [ |
| "*.java", |
| "aquery/*.java", |
| "cquery/*.java", |
| "query/*.java", |
| ], |
| exclude = [ |
| "AbstractBlazeQueryEnvironment.java", |
| "FakeLoadTarget.java", |
| ], |
| ), |
| deps = [ |
| "//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:artifacts", |
| "//src/main/java/com/google/devtools/build/lib/actions:commandline_item", |
| "//src/main/java/com/google/devtools/build/lib/actions:file_metadata", |
| "//src/main/java/com/google/devtools/build/lib/analysis:actions/abstract_file_write_action", |
| "//src/main/java/com/google/devtools/build/lib/analysis:actions/parameter_file_write_action", |
| "//src/main/java/com/google/devtools/build/lib/analysis:actions/substitution", |
| "//src/main/java/com/google/devtools/build/lib/analysis:actions/template_expansion_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/analysis:config/build_options", |
| "//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_options", |
| "//src/main/java/com/google/devtools/build/lib/analysis:config/options_diff", |
| "//src/main/java/com/google/devtools/build/lib/analysis:config/starlark_defined_config_transition", |
| "//src/main/java/com/google/devtools/build/lib/analysis:config/starlark_transition_cache", |
| "//src/main/java/com/google/devtools/build/lib/analysis:config/toolchain_type_requirement", |
| "//src/main/java/com/google/devtools/build/lib/analysis:config/transitions/composing_transition", |
| "//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/transition_factory", |
| "//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:constraints/incompatible_target_checker", |
| "//src/main/java/com/google/devtools/build/lib/analysis:dependency_kind", |
| "//src/main/java/com/google/devtools/build/lib/analysis:required_config_fragments_provider", |
| "//src/main/java/com/google/devtools/build/lib/analysis:target_and_configuration", |
| "//src/main/java/com/google/devtools/build/lib/analysis:top_level_artifact_context", |
| "//src/main/java/com/google/devtools/build/lib/analysis/config/output:configuration_for_output", |
| "//src/main/java/com/google/devtools/build/lib/analysis/config/output:fragment_for_output", |
| "//src/main/java/com/google/devtools/build/lib/analysis/config/output:fragment_options_for_output", |
| "//src/main/java/com/google/devtools/build/lib/analysis/producers", |
| "//src/main/java/com/google/devtools/build/lib/bugreport", |
| "//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/cmdline:parallel_visitor", |
| "//src/main/java/com/google/devtools/build/lib/collect/compacthashset", |
| "//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/graph", |
| "//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:package_specification", |
| "//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:google-auto-profiler-utils", |
| "//src/main/java/com/google/devtools/build/lib/query2/common:QueryTransitivePackagePreloader", |
| "//src/main/java/com/google/devtools/build/lib/query2/common:UniverseSkyKey", |
| "//src/main/java/com/google/devtools/build/lib/query2/common:abstract-blaze-query-env", |
| "//src/main/java/com/google/devtools/build/lib/query2/common:cquery-node", |
| "//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/compat:fake-load-target", |
| "//src/main/java/com/google/devtools/build/lib/query2/engine", |
| "//src/main/java/com/google/devtools/build/lib/query2/query/aspectresolvers", |
| "//src/main/java/com/google/devtools/build/lib/query2/query/output", |
| "//src/main/java/com/google/devtools/build/lib/rules:alias", |
| "//src/main/java/com/google/devtools/build/lib/rules:repository/workspace_file_helper", |
| "//src/main/java/com/google/devtools/build/lib/skyframe:aspect_key_creator", |
| "//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:containing_package_lookup_function", |
| "//src/main/java/com/google/devtools/build/lib/skyframe:detailed_exceptions", |
| "//src/main/java/com/google/devtools/build/lib/skyframe:directory_listing_state_value", |
| "//src/main/java/com/google/devtools/build/lib/skyframe:directory_listing_value", |
| "//src/main/java/com/google/devtools/build/lib/skyframe:graph_backed_recursive_package_provider", |
| "//src/main/java/com/google/devtools/build/lib/skyframe:ignored_package_prefixes_value", |
| "//src/main/java/com/google/devtools/build/lib/skyframe:package_identifier_batching_callback", |
| "//src/main/java/com/google/devtools/build/lib/skyframe:package_lookup_value", |
| "//src/main/java/com/google/devtools/build/lib/skyframe:package_value", |
| "//src/main/java/com/google/devtools/build/lib/skyframe:prepare_deps_of_patterns_function", |
| "//src/main/java/com/google/devtools/build/lib/skyframe:recursive_package_provider_backed_target_pattern_resolver", |
| "//src/main/java/com/google/devtools/build/lib/skyframe:recursive_pkg_value_root_package_extractor", |
| "//src/main/java/com/google/devtools/build/lib/skyframe:rule_configured_target_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:target_pattern_value", |
| "//src/main/java/com/google/devtools/build/lib/skyframe:transitive_traversal_value", |
| "//src/main/java/com/google/devtools/build/lib/skyframe:traversal_info_root_package_extractor", |
| "//src/main/java/com/google/devtools/build/lib/skyframe:workspace_name_value", |
| "//src/main/java/com/google/devtools/build/lib/skyframe/actiongraph/v2:actiongraph_v2", |
| "//src/main/java/com/google/devtools/build/lib/skyframe/config", |
| "//src/main/java/com/google/devtools/build/lib/supplier", |
| "//src/main/java/com/google/devtools/build/lib/util", |
| "//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:shell_escaper", |
| "//src/main/java/com/google/devtools/build/lib/util:string", |
| "//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/annot", |
| "//src/main/java/net/starlark/java/eval", |
| "//src/main/java/net/starlark/java/syntax", |
| "//src/main/protobuf:analysis_v2_java_proto", |
| "//src/main/protobuf:build_java_proto", |
| "//src/main/protobuf:failure_details_java_proto", |
| "//third_party:auto_value", |
| "//third_party:flogger", |
| "//third_party:guava", |
| "//third_party:jsr305", |
| "//third_party/protobuf:protobuf_java", |
| "//third_party/protobuf:protobuf_java_util", |
| ], |
| ) |
| |
| java_library( |
| name = "aquery-utils", |
| srcs = [ |
| "aquery/AqueryActionFilter.java", |
| "aquery/AqueryUtils.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:actions/template_expansion_action", |
| "//src/main/java/com/google/devtools/build/lib/collect/nestedset", |
| "//src/main/java/com/google/devtools/build/lib/query2/engine", |
| "//third_party:guava", |
| ], |
| ) |