Skip to content

Fix dependency resolution when generating rules. #7

Description

@while-false

From somewhere over the rainbow we had a proposal for code like this:

COMMON_DEPS = [ # Please find a better name!
        "@com_google_protobuf//:any_proto",
        "@com_google_protobuf//:duration_proto",
]

proto_library(
	name = "foo",
	deps = COMMON_DEPS,
)

cc_eventuals_library(
    name = "object_store_eventuals_generated",
    visibility = ["//visibility:public"],
    deps = [
        ":foo",
    ] + COMMON_DEPS,
)

The rule generation should be able to deduce the common dependencies automagically based on the foo dependencies.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions