Revert "soong: Make mkdir install dir optional"
This reverts commit ff19773ea4.
Change-Id: Ia701f07eaabbf33098434ea2e4851d9ba5cdaff6
This commit is contained in:
@@ -18,13 +18,13 @@ endif
|
||||
|
||||
include $(BUILD_SYSTEM)/base_rules.mk
|
||||
|
||||
$(LOCAL_BUILT_MODULE): $(LOCAL_ADDITIONAL_DEPENDENCIES)
|
||||
$(LOCAL_SOONG_INSTALL_DIR):
|
||||
@mkdir -p $@
|
||||
|
||||
$(LOCAL_BUILT_MODULE): $(LOCAL_SOONG_INSTALL_DIR) $(LOCAL_ADDITIONAL_DEPENDENCIES)
|
||||
@mkdir -p $(dir $@)
|
||||
@touch $@
|
||||
|
||||
ifneq ($(filter $(LOCAL_MODULE),$(PRODUCT_PACKAGES)),)
|
||||
$(LOCAL_SOONG_INSTALL_DIR):
|
||||
@mkdir -p $@
|
||||
|
||||
ALL_DEFAULT_INSTALLED_MODULES += $(LOCAL_SOONG_INSTALL_DIR)
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user