iosbuild.sh: Add VPX_FRAMEWORK_TARGET preproc symbol
Mainly for determining the actual arch when running performance
tests.
Change-Id: Ia6a1c4fcf83e6db1bf94f3e869d146ec32df02f8
diff --git a/build/make/iosbuild.sh b/build/make/iosbuild.sh
index 35ae891..fa63a4a 100755
--- a/build/make/iosbuild.sh
+++ b/build/make/iosbuild.sh
@@ -111,6 +111,7 @@
for target in ${targets}; do
preproc_symbol=$(target_to_preproc_symbol "${target}")
printf " ${preproc_symbol}\n" >> "${config_file}"
+ printf "#define VPX_FRAMEWORK_TARGET \"${target}\"\n" >> "${config_file}"
printf "#include \"VPX/vpx/${target}/vpx_config.h\"\n" >> "${config_file}"
printf "#elif defined" >> "${config_file}"
mkdir "${HEADER_DIR}/${target}"