iosbuild.sh: Fix build.
Update the framework build script to support the new layout of the libwebm repo. Change-Id: I4852eb116b7a4b891e570cad3be830fc961ba2f8
This commit is contained in:
parent
918440adaf
commit
2e0e906eac
27
iosbuild.sh
27
iosbuild.sh
@ -63,13 +63,15 @@ fi
|
|||||||
|
|
||||||
# Add iPhoneOS-V6 to the list of platforms below if you need armv6 support.
|
# Add iPhoneOS-V6 to the list of platforms below if you need armv6 support.
|
||||||
# Note that iPhoneOS-V6 support is not available with the iOS6 SDK.
|
# Note that iPhoneOS-V6 support is not available with the iOS6 SDK.
|
||||||
readonly INCLUDES="mkvmuxer.hpp
|
readonly INCLUDES="common/file_util.h
|
||||||
mkvmuxertypes.hpp
|
common/hdr_util.h
|
||||||
mkvmuxerutil.hpp
|
common/webmids.h
|
||||||
mkvparser.hpp
|
mkvmuxer/mkvmuxer.h
|
||||||
mkvreader.hpp
|
mkvmuxer/mkvmuxertypes.h
|
||||||
mkvwriter.hpp
|
mkvmuxer/mkvmuxerutil.h
|
||||||
webmids.hpp"
|
mkvmuxer/mkvwriter.h
|
||||||
|
mkvparser/mkvparser.h
|
||||||
|
mkvparser/mkvreader.h"
|
||||||
readonly PLATFORMS="iPhoneSimulator
|
readonly PLATFORMS="iPhoneSimulator
|
||||||
iPhoneSimulator64
|
iPhoneSimulator64
|
||||||
iPhoneOS-V7
|
iPhoneOS-V7
|
||||||
@ -190,8 +192,15 @@ for PLATFORM in ${PLATFORMS}; do
|
|||||||
eval make -f Makefile.unix clean ${devnull}
|
eval make -f Makefile.unix clean ${devnull}
|
||||||
done
|
done
|
||||||
|
|
||||||
for include_file in ${INCLUDES}; do
|
# create include sub dirs in framework dir.
|
||||||
eval cp -p ${include_file} "${OUTDIR}/${TARGETDIR}/Headers/" ${devnull}
|
readonly framework_header_dir="${OUTDIR}/${TARGETDIR}/Headers"
|
||||||
|
readonly framework_header_sub_dirs="common mkvmuxer mkvparser"
|
||||||
|
for dir in ${framework_header_sub_dirs}; do
|
||||||
|
mkdir "${framework_header_dir}/${dir}"
|
||||||
|
done
|
||||||
|
|
||||||
|
for header_file in ${INCLUDES}; do
|
||||||
|
eval cp -p ${header_file} "${framework_header_dir}/${header_file}" ${devnull}
|
||||||
done
|
done
|
||||||
|
|
||||||
eval ${LIPO} -create ${LIBLIST} -output "${OUTDIR}/${TARGETDIR}/WebM" ${devnull}
|
eval ${LIPO} -create ${LIBLIST} -output "${OUTDIR}/${TARGETDIR}/WebM" ${devnull}
|
||||||
|
Loading…
Reference in New Issue
Block a user