Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nanopb/nanopb.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArmando Montanez <amontanez@google.com>2023-11-08 21:24:19 +0300
committerPetteri Aimonen <jpa@github.mail.kapsi.fi>2023-11-09 10:12:04 +0300
commit444aca1c4b1d782ee62168232d7b466a837c609e (patch)
tree4d4d15334579f0d6c27554ebf5694e9a27b2420f
parent839156b71c64b0a6073ad9c8d793f5913075d9bb (diff)
Remove `nocopts` from cc_nanopb_proto_library
With Bazel 7.0.0, nocopts has been removed and is no longer supported. The correct way to handle this is to subtract features using the `features` attribute (see bazelbuild/bazel#8706).
-rw-r--r--extra/bazel/nanopb_cc_proto_library.bzl2
1 files changed, 1 insertions, 1 deletions
diff --git a/extra/bazel/nanopb_cc_proto_library.bzl b/extra/bazel/nanopb_cc_proto_library.bzl
index e1a58d5..ba292b1 100644
--- a/extra/bazel/nanopb_cc_proto_library.bzl
+++ b/extra/bazel/nanopb_cc_proto_library.bzl
@@ -83,11 +83,11 @@ def cc_nanopb_proto_library(name, **kwargs): # buildifier: disable=function-doc
alwayslink = kwargs.get("alwayslink"),
copts = kwargs.get("copts"),
defines = kwargs.get("defines"),
+ features = kwargs.get("features"),
include_prefix = kwargs.get("include_prefix"),
linkopts = kwargs.get("linkopts"),
linkstatic = kwargs.get("linkstatic"),
local_defines = kwargs.get("local_defines"),
- nocopts = kwargs.get("nocopts"),
strip_include_prefix = kwargs.get("strip_include_prefix"),
visibility = kwargs.get("visibility"),
tags = kwargs.get("tags"),