summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Aehlig <klaus.aehlig@huawei.com>2025-04-09 16:19:37 +0200
committerKlaus Aehlig <klaus.aehlig@huawei.com>2025-04-09 17:05:43 +0200
commit6bd13ee6569ad01fff6e6ccb99699d6c9cd7b90e (patch)
tree5801e98f32836c4c987eaf4e79b7d183045d424c
parenta28b427eec70f45e5464b04f93f1d4b95662cd69 (diff)
downloadjustbuild-6bd13ee6569ad01fff6e6ccb99699d6c9cd7b90e.tar.gz
toolchains for protobuf/grpc: include non-debug binary
While for included libraries, it makes sense to have them with debug symbols (after all, they are linked into a binary depending on it), the toolchain binaries are just called, so there is no point in building debug versions thereof.
-rw-r--r--etc/import/TARGETS.grpc7
-rw-r--r--etc/import/TARGETS.protobuf8
2 files changed, 13 insertions, 2 deletions
diff --git a/etc/import/TARGETS.grpc b/etc/import/TARGETS.grpc
index d3badc3d..c09be953 100644
--- a/etc/import/TARGETS.grpc
+++ b/etc/import/TARGETS.grpc
@@ -3721,8 +3721,13 @@
, "PKG_CONFIG_ARGS"
]
}
+, "grpc_cpp_plugin (no debug)":
+ { "type": "configure"
+ , "target": "grpc_cpp_plugin"
+ , "config": {"type": "'", "$1": {"DEBUG": null}}
+ }
, "toolchain":
{ "type": ["@", "rules", "CC", "install-with-deps"]
- , "targets": ["grpc_cpp_plugin"]
+ , "targets": ["grpc_cpp_plugin (no debug)"]
}
}
diff --git a/etc/import/TARGETS.protobuf b/etc/import/TARGETS.protobuf
index 76466ebc..9875d8fd 100644
--- a/etc/import/TARGETS.protobuf
+++ b/etc/import/TARGETS.protobuf
@@ -91,9 +91,15 @@
}
, "installed protoc":
{"type": ["@", "rules", "CC", "install-with-deps"], "targets": ["protoc"]}
+, "installed protoc (no debug)":
+ { "type": "configure"
+ , "target": "installed protoc"
+ , "config": {"type": "'", "$1": {"DEBUG": null}}
+ }
, "toolchain_headers": {"type": "install", "deps": ["libprotobuf"]}
, "toolchain":
{ "type": "install"
- , "dirs": [["installed protoc", "."], ["toolchain_headers", "include"]]
+ , "dirs":
+ [["installed protoc (no debug)", "."], ["toolchain_headers", "include"]]
}
}