Touch same_vndk_variant.timestamp

Fix uneccessary rebuilds on incremental builds by touching the
same_vndk_variant.timestamp output file.

Test: m && m
Change-Id: Ieb1b47f8a6cc406139c326a527041239fdb627d0
This commit is contained in:
Colin Cross 2020-02-20 16:17:01 -08:00
parent 733ad20963
commit c989ff3d75
1 changed files with 5 additions and 4 deletions

View File

@ -128,10 +128,11 @@ ifeq ($(my_check_same_vndk_variants),true)
$(same_vndk_variants_stamp): PRIVATE_TOOLS_PREFIX := $($(LOCAL_2ND_ARCH_VAR_PREFIX)$(my_prefix)TOOLS_PREFIX)
$(same_vndk_variants_stamp): $(my_core_shared_lib) $(LOCAL_PREBUILT_MODULE_FILE)
$(call verify-vndk-libs-identical,\
$(PRIVATE_CORE_VARIANT),\
$(PRIVATE_VENDOR_VARIANT),\
$(PRIVATE_TOOLS_PREFIX))
$(call verify-vndk-libs-identical,\
$(PRIVATE_CORE_VARIANT),\
$(PRIVATE_VENDOR_VARIANT),\
$(PRIVATE_TOOLS_PREFIX))
touch $@
$(LOCAL_BUILT_MODULE): $(same_vndk_variants_stamp)
endif