iosbuild.sh: Add VPX_FRAMEWORK_TARGET preproc symbol

Mainly for determining the actual arch when running performance
tests.

Change-Id: Ia6a1c4fcf83e6db1bf94f3e869d146ec32df02f8
This commit is contained in:
Tom Finegan 2014-07-17 16:47:31 -07:00
parent 943e43273b
commit 4fae926494

View File

@ -111,6 +111,7 @@ create_vpx_framework_config_shim() {
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}"