bazel-contrib / bazel-contrib/buildtools

import `cc_proto_library` from `@protobuf` or `@com_google_protobuf`

Open
#1,307 0 comments 0 reactions 0 assignees View on GitHub
P2
Dominant language
Go
Stars
1.2k
Forks
471
Avg merge
2d 22h
Merged PRs (30d)
13

Description

It looks like the location of `cc_proto_library` has been removed from `@rules_cc//:defs.bzl` and the suggested new location is `@protobuf//bazel:cc_proto_library.bzl` or `@com_google_protobuf`. is it possible to update the `native-cc` fix to support that?

`@rules_cc` removed `cc_proto_library` in [`v0.1.0`](https://github.com/bazelbuild/rules_cc/releases/tag/0.1.0) although later reverted back.

Contributor guide

Open the contributing guide

Research direction

Locate the native-cc fix and inspect how it currently resolves cc_proto_library from @rules_cc//:defs.bzl. Confirm the change is complete when the fix supports the suggested @protobuf//bazel:cc_proto_library.bzl and @com_google_protobuf locations, while preserving the later-reverted @rules_cc case.

Written by the indexing model from the issue text.

Assessment

Domain
build-system, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.