Skip to contentSkip to conversation

android-tools: fix native build

PATCH New Claus Stovgaard 1 participant 1 message Jul 2

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 android-tools: fix native build

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

---
 meta-oe/recipes-devtools/android-tools/android-tools_35.0.2.bb | 1 +
 1 file changed, 1 insertion(+)
meta-oe/recipes-devtools/android-tools/android-tools_35.0.2.bb +1 -0
index 5a3ff3a6dd..31cc12ad78 100644
@@ -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
Signature · 1 line
2.54.0