Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c0f738c9 authored by Jiyong Park's avatar Jiyong Park
Browse files

check-vndk-list is run even when VNDK is not enabled

check-vndk-list has not been run when VNDK is not enabled (i.e.
BOARD_VNDK_VERSION is unset). This was problematic because there is a
chance that a CL which passed pre-submit tests can fail the post-submit
tests when the targets selected for the pre-submit tests are all without
VNDK enforcement.

In order to prevent the case, check-vndk-list is executed regardless of
whether BOARD_VNDK_VERSION is set or not.

Bug: 110424280
Test: m -j on sailfish
Test: m -j on sailfish fails after adding an arbitrary library to VNDK
Change-Id: Ia7427be2a297940a9e9c9f46cb058245596171c9
parent 6291a4a2
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
ifneq ($(BOARD_VNDK_VERSION),)
LOCAL_PATH:= $(call my-dir)

#####################################################################
@@ -86,6 +85,8 @@ else
endif
	@chmod a+x $@

ifneq ($(BOARD_VNDK_VERSION),)

include $(CLEAR_VARS)
LOCAL_MODULE := vndk_package
LOCAL_REQUIRED_MODULES := \