APP_ABI := armeabi armeabi-v7a vs. generating map files. How in script figure out which build is linked?
I have something like this:
<arg value="APP_ABI=armeabi armeabi-v7a"/>
<property name="linker.mapfile" value="-Xlinker -Map=@{mapfile}" />
<arg value="LOCAL_LDFLAGS=@{linkerflags} ${linker.mapfile} />
Both map files are generated, however they are saved to this same place (second map overwrite first). I need to find a way to re开发者_如何学Ccognize which build is linked. Which variable should I add to mapfile path?
Could you use TARGET_ARCH_ABI for this? That's usually defined per build with the regular Make-based ndk-build. Not sure about the ant syntax, maybe something like this will do it:
<property name="linker.mapfile"
value="-Xlinker -Map=@{mapfile}-${TARGET_ARCH_ABI}" />
精彩评论