OSDN Git Service

Build vendor toybox unconditionally.
authorpadarshr <padarshr@codeaurora.org>
Mon, 19 Jun 2017 17:34:15 +0000 (23:04 +0530)
committerpadarshr <padarshr@codeaurora.org>
Fri, 23 Jun 2017 17:56:21 +0000 (23:26 +0530)
Always build vendor toybox irrespective of whether
PRODUCT_FULL_TREBLE is enabled or not, as even on Non-Full
treble builds this can be used in vendor scripts.

Change-Id: I91d0fc9be198d95d82530a3b1e21c4463d9398dd

Android.mk

index 8f3698d..78b794b 100644 (file)
@@ -409,7 +409,6 @@ include $(BUILD_EXECUTABLE)
 # static version to be installed in /vendor
 ############################################
 
-ifeq ($(PRODUCT_FULL_TREBLE),true)
 include $(CLEAR_VARS)
 LOCAL_MODULE := toybox_vendor
 LOCAL_VENDOR_MODULE := true
@@ -422,7 +421,6 @@ LOCAL_MODULE_TAGS := optional
 LOCAL_FORCE_STATIC_EXECUTABLE := true
 LOCAL_POST_INSTALL_CMD := $(hide) $(foreach t,$(ALL_TOOLS),ln -sf ${LOCAL_MODULE} $(TARGET_OUT_VENDOR_EXECUTABLES)/$(t);)
 include $(BUILD_EXECUTABLE)
-endif
 
 ############################################
 # static version to be installed in recovery