Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(310)

Unified Diff: talk/build/build_ios_libs.sh

Issue 1620013002: Sync build_ios_libs.sh script with http://webrtc.org/native-code/ios/ (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Use Xcode's clang Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698