The native tools include compilation of zip_writter, where it include
gtest/gtest_prod.h. So native build need to depend on gtest-native.

Signed-off-by: Claus Stovgaard <[email protected]>
---
 meta-oe/recipes-devtools/android-tools/android-tools_35.0.2.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta-oe/recipes-devtools/android-tools/android-tools_35.0.2.bb 
b/meta-oe/recipes-devtools/android-tools/android-tools_35.0.2.bb
index 5a3ff3a6dd..31cc12ad78 100644
--- a/meta-oe/recipes-devtools/android-tools/android-tools_35.0.2.bb
+++ b/meta-oe/recipes-devtools/android-tools/android-tools_35.0.2.bb
@@ -19,6 +19,7 @@ DEPENDS = " \
     squashfs-tools \
     zlib \
 "
+DEPENDS:append:class-native = " gtest-native"
 
 # The debian/ patches are copied from android-platform-tools/debian/patches and
 # applied in the order defined by debian/patches/series. Listing them as
-- 
2.54.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#128001): 
https://lists.openembedded.org/g/openembedded-devel/message/128001
Mute This Topic: https://lists.openembedded.org/mt/120085097/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to