summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-devtools
diff options
context:
space:
mode:
authorPeter Marko <peter.marko@siemens.com>2025-02-08 16:03:05 +0100
committerKhem Raj <raj.khem@gmail.com>2025-02-08 20:43:46 -0800
commit83c6dfcce6c334d9e699858614e902f2a5a41e20 (patch)
treebe0fe21bd5521095d687ff3f475b6c1965309acc /meta-oe/recipes-devtools
parentf02e99377c35228a0d9ce350454af18dce91c1a7 (diff)
downloadmeta-openembedded-83c6dfcce6c334d9e699858614e902f2a5a41e20.tar.gz
grpc: remove unneeded dependencies
googletest is needed only if we would build tests, and then it should be conditional on PTEST_ENABLED libnsl is not needed. there is no linking command in any cmake. The only grep hit is in cares.cmake to disable it. Commit 2ffc7b45d638a89535b963533d39b8b13e4c8c1e which added it talks about host distros, but also such case would be wrong when adding it to general depends (should be in native only depends) and it would have to have be reference in cmake (in grpc or in one of recipe-sysroot). Also sort the dependencies in the process. Signed-off-by: Peter Marko <peter.marko@siemens.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-devtools')
-rw-r--r--meta-oe/recipes-devtools/grpc/grpc_1.68.0.bb4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta-oe/recipes-devtools/grpc/grpc_1.68.0.bb b/meta-oe/recipes-devtools/grpc/grpc_1.68.0.bb
index caf355bb52..b82b802e3c 100644
--- a/meta-oe/recipes-devtools/grpc/grpc_1.68.0.bb
+++ b/meta-oe/recipes-devtools/grpc/grpc_1.68.0.bb
@@ -6,8 +6,8 @@ SECTION = "libs"
6LICENSE = "Apache-2.0 & BSD-3-Clause & MPL-2.0" 6LICENSE = "Apache-2.0 & BSD-3-Clause & MPL-2.0"
7LIC_FILES_CHKSUM = "file://LICENSE;md5=731e401b36f8077ae0c134b59be5c906" 7LIC_FILES_CHKSUM = "file://LICENSE;md5=731e401b36f8077ae0c134b59be5c906"
8 8
9DEPENDS = "c-ares protobuf protobuf-native openssl libnsl2 abseil-cpp re2 zlib" 9DEPENDS = "abseil-cpp c-ares openssl protobuf protobuf-native re2 zlib"
10DEPENDS:append:class-target = " googletest grpc-native " 10DEPENDS:append:class-target = " grpc-native"
11DEPENDS:append:class-nativesdk = " grpc-native " 11DEPENDS:append:class-nativesdk = " grpc-native "
12 12
13PACKAGE_BEFORE_PN = "${PN}-compiler" 13PACKAGE_BEFORE_PN = "${PN}-compiler"