有没有办法在Android.mk中使用条件表达式?我需要它像这样做:
IF arch = AREABI_V7
*use path for my arm_v7 static libs*
ELSE
*use path for arm static libs*
答案 0 :(得分:8)
ifeq ($(TARGET_ARCH_ABI),armeabi-v7a)
...
else
ifeq($(TARGET_ARCH_ABI),armeabi)
...
endif
endif