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.
|
||||
# Note that iPhoneOS-V6 support is not available with the iOS6 SDK.
|
||||
readonly INCLUDES="mkvmuxer.hpp
|
||||
mkvmuxertypes.hpp
|
||||
mkvmuxerutil.hpp
|
||||
mkvparser.hpp
|
||||
mkvreader.hpp
|
||||
mkvwriter.hpp
|
||||
webmids.hpp"
|
||||
readonly INCLUDES="common/file_util.h
|
||||
common/hdr_util.h
|
||||
common/webmids.h
|
||||
mkvmuxer/mkvmuxer.h
|
||||
mkvmuxer/mkvmuxertypes.h
|
||||
mkvmuxer/mkvmuxerutil.h
|
||||
mkvmuxer/mkvwriter.h
|
||||
mkvparser/mkvparser.h
|
||||
mkvparser/mkvreader.h"
|
||||
readonly PLATFORMS="iPhoneSimulator
|
||||
iPhoneSimulator64
|
||||
iPhoneOS-V7
|
||||
@ -190,8 +192,15 @@ for PLATFORM in ${PLATFORMS}; do
|
||||
eval make -f Makefile.unix clean ${devnull}
|
||||
done
|
||||
|
||||
for include_file in ${INCLUDES}; do
|
||||
eval cp -p ${include_file} "${OUTDIR}/${TARGETDIR}/Headers/" ${devnull}
|
||||
# create include sub dirs in framework dir.
|
||||
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
|
||||
|
||||
eval ${LIPO} -create ${LIBLIST} -output "${OUTDIR}/${TARGETDIR}/WebM" ${devnull}
|
||||
|
Loading…
Reference in New Issue
Block a user