iosbuild.sh: Add VPX_FRAMEWORK_TARGET preproc symbol
authorTom Finegan <tomfinegan@google.com>
Thu, 17 Jul 2014 23:47:31 +0000 (16:47 -0700)
committerTom Finegan <tomfinegan@google.com>
Thu, 17 Jul 2014 23:47:31 +0000 (16:47 -0700)
Mainly for determining the actual arch when running performance
tests.

Change-Id: Ia6a1c4fcf83e6db1bf94f3e869d146ec32df02f8

build/make/iosbuild.sh

index 35ae891..fa63a4a 100755 (executable)
@@ -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}"