Skip to content

Remove copts for cc_library targets using nanopb protos #3483

@Andrewyx

Description

@Andrewyx

Description of the task

As a result of the Bazel 8 migration, a problem was noticed which forced the usage of copts = ["-Iexternal/nanopb+"]. This was the result of changes to nanopb and protobuf libraries (and also the protoc compilerandnanopb.bzl(our nanopb library rule) which failed to linknanopb` deps to nanopb generated headers and c implementations.

We should modify nanopb.bzl so that copts = ["-Iexternal/nanopb+"] is not necessary in every target.

Acceptance criteria

  • Removal of copts = ["-Iexternal/nanopb+"] from all parts of the current code base

Blocked By

Metadata

Metadata

Assignees

Labels

DevOpsFor everything related to logistics of codeDifficulty - 13Requires a good understanding of relevant systems and tools

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions