summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Aehlig <klaus.aehlig@huawei.com>2023-04-20 14:21:34 +0200
committerKlaus Aehlig <klaus.aehlig@huawei.com>2023-04-20 14:21:34 +0200
commitf65776770fbd83a91095db2d346ae0ad3e0bbcef (patch)
tree8f36212f2ab2411832beb550f209e7a3a1081126
parent7ac10782ca0fcf896137f79cdaa3a3f4e74bdbeb (diff)
downloadjustbuild-f65776770fbd83a91095db2d346ae0ad3e0bbcef.tar.gz
["CC/proto", "library"] proto deps are public
... also for non-service libraries; the generated .ph.h files may well refer, e.g., the well-known protos.
-rw-r--r--rules/CC/proto/RULES2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules/CC/proto/RULES b/rules/CC/proto/RULES
index 97b43672..8a0711ee 100644
--- a/rules/CC/proto/RULES
+++ b/rules/CC/proto/RULES
@@ -203,7 +203,7 @@
, "$1": {"type": "FIELD", "name": "stage"}
}
]
- , ["public-fieldnames", ["deps"]]
+ , ["public-fieldnames", ["deps", "proto-defaults"]]
, ["private-fieldnames", ["deps", "proto-defaults"]]
]
, "body": {"type": "CALL_EXPRESSION", "name": "protoc-compile"}