Validate the build type argument value in function build_webrtc

BUG=None
NOTRY=True

Review-Url: https://codereview.webrtc.org/2655893003
Cr-Commit-Position: refs/heads/master@{#16277}
This commit is contained in:
VladimirTechMan 2017-01-25 14:30:15 -08:00 committed by Commit bot
parent 2d8cd58c55
commit 1a7f01c6d3

View File

@ -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}"