Advertisement
programmador

Addition to openssl crypto's Android.mk

Aug 15th, 2015
314
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Make 0.68 KB | None | 0 0
  1. # SPECIAL CASES:
  2. # 1) android-6 and android-7 are the same thing as android-5
  3. # 2) android-10 .. 13 is the same thing as android-9
  4. #
  5. APP_PLATFORM_LEVEL := $(strip $(subst android-,,$(TARGET_PLATFORM)))
  6. ifneq (,$(filter 6 7,$(APP_PLATFORM_LEVEL)))
  7.     DETECTED_PLATFORM := android-5
  8.     $(warning  Adjusting APP_PLATFORM android-$(APP_PLATFORM_LEVEL) to $(DETECTED_PLATFORM))
  9. endif
  10. ifneq (,$(filter 10 11 12 13,$(APP_PLATFORM_LEVEL)))
  11.     DETECTED_PLATFORM := android-9
  12.     $(warning Adjusting APP_PLATFORM android-$(APP_PLATFORM_LEVEL) to $(DETECTED_PLATFORM))
  13. endif
  14.  
  15. $(warning $(DETECTED_PLATFORM))
  16. ifeq ($(DETECTED_PLATFORM),android-5)
  17.     local_c_flags += -DANDROID5
  18. endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement