ref: 4fae9264941d0151268f7a027539a2aa5c809b33
parent: 943e43273b0a7369d07714e7fd2e19fecfb11c7c
author: Tom Finegan <[email protected]>
date: Thu Jul 17 12:47:31 EDT 2014
iosbuild.sh: Add VPX_FRAMEWORK_TARGET preproc symbol Mainly for determining the actual arch when running performance tests. Change-Id: Ia6a1c4fcf83e6db1bf94f3e869d146ec32df02f8
--- 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}"