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

Unified Diff: webrtc/build/ios/build_ios_libs.sh

Issue 2655893003: Validate the build type argument value in function build_webrtc (Closed)
Patch Set: Created 3 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: webrtc/build/ios/build_ios_libs.sh
diff --git a/webrtc/build/ios/build_ios_libs.sh b/webrtc/build/ios/build_ios_libs.sh
index a772b558d97059e303172acef9de51dfd125c57c..abfa7e97725b423f503e71772600ea3da6060ea8 100755
--- a/webrtc/build/ios/build_ios_libs.sh
+++ b/webrtc/build/ios/build_ios_libs.sh
@@ -73,6 +73,9 @@ use_xcode_clang=true is_component_build=false"
elif [[ ${build_type} == "framework" ]]; then
GN_TARGET_NAME="rtc_sdk_framework_objc"
GN_ARGS="${GN_ARGS} enable_dsyms=true enable_stripping=true"
+ else
+ echo "Build type \"${build_type}\" is not supported."
+ exit 1
fi
echo "Building WebRTC with args: ${GN_ARGS}"
« 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