Don't BUILD_WITHOUT_VENDOR
* It tries to build stuff in hardware/qcom/sm8150, and that needs
some vendor libs, but even when those are added, it keeps wanting
more and more, basically a rabbit-hole.
* This matches AOSP.
Change-Id: I9937be534974e249d370e20997a07eefe6bfcc18
diff --git a/os_pickup.mk b/os_pickup.mk
index 2074de8..1812995 100644
--- a/os_pickup.mk
+++ b/os_pickup.mk
@@ -1,4 +1,6 @@
LOCAL_PATH := $(call my-dir)
ifneq ($(filter $(LOCAL_PATH),$(PRODUCT_SOONG_NAMESPACES)),)
+ifneq ($(BUILD_WITHOUT_VENDOR), true)
include $(call first-makefiles-under,$(LOCAL_PATH))
endif
+endif