Update script input parameters

visualizer
Ken 2020-11-19 17:47:55 -05:00
parent aec147eea8
commit 3ec85f558a
3 changed files with 80 additions and 92 deletions

View File

@ -25,10 +25,10 @@ then
helpFunction helpFunction
fi fi
if [ "$build_type" != "debug" ] && [ "$build_type" != "release" ]; then if [ "$build_type" != "debug" ] && [ "$build_type" != "release" ]; then
echo "Wrong build_type spelling" echo "Wrong build type spelling"
helpFunction helpFunction
elif [ "$target" != "debian-x64" ] && [ "$target" != "debian-arm" ]; then elif [ "$target" != "debian-x64" ] && [ "$target" != "debian-arm" ]; then
echo "Wrong OS type spelling" echo "Wrong target spelling"
helpFunction helpFunction
fi fi
#for gn cmd #for gn cmd
@ -39,7 +39,7 @@ if [ "$build_type" == "debug" ]; then
fission_flag=false fission_flag=false
fi fi
platform="$target" target="$target"
#Assume all three directories - evio, tools, external - exist. #Assume all three directories - evio, tools, external - exist.
WrkspaceRoot=$(pwd) WrkspaceRoot=$(pwd)
@ -47,11 +47,11 @@ cd "$WrkspaceRoot"/EdgeVPNio/evio/tincan
GN="$WrkspaceRoot"/EdgeVPNio/tools/bin/gn GN="$WrkspaceRoot"/EdgeVPNio/tools/bin/gn
NJ="$WrkspaceRoot"/EdgeVPNio/tools/bin/ninja NJ="$WrkspaceRoot"/EdgeVPNio/tools/bin/ninja
if [ "$target" == "debian-x64" ]; then if [ "$target" == "debian-x64" ]; then
$GN gen out/"$platform"/"$build_type" "--args=is_debug=$debug_flag target_sysroot_dir=\"$WrkspaceRoot/EdgeVPNio/external\" use_debug_fission=$fission_flag clang_base_path=\"$WrkspaceRoot/EdgeVPNio/tools/llvm/bin"\" $GN gen out/"$target"/"$build_type" "--args=is_debug=$debug_flag target_sysroot_dir=\"$WrkspaceRoot/EdgeVPNio/external\" use_debug_fission=$fission_flag clang_base_path=\"$WrkspaceRoot/EdgeVPNio/tools/llvm/bin"\"
elif [ "$target" == "debian-arm" ]; then elif [ "$target" == "debian-arm" ]; then
$GN gen out/"$platform"/"$build_type" "--args=target_cpu=\"arm\" use_lld=true use_debug_fission=$fission_flag target_sysroot_dir=\"$WrkspaceRoot/EdgeVPNio/external\" is_debug=$debug_flag clang_base_path=\"$WrkspaceRoot/EdgeVPNio/tools/llvm/bin\"" $GN gen out/"$target"/"$build_type" "--args=target_cpu=\"arm\" use_lld=true use_debug_fission=$fission_flag target_sysroot_dir=\"$WrkspaceRoot/EdgeVPNio/external\" is_debug=$debug_flag clang_base_path=\"$WrkspaceRoot/EdgeVPNio/tools/llvm/bin\""
fi fi
$NJ -C out/"$platform"/"$build_type" $NJ -C out/"$target"/"$build_type"

View File

@ -7,9 +7,9 @@
helpFunction() helpFunction()
{ {
echo "" echo ""
echo "Usage: $0 -b build_type -t target_os" echo "Usage: $0 -b build_type -t target"
echo -e "\t-b build_type can be $build_type or debug" echo -e "\t-b build_type can be $build_type or debug"
echo -e "\t-t target_os can be ubuntu or raspberry-pi" echo -e "\t-t target can be debian-x64 or debian-arm"
exit 1 # Exit script after printing help exit 1 # Exit script after printing help
} }
@ -17,34 +17,28 @@ while getopts b:t: opt
do do
case "$opt" in case "$opt" in
b ) build_type="$OPTARG" ;; b ) build_type="$OPTARG" ;;
t ) target_os="$OPTARG" ;; t ) target="$OPTARG" ;;
? ) helpFunction ;; # Print helpFunction in case parameter is non-existent ? ) helpFunction ;; # Print helpFunction in case parameter is non-existent
esac esac
done done
# Print helpFunction in case parameters are empty # Print helpFunction in case parameters are empty
if [ -z "$build_type" ] || [ -z "$target_os" ] if [ -z "$build_type" ] || [ -z "$target" ]
then then
echo "Some or all of the parameters are empty"; echo "Some or all of the parameters are empty";
helpFunction helpFunction
fi fi
if [ "$build_type" != "debug" ] && [ "$build_type" != "$build_type" ]; then if [ "$build_type" != "debug" ] && [ "$build_type" != "$build_type" ]; then
echo "Wrong build_type spelling" echo "Wrong build type spelling"
helpFunction helpFunction
elif [ "$target_os" != "ubuntu" ] && [ "$target_os" != "raspberry-pi" ]; then elif [ "$target" != "debian-x64" ] && [ "$target" != "debian-arm" ]; then
echo "Wrong OS type spelling" echo "Wrong target spelling"
helpFunction helpFunction
fi fi
#for gn cmd #for gn cmd
debug_flag=false debug_flag=false
if [ "$build_type" == "debug" ]; then if [ "$build_type" == "debug" ]; then
$debug_flag = true; debug_flag=true;
fi
if [[ "$target_os" == "ubuntu" ]]; then
platform="debian-x64"
elif [[ "$target_os" == "raspberry-pi" ]]; then
platform="debian-arm"
fi fi
Workspace_root=`pwd` Workspace_root=`pwd`
@ -67,7 +61,7 @@ if [[ "$errormsg" == *"error"* ]]; then
exit 1; exit 1;
fi fi
if [ "$target_os" == "ubuntu" ]; then if [ "$target" == "debian-x64" ]; then
sudo apt-get install gtk2.0 sudo apt-get install gtk2.0
./src/build/linux/sysroot_scripts/install-sysroot.py --arch=x64 ./src/build/linux/sysroot_scripts/install-sysroot.py --arch=x64
else else
@ -84,19 +78,19 @@ if [[ "$errormsg" == *"error"* ]]; then
exit 1; exit 1;
fi fi
#ubuntu debug build #debian-x64 debug build
if [ "$target_os" == "ubuntu" ] && [ "$debug_flag" = true ]; then if [ "$target" == "debian-x64" ] && [ "$debug_flag" = true ]; then
gn gen out/"$platform"/"$build_type" "--args=enable_iterator_debugging=false is_debug=$debug_flag use_debug_fission=false" gn gen out/"$target"/"$build_type" "--args=enable_iterator_debugging=false is_debug=$debug_flag use_debug_fission=false"
#ubuntu release build #debian-x64 release build
elif [ "$target_os" == "ubuntu" ] && [ "$debug_flag" = false ]; then elif [ "$target" == "debian-x64" ] && [ "$debug_flag" = false ]; then
gn gen out/"$platform"/"$build_type" "--args=enable_iterator_debugging=false is_debug=$debug_flag" gn gen out/"$target"/"$build_type" "--args=enable_iterator_debugging=false is_debug=$debug_flag"
#raspberry-pi debug build #raspberry-pi/debian-arm debug build
elif [ "$target_os" == "raspberry-pi" ] && [ "$debug_flag" = true ]; then elif [ "$target" == "raspberry-pi" ] && [ "$debug_flag" = true ]; then
gn gen out/"$platform"/"$build_type" "--args=target_os=\"linux\" target_cpu=\"arm\" is_debug=$debug_flag enable_iterator_debugging=false use_debug_fission=false" gn gen out/"$target"/"$build_type" "--args=target=\"linux\" target_cpu=\"arm\" is_debug=$debug_flag enable_iterator_debugging=false use_debug_fission=false"
else else
#raspberry-pi release build #raspberry-pi/debian-arm release build
gn gen out/"$platform"/"$build_type" "--args=target_os=\"linux\" target_cpu=\"arm\" is_debug=$debug_flag enable_iterator_debugging=false" gn gen out/"$target"/"$build_type" "--args=target=\"linux\" target_cpu=\"arm\" is_debug=$debug_flag enable_iterator_debugging=false"
fi fi
#ninja cmd to compile the required webrtc libraries #ninja cmd to compile the required webrtc libraries
ninja -C out/"$platform"/"$build_type" libc++ boringssl boringssl_asm protobuf_lite rtc_p2p rtc_base_approved rtc_base jsoncpp rtc_event logging pc api rtc_pc_base call ninja -C out/"$target"/"$build_type" libc++ boringssl boringssl_asm protobuf_lite rtc_p2p rtc_base_approved rtc_base jsoncpp rtc_event logging pc api rtc_pc_base call

View File

@ -3,9 +3,9 @@
helpFunction() helpFunction()
{ {
echo "" echo ""
echo "Usage: $0 -b build_type -t target_os" echo "Usage: $0 -b build_type -t target"
echo -e "\t-b build_type can be release or debug" echo -e "\t-b build_type can be release or debug"
echo -e "\t-t target_os can be ubuntu or raspberry-pi" echo -e "\t-t target can be debian-x64 or debian-arm"
exit 1 # Exit script after printing help exit 1 # Exit script after printing help
} }
@ -13,13 +13,13 @@ while getopts b:t: opt
do do
case "$opt" in case "$opt" in
b ) build_type="$OPTARG" ;; b ) build_type="$OPTARG" ;;
t ) target_os="$OPTARG" ;; t ) target="$OPTARG" ;;
? ) helpFunction ;; # Print helpFunction in case parameter is non-existent ? ) helpFunction ;; # Print helpFunction in case parameter is non-existent
esac esac
done done
# Print helpFunction in case parameters are empty # Print helpFunction in case parameters are empty
if [ -z "$build_type" ] || [ -z "$target_os" ] if [ -z "$build_type" ] || [ -z "$target" ]
then then
echo "Some or all of the parameters are empty"; echo "Some or all of the parameters are empty";
helpFunction helpFunction
@ -27,66 +27,60 @@ fi
if [ "$build_type" != "debug" ] && [ "$build_type" != "release" ]; then if [ "$build_type" != "debug" ] && [ "$build_type" != "release" ]; then
echo "Wrong build_type spelling" echo "Wrong build_type spelling"
helpFunction helpFunction
elif [ "$target_os" != "ubuntu" ] && [ "$target_os" != "raspberry-pi" ]; then elif [ "$target" != "debian-x64" ] && [ "$target" != "debian-arm" ]; then
echo "Wrong OS type spelling" echo "Wrong OS type spelling"
helpFunction helpFunction
fi fi
if [[ "$target_os" == "ubuntu" ]]; then mkdir -p out/libs/$target/$build_type
platform="debian-x64"
elif [[ "$target_os" == "raspberry-pi" ]]; then
platform="debian-arm"
fi
mkdir -p out/libs/$platform/$build_type
#getting the required .o files and .a files to 3rd party libs from webrtc-checkout #getting the required .o files and .a files to 3rd party libs from webrtc-checkout
Workspace_root=`pwd` Workspace_root=`pwd`
LLVM=$Workspace_root/EdgeVPNio/tools/llvm/bin/llvm-ar LLVM=$Workspace_root/EdgeVPNio/tools/llvm/bin/llvm-ar
$LLVM -rcs out/libs/$platform/$build_type/libwebrtc_lite.a webrtc-checkout/src/out/$platform/$build_type/obj/rtc_base/rtc_base/*.o $LLVM -rcs out/libs/$target/$build_type/libwebrtc_lite.a webrtc-checkout/src/out/$target/$build_type/obj/rtc_base/rtc_base/*.o
$LLVM -qcs out/libs/$platform/$build_type/libwebrtc_lite.a webrtc-checkout/src/out/$platform/$build_type/obj/rtc_base/rtc_base_approved/*.o $LLVM -qcs out/libs/$target/$build_type/libwebrtc_lite.a webrtc-checkout/src/out/$target/$build_type/obj/rtc_base/rtc_base_approved/*.o
$LLVM -qcs out/libs/$platform/$build_type/libwebrtc_lite.a webrtc-checkout/src/out/$platform/$build_type/obj/p2p/rtc_p2p/*.o $LLVM -qcs out/libs/$target/$build_type/libwebrtc_lite.a webrtc-checkout/src/out/$target/$build_type/obj/p2p/rtc_p2p/*.o
$LLVM -qcs out/libs/$platform/$build_type/libwebrtc_lite.a webrtc-checkout/src/out/$platform/$build_type/obj/rtc_base/logging/*.o $LLVM -qcs out/libs/$target/$build_type/libwebrtc_lite.a webrtc-checkout/src/out/$target/$build_type/obj/rtc_base/logging/*.o
$LLVM -qcs out/libs/$platform/$build_type/libwebrtc_lite.a webrtc-checkout/src/out/$platform/$build_type/obj/rtc_base/rtc_event/*.o $LLVM -qcs out/libs/$target/$build_type/libwebrtc_lite.a webrtc-checkout/src/out/$target/$build_type/obj/rtc_base/rtc_event/*.o
$LLVM -qcs out/libs/$platform/$build_type/libwebrtc_lite.a webrtc-checkout/src/out/$platform/$build_type/obj/rtc_base/stringutils/*.o $LLVM -qcs out/libs/$target/$build_type/libwebrtc_lite.a webrtc-checkout/src/out/$target/$build_type/obj/rtc_base/stringutils/*.o
$LLVM -qcs out/libs/$platform/$build_type/libwebrtc_lite.a webrtc-checkout/src/out/$platform/$build_type/obj/rtc_base/timeutils/*.o $LLVM -qcs out/libs/$target/$build_type/libwebrtc_lite.a webrtc-checkout/src/out/$target/$build_type/obj/rtc_base/timeutils/*.o
$LLVM -qcs out/libs/$platform/$build_type/libwebrtc_lite.a webrtc-checkout/src/out/$platform/$build_type/obj/rtc_base/platform_thread_types/*.o $LLVM -qcs out/libs/$target/$build_type/libwebrtc_lite.a webrtc-checkout/src/out/$target/$build_type/obj/rtc_base/platform_thread_types/*.o
$LLVM -qcs out/libs/$platform/$build_type/libwebrtc_lite.a webrtc-checkout/src/out/$platform/$build_type/obj/rtc_base/criticalsection/*.o $LLVM -qcs out/libs/$target/$build_type/libwebrtc_lite.a webrtc-checkout/src/out/$target/$build_type/obj/rtc_base/criticalsection/*.o
$LLVM -qcs out/libs/$platform/$build_type/libwebrtc_lite.a webrtc-checkout/src/out/$platform/$build_type/obj/api/crypto/options/*.o $LLVM -qcs out/libs/$target/$build_type/libwebrtc_lite.a webrtc-checkout/src/out/$target/$build_type/obj/api/crypto/options/*.o
$LLVM -qcs out/libs/$platform/$build_type/libwebrtc_lite.a webrtc-checkout/src/out/$platform/$build_type/obj/pc/rtc_pc_base/*.o $LLVM -qcs out/libs/$target/$build_type/libwebrtc_lite.a webrtc-checkout/src/out/$target/$build_type/obj/pc/rtc_pc_base/*.o
$LLVM -qcs out/libs/$platform/$build_type/libwebrtc_lite.a webrtc-checkout/src/out/$platform/$build_type/obj/rtc_base/checks/*.o $LLVM -qcs out/libs/$target/$build_type/libwebrtc_lite.a webrtc-checkout/src/out/$target/$build_type/obj/rtc_base/checks/*.o
$LLVM -qcs out/libs/$platform/$build_type/libwebrtc_lite.a webrtc-checkout/src/out/$platform/$build_type/obj/rtc_base/synchronization/sequence_checker/*.o $LLVM -qcs out/libs/$target/$build_type/libwebrtc_lite.a webrtc-checkout/src/out/$target/$build_type/obj/rtc_base/synchronization/sequence_checker/*.o
$LLVM -qcs out/libs/$platform/$build_type/libwebrtc_lite.a webrtc-checkout/src/out/$platform/$build_type/obj/rtc_base/synchronization/yield_policy/*.o $LLVM -qcs out/libs/$target/$build_type/libwebrtc_lite.a webrtc-checkout/src/out/$target/$build_type/obj/rtc_base/synchronization/yield_policy/*.o
$LLVM -qcs out/libs/$platform/$build_type/libwebrtc_lite.a webrtc-checkout/src/out/$platform/$build_type/obj/api/rtc_error/*.o $LLVM -qcs out/libs/$target/$build_type/libwebrtc_lite.a webrtc-checkout/src/out/$target/$build_type/obj/api/rtc_error/*.o
$LLVM -qcs out/libs/$platform/$build_type/libwebrtc_lite.a webrtc-checkout/src/out/$platform/$build_type/obj/system_wrappers/metrics/*.o $LLVM -qcs out/libs/$target/$build_type/libwebrtc_lite.a webrtc-checkout/src/out/$target/$build_type/obj/system_wrappers/metrics/*.o
$LLVM -qcs out/libs/$platform/$build_type/libwebrtc_lite.a webrtc-checkout/src/out/$platform/$build_type/obj/system_wrappers/field_trial/*.o $LLVM -qcs out/libs/$target/$build_type/libwebrtc_lite.a webrtc-checkout/src/out/$target/$build_type/obj/system_wrappers/field_trial/*.o
$LLVM -qcs out/libs/$platform/$build_type/libwebrtc_lite.a webrtc-checkout/src/out/$platform/$build_type/obj/logging/ice_log/*.o $LLVM -qcs out/libs/$target/$build_type/libwebrtc_lite.a webrtc-checkout/src/out/$target/$build_type/obj/logging/ice_log/*.o
$LLVM -qcs out/libs/$platform/$build_type/libwebrtc_lite.a webrtc-checkout/src/out/$platform/$build_type/obj/rtc_base/experiments/field_trial_parser/*.o $LLVM -qcs out/libs/$target/$build_type/libwebrtc_lite.a webrtc-checkout/src/out/$target/$build_type/obj/rtc_base/experiments/field_trial_parser/*.o
$LLVM -qcs out/libs/$platform/$build_type/libwebrtc_lite.a webrtc-checkout/src/out/$platform/$build_type/obj/api/transport/stun_types/*.o $LLVM -qcs out/libs/$target/$build_type/libwebrtc_lite.a webrtc-checkout/src/out/$target/$build_type/obj/api/transport/stun_types/*.o
$LLVM -qcs out/libs/$platform/$build_type/libwebrtc_lite.a webrtc-checkout/src/out/$platform/$build_type/obj/api/libjingle_peerconnection_api/*.o $LLVM -qcs out/libs/$target/$build_type/libwebrtc_lite.a webrtc-checkout/src/out/$target/$build_type/obj/api/libjingle_peerconnection_api/*.o
$LLVM -qcs out/libs/$platform/$build_type/libwebrtc_lite.a webrtc-checkout/src/out/$platform/$build_type/obj/rtc_base/weak_ptr/*.o $LLVM -qcs out/libs/$target/$build_type/libwebrtc_lite.a webrtc-checkout/src/out/$target/$build_type/obj/rtc_base/weak_ptr/*.o
$LLVM -qcs out/libs/$platform/$build_type/libwebrtc_lite.a webrtc-checkout/src/out/$platform/$build_type/obj/rtc_base/network/sent_packet/*.o $LLVM -qcs out/libs/$target/$build_type/libwebrtc_lite.a webrtc-checkout/src/out/$target/$build_type/obj/rtc_base/network/sent_packet/*.o
$LLVM -qcs out/libs/$platform/$build_type/libwebrtc_lite.a webrtc-checkout/src/out/$platform/$build_type/obj/rtc_base/rtc_numerics/*.o $LLVM -qcs out/libs/$target/$build_type/libwebrtc_lite.a webrtc-checkout/src/out/$target/$build_type/obj/rtc_base/rtc_numerics/*.o
$LLVM -qcs out/libs/$platform/$build_type/libwebrtc_lite.a webrtc-checkout/src/out/$platform/$build_type/obj/rtc_base/third_party/base64/base64/*.o $LLVM -qcs out/libs/$target/$build_type/libwebrtc_lite.a webrtc-checkout/src/out/$target/$build_type/obj/rtc_base/third_party/base64/base64/*.o
$LLVM -qcs out/libs/$platform/$build_type/libwebrtc_lite.a webrtc-checkout/src/out/$platform/$build_type/obj/api/task_queue/task_queue/*.o $LLVM -qcs out/libs/$target/$build_type/libwebrtc_lite.a webrtc-checkout/src/out/$target/$build_type/obj/api/task_queue/task_queue/*.o
$LLVM -qcs out/libs/$platform/$build_type/libwebrtc_lite.a webrtc-checkout/src/out/$platform/$build_type/obj/rtc_base/system/file_wrapper/*.o $LLVM -qcs out/libs/$target/$build_type/libwebrtc_lite.a webrtc-checkout/src/out/$target/$build_type/obj/rtc_base/system/file_wrapper/*.o
$LLVM -qcs out/libs/$platform/$build_type/libwebrtc_lite.a webrtc-checkout/src/out/$platform/$build_type/obj/rtc_base/platform_thread/*.o $LLVM -qcs out/libs/$target/$build_type/libwebrtc_lite.a webrtc-checkout/src/out/$target/$build_type/obj/rtc_base/platform_thread/*.o
$LLVM -qcs out/libs/$platform/$build_type/libwebrtc_lite.a webrtc-checkout/src/out/$platform/$build_type/obj/api/rtc_event_log/rtc_event_log/*.o $LLVM -qcs out/libs/$target/$build_type/libwebrtc_lite.a webrtc-checkout/src/out/$target/$build_type/obj/api/rtc_event_log/rtc_event_log/*.o
$LLVM -qcs out/libs/$platform/$build_type/libwebrtc_lite.a webrtc-checkout/src/out/$platform/$build_type/obj/api/rtp_parameters/*.o $LLVM -qcs out/libs/$target/$build_type/libwebrtc_lite.a webrtc-checkout/src/out/$target/$build_type/obj/api/rtp_parameters/*.o
$LLVM -qcs out/libs/$platform/$build_type/libwebrtc_lite.a webrtc-checkout/src/out/$platform/$build_type/obj/api/transport/media/media_transport_interface/*.o $LLVM -qcs out/libs/$target/$build_type/libwebrtc_lite.a webrtc-checkout/src/out/$target/$build_type/obj/api/transport/media/media_transport_interface/*.o
$LLVM -qcs out/libs/$platform/$build_type/libwebrtc_lite.a webrtc-checkout/src/out/$platform/$build_type/obj/call/rtp_receiver/*.o $LLVM -qcs out/libs/$target/$build_type/libwebrtc_lite.a webrtc-checkout/src/out/$target/$build_type/obj/call/rtp_receiver/*.o
$LLVM -qcs out/libs/$platform/$build_type/libwebrtc_lite.a webrtc-checkout/src/out/$platform/$build_type/obj/modules/rtp_rtcp/rtp_rtcp_format/*.o $LLVM -qcs out/libs/$target/$build_type/libwebrtc_lite.a webrtc-checkout/src/out/$target/$build_type/obj/modules/rtp_rtcp/rtp_rtcp_format/*.o
$LLVM -qcs out/libs/$platform/$build_type/libwebrtc_lite.a webrtc-checkout/src/out/$platform/$build_type/obj/media/rtc_media_base/*.o $LLVM -qcs out/libs/$target/$build_type/libwebrtc_lite.a webrtc-checkout/src/out/$target/$build_type/obj/media/rtc_media_base/*.o
$LLVM -qcs out/libs/$platform/$build_type/libwebrtc_lite.a webrtc-checkout/src/out/$platform/$build_type/obj/api/units/data_size/*.o $LLVM -qcs out/libs/$target/$build_type/libwebrtc_lite.a webrtc-checkout/src/out/$target/$build_type/obj/api/units/data_size/*.o
$LLVM -qcs out/libs/$platform/$build_type/libwebrtc_lite.a webrtc-checkout/src/out/$platform/$build_type/obj/api/units/time_delta/*.o $LLVM -qcs out/libs/$target/$build_type/libwebrtc_lite.a webrtc-checkout/src/out/$target/$build_type/obj/api/units/time_delta/*.o
$LLVM -qcs out/libs/$platform/$build_type/libwebrtc_lite.a webrtc-checkout/src/out/$platform/$build_type/obj/api/units/data_rate/*.o $LLVM -qcs out/libs/$target/$build_type/libwebrtc_lite.a webrtc-checkout/src/out/$target/$build_type/obj/api/units/data_rate/*.o
$LLVM -qcs out/libs/$platform/$build_type/libwebrtc_lite.a webrtc-checkout/src/out/$platform/$build_type/obj/api/video/video_rtp_headers/*.o $LLVM -qcs out/libs/$target/$build_type/libwebrtc_lite.a webrtc-checkout/src/out/$target/$build_type/obj/api/video/video_rtp_headers/*.o
$LLVM -qcs out/libs/$platform/$build_type/libwebrtc_lite.a webrtc-checkout/src/out/$platform/$build_type/obj/pc/media_protocol_names/*.o $LLVM -qcs out/libs/$target/$build_type/libwebrtc_lite.a webrtc-checkout/src/out/$target/$build_type/obj/pc/media_protocol_names/*.o
#archives from third-party directory #archives from third-party directory
$LLVM -rcs out/libs/$platform/$build_type/libboringssl_asm.a webrtc-checkout/src/out/$platform/$build_type/obj/third_party/boringssl/boringssl_asm/*.o $LLVM -rcs out/libs/$target/$build_type/libboringssl_asm.a webrtc-checkout/src/out/$target/$build_type/obj/third_party/boringssl/boringssl_asm/*.o
$LLVM -qcs out/libs/$platform/$build_type/libjsoncxx.a webrtc-checkout/src/out/$platform/$build_type/obj/third_party/jsoncpp/jsoncpp/json_reader.o webrtc-checkout/src/out/$platform/$build_type/obj/third_party/jsoncpp/jsoncpp/json_value.o webrtc-checkout/src/out/$platform/$build_type/obj/third_party/jsoncpp/jsoncpp/json_writer.o $LLVM -qcs out/libs/$target/$build_type/libjsoncxx.a webrtc-checkout/src/out/$target/$build_type/obj/third_party/jsoncpp/jsoncpp/json_reader.o webrtc-checkout/src/out/$target/$build_type/obj/third_party/jsoncpp/jsoncpp/json_value.o webrtc-checkout/src/out/$target/$build_type/obj/third_party/jsoncpp/jsoncpp/json_writer.o
$LLVM -rcs out/libs/$platform/$build_type/libboringssl.a webrtc-checkout/src/out/$platform/$build_type/obj/third_party/boringssl/boringssl/*.o $LLVM -rcs out/libs/$target/$build_type/libboringssl.a webrtc-checkout/src/out/$target/$build_type/obj/third_party/boringssl/boringssl/*.o
$LLVM -rcs out/libs/$platform/$build_type/libprotobuf_lite.a webrtc-checkout/src/out/$platform/$build_type/obj/third_party/protobuf/protobuf_lite/*.o $LLVM -rcs out/libs/$target/$build_type/libprotobuf_lite.a webrtc-checkout/src/out/$target/$build_type/obj/third_party/protobuf/protobuf_lite/*.o
$LLVM -qcs out/libs/$platform/$build_type/libabseil_cpp.a webrtc-checkout/src/out/$platform/$build_type/obj/third_party/abseil-cpp/absl/strings/strings/*.o webrtc-checkout/src/out/$platform/$build_type/obj/third_party/abseil-cpp/absl/base/throw_delegate/*.o webrtc-checkout/src/out/$platform/$build_type/obj/third_party/abseil-cpp/absl/types/bad_optional_access/*.o webrtc-checkout/src/out/$platform/$build_type/obj/third_party/abseil-cpp/absl/base/raw_logging_internal/*.o $LLVM -qcs out/libs/$target/$build_type/libabseil_cpp.a webrtc-checkout/src/out/$target/$build_type/obj/third_party/abseil-cpp/absl/strings/strings/*.o webrtc-checkout/src/out/$target/$build_type/obj/third_party/abseil-cpp/absl/base/throw_delegate/*.o webrtc-checkout/src/out/$target/$build_type/obj/third_party/abseil-cpp/absl/types/bad_optional_access/*.o webrtc-checkout/src/out/$target/$build_type/obj/third_party/abseil-cpp/absl/base/raw_logging_internal/*.o
$LLVM -rcs out/libs/$platform/$build_type/libsrtp.a webrtc-checkout/src/out/$platform/$build_type/obj/third_party/libsrtp/libsrtp/*.o $LLVM -rcs out/libs/$target/$build_type/libsrtp.a webrtc-checkout/src/out/$target/$build_type/obj/third_party/libsrtp/libsrtp/*.o
$LLVM -rcs out/libs/$platform/$build_type/libc++.a webrtc-checkout/src/out/$platform/$build_type/obj/buildtools/third_party/libc++/libc++/*.o $LLVM -rcs out/libs/$target/$build_type/libc++.a webrtc-checkout/src/out/$target/$build_type/obj/buildtools/third_party/libc++/libc++/*.o
$LLVM -rcs out/libs/$platform/$build_type/libc++abi.a webrtc-checkout/src/out/$platform/$build_type/obj/buildtools/third_party/libc++abi/libc++abi/*.o $LLVM -rcs out/libs/$target/$build_type/libc++abi.a webrtc-checkout/src/out/$target/$build_type/obj/buildtools/third_party/libc++abi/libc++abi/*.o