Home | History | Annotate | Download | only in jni
      1 WANTED_PLATFORM_32 := android-9
      2 WANTED_PLATFORM_64 := android-L
      3 
      4 ifeq (,$(filter %64, $(TARGET_ARCH)))
      5   ifneq ($(TARGET_PLATFORM),$(WANTED_PLATFORM_32))
      6     $(error Incorrect target platform: $(TARGET_PLATFORM) (expecteding $(WANTED_PLATFORM_32)))
      7   endif
      8   $(call ndk_log,Test OK: Correct target platform retrieved from project.properties: $(TARGET_PLATFORM))
      9 else
     10   ifneq ($(TARGET_PLATFORM),$(WANTED_PLATFORM_64))
     11     $(error Incorrect target platform: $(TARGET_PLATFORM) (expecteding $(WANTED_PLATFORM_64)))
     12   endif
     13   $(call ndk_log,Test OK: Correct target platform retrieved from project.properties but auto-adjusted: $(TARGET_PLATFORM))
     14 endif
     15