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

Move rules_pkg targets into //pkg, and add experimental C++ library rules #9823

Merged
merged 9 commits into from
Apr 20, 2022

Conversation

dlj-NaN
Copy link
Contributor

@dlj-NaN dlj-NaN commented Apr 20, 2022

This change moves the pkg_* rules into the //pkg package, which cleans up the root package.

It also adds an experimental cc_dist_library rule, which is similar to Bazel's cc_import rule. The goal of cc_dist_library is to produce output libraries from several targets. For example, splitting //:protobuf into multiple targets means that bazel-bin/libprotobuf.a won't contain all of the objects. The cc_dist_library creates a single library from several different cc_library targets. This may be useful for future packaging targets.

@dlj-NaN dlj-NaN marked this pull request as ready for review April 20, 2022 22:49
pkg/BUILD Show resolved Hide resolved
pkg/cc_dist_library.bzl Outdated Show resolved Hide resolved
@dlj-NaN dlj-NaN merged commit 46710ca into protocolbuffers:main Apr 20, 2022
@dlj-NaN dlj-NaN deleted the cppdist branch April 20, 2022 23:26
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.

3 participants