From 4fae9264941d0151268f7a027539a2aa5c809b33 Mon Sep 17 00:00:00 2001 From: Tom Finegan Date: Thu, 17 Jul 2014 16:47:31 -0700 Subject: [PATCH] iosbuild.sh: Add VPX_FRAMEWORK_TARGET preproc symbol Mainly for determining the actual arch when running performance tests. Change-Id: Ia6a1c4fcf83e6db1bf94f3e869d146ec32df02f8 --- build/make/iosbuild.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/build/make/iosbuild.sh b/build/make/iosbuild.sh index 35ae891d3..fa63a4a98 100755 --- a/build/make/iosbuild.sh +++ b/build/make/iosbuild.sh @@ -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}"