1WANTED_PLATFORM := android-9
2ifneq ($(TARGET_PLATFORM),$(WANTED_PLATFORM))
3    $(error Incorrect target platform: $(TARGET_PLATFORM) (expecteding $(WANTED_PLATFORM)))
4endif
5
6$(call ndk_log,Test OK: Correct target platform retrieved from project.properties: $(TARGET_PLATFORM))
7
8