Merge "Allow to build host gtest libraries in unbundled build."
diff --git a/src/Android.mk b/src/Android.mk
index 7768e30..ec0a3c2 100644
--- a/src/Android.mk
+++ b/src/Android.mk
@@ -75,8 +75,6 @@
include $(BUILD_STATIC_LIBRARY)
-# Don't build for unbundled branches
-ifeq (,$(TARGET_BUILD_APPS))
#######################################################################
# gtest lib host
@@ -108,6 +106,8 @@
include $(BUILD_HOST_STATIC_LIBRARY)
#######################################################################
+# Don't build for unbundled branches
+ifeq (,$(TARGET_BUILD_APPS))
# gtest lib target
include $(CLEAR_VARS)