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

Side by Side Diff: webrtc/build/ios/build_ios_libs.sh

Issue 2652553004: Minor cleanup: Removing unused variable (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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/bash 1 #!/bin/bash
2 2
3 # Copyright 2015 The WebRTC project authors. All Rights Reserved. 3 # Copyright 2015 The WebRTC project authors. All Rights Reserved.
4 # 4 #
5 # Use of this source code is governed by a BSD-style license 5 # Use of this source code is governed by a BSD-style license
6 # that can be found in the LICENSE file in the root of the source 6 # that can be found in the LICENSE file in the root of the source
7 # tree. An additional intellectual property rights grant can be found 7 # tree. An additional intellectual property rights grant can be found
8 # in the file PATENTS. All contributing project authors may 8 # in the file PATENTS. All contributing project authors may
9 # be found in the AUTHORS file in the root of the source tree. 9 # be found in the AUTHORS file in the root of the source tree.
10 10
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 if [[ ${flavor} = "debug" ]]; then 44 if [[ ${flavor} = "debug" ]]; then
45 GN_ARGS="${GN_ARGS} is_debug=true" 45 GN_ARGS="${GN_ARGS} is_debug=true"
46 elif [[ ${flavor} = "release" ]]; then 46 elif [[ ${flavor} = "release" ]]; then
47 GN_ARGS="${GN_ARGS} is_debug=false" 47 GN_ARGS="${GN_ARGS} is_debug=false"
48 else 48 else
49 echo "Unexpected flavor type: ${flavor}" 49 echo "Unexpected flavor type: ${flavor}"
50 exit 1 50 exit 1
51 fi 51 fi
52 52
53 # Add the specified architecture. 53 # Add the specified architecture.
54 OUTPUT_LIB=${OUTPUT_DIR}/${SDK_LIB_NAME}
55 GN_ARGS="${GN_ARGS} target_cpu=\"${target_arch}\"" 54 GN_ARGS="${GN_ARGS} target_cpu=\"${target_arch}\""
56 55
57 # Add deployment target. 56 # Add deployment target.
58 GN_ARGS="${GN_ARGS} ios_deployment_target=\"${ios_deployment_target}\"" 57 GN_ARGS="${GN_ARGS} ios_deployment_target=\"${ios_deployment_target}\""
59 58
60 # Add vp9 option. 59 # Add vp9 option.
61 GN_ARGS="${GN_ARGS} rtc_libvpx_build_vp9=${libvpx_build_vp9}" 60 GN_ARGS="${GN_ARGS} rtc_libvpx_build_vp9=${libvpx_build_vp9}"
62 61
63 # Add bitcode option. 62 # Add bitcode option.
64 GN_ARGS="${GN_ARGS} enable_ios_bitcode=${use_bitcode}" 63 GN_ARGS="${GN_ARGS} enable_ios_bitcode=${use_bitcode}"
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 VERSION_NUMBER="${MAJOR_MINOR}.${WEBRTC_REVISION}" 204 VERSION_NUMBER="${MAJOR_MINOR}.${WEBRTC_REVISION}"
206 echo "Substituting revision number: ${VERSION_NUMBER}" 205 echo "Substituting revision number: ${VERSION_NUMBER}"
207 PlistBuddy -c "Set :CFBundleVersion ${VERSION_NUMBER}" ${INFOPLIST_PATH} 206 PlistBuddy -c "Set :CFBundleVersion ${VERSION_NUMBER}" ${INFOPLIST_PATH}
208 plutil -convert binary1 ${INFOPLIST_PATH} 207 plutil -convert binary1 ${INFOPLIST_PATH}
209 else 208 else
210 echo "BUILD_TYPE ${BUILD_TYPE} not supported." 209 echo "BUILD_TYPE ${BUILD_TYPE} not supported."
211 exit 1 210 exit 1
212 fi 211 fi
213 212
214 echo "Done." 213 echo "Done."
OLDNEW
« 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