Chromium Code Reviews| Index: talk/build/build_ios_libs.sh |
| diff --git a/talk/build/build_ios_libs.sh b/talk/build/build_ios_libs.sh |
| index c5e9f161b4f7b33e760f67203091e9b060a022e0..2ff50c7b306072615e2dcf12366163a5a0937fdb 100755 |
| --- a/talk/build/build_ios_libs.sh |
| +++ b/talk/build/build_ios_libs.sh |
| @@ -60,16 +60,13 @@ function build_webrtc { |
| FLAVOR=$2 |
| TARGET_ARCH=$3 |
| TARGET_SUBARCH=$4 |
| - if [[ ${TARGET_ARCH} = 'armv7' || ${TARGET_ARCH} = 'arm64' ]]; then |
| + if [[ ${TARGET_ARCH} = 'arm' || ${TARGET_ARCH} = 'arm64' ]]; then |
| FLAVOR="${FLAVOR}-iphoneos" |
| else |
| FLAVOR="${FLAVOR}-iphonesimulator" |
| fi |
| - export GYP_DEFINES="OS=ios use_openssl=1" |
| - export GYP_DEFINES="${GYP_DEFINES} target_arch=${TARGET_ARCH}" |
| - if [[ -n ${TARGET_SUBARCH} ]]; then |
| - export GYP_DEFINES="${GYP_DEFINES} target_subarch=${TARGET_SUBARCH}" |
| - fi |
| + export GYP_DEFINES="OS=ios" |
| + export GYP_DEFINES="${GYP_DEFINES} target_arch=${TARGET_ARCH} clang_xcode=1" |
|
tkchin_webrtc
2016/01/21 23:15:29
unnecessary to do twice?
Just
export GYP_DEFINES=
hjon_webrtc
2016/01/21 23:19:27
Done.
|
| export GYP_GENERATORS="ninja" |
| export GYP_GENERATOR_FLAGS="output_dir=${OUTPUT_DIR}" |
| webrtc/build/gyp_webrtc talk/build/merge_ios_libs.gyp |
| @@ -79,10 +76,10 @@ function build_webrtc { |
| } |
| # Build all the common architectures. |
| -build_webrtc "out_ios_armv7" "Release" "armv7" "arm32" |
| -build_webrtc "out_ios_arm64" "Release" "arm64" "arm64" |
| -build_webrtc "out_ios_ia32" "Release" "ia32" "arm32" |
| -build_webrtc "out_ios_x86_64" "Release" "x64" "arm64" |
| +build_webrtc "out_ios_arm" "Release" "arm" |
| +build_webrtc "out_ios_arm64" "Release" "arm64" |
| +build_webrtc "out_ios_ia32" "Release" "ia32" |
| +build_webrtc "out_ios_x86_64" "Release" "x64" |
| popd |