Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support so/dylib/dll packaging types #959

Merged
merged 1 commit into from
Feb 16, 2024
Merged

Conversation

dzbarsky
Copy link
Contributor

I think it would be a bit nicer to set up the data dependencies in the generated rules, but I wasn't able to get it working when trying a combination of cc_import, java_library, etc. The downside of doing that is we wouldn't be able to use select to depend on just the platform-specific jar that we want.

If anyone has ideas how to do better, let me know!

@dzbarsky dzbarsky changed the title Support so/dylib/exe packaging types Support so/dylib/dll packaging types Sep 15, 2023
name = "{dylib}_extension",
srcs = ["@{repository}//file"],
outs = ["{dylib}"],
cmd = "cp $< $@",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these copy rules exist to bring the artifacts into the @maven// top-level, which lets the user have a single java.library.path flag

@shs96c
Copy link
Collaborator

shs96c commented Sep 29, 2023

@dzbarsky, my apologies for how long it's taking me to review this PR: I've traveled and have some work commitments, but I will get to this as soon as possible.

@dzbarsky
Copy link
Contributor Author

@dzbarsky, my apologies for how long it's taking me to review this PR: I've traveled and have some work commitments, but I will get to this as soon as possible.

No worries, this is not long at all compared to other projects I've contributed to in the past :) Thanks for the update!

@dzbarsky
Copy link
Contributor Author

@shs96c Any idea when you'll have a chance to look at this one?

Copy link
Collaborator

@shs96c shs96c left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thank you for your patience! It's very much appreciated!

@shs96c shs96c merged commit 99795b4 into bazel-contrib:master Feb 16, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants