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

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

Issue 1988003002: Fix Info.plist path in build_ios_libs.sh (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Add missing header to silence umbrella header warning. Created 4 years, 7 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 | webrtc/sdk/objc/Framework/Headers/WebRTC/WebRTC.h » ('j') | 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 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 ${IA32_NINJA_DIR}/${DSYM_PATH} \ 203 ${IA32_NINJA_DIR}/${DSYM_PATH} \
204 ${X64_NINJA_DIR}/${DSYM_PATH} \ 204 ${X64_NINJA_DIR}/${DSYM_PATH} \
205 -create -output ${OUTPUT_DIR}/${DSYM_PATH} 205 -create -output ${OUTPUT_DIR}/${DSYM_PATH}
206 206
207 # Strip the dynamic framework of non-global symbols. 207 # Strip the dynamic framework of non-global symbols.
208 # TODO(tkchin): Override chromium strip settings in supplement.gypi instead. 208 # TODO(tkchin): Override chromium strip settings in supplement.gypi instead.
209 echo "Stripping non-global symbols." 209 echo "Stripping non-global symbols."
210 strip -x ${OUTPUT_DIR}/${DYLIB_PATH} 210 strip -x ${OUTPUT_DIR}/${DYLIB_PATH}
211 211
212 # Modify the version number. 212 # Modify the version number.
213 INFOPLIST_PATH=${OUTPUT_DIR}/WebRTC.framework/Resources/Info.plist 213 INFOPLIST_PATH=${OUTPUT_DIR}/WebRTC.framework/Info.plist
214 MAJOR_MINOR=$(plistbuddy -c "Print :CFBundleShortVersionString" \ 214 MAJOR_MINOR=$(plistbuddy -c "Print :CFBundleShortVersionString" \
215 ${INFOPLIST_PATH}) 215 ${INFOPLIST_PATH})
216 VERSION_NUMBER="${MAJOR_MINOR}.${POINT_VERSION}" 216 VERSION_NUMBER="${MAJOR_MINOR}.${POINT_VERSION}"
217 echo "Substituting revision number: ${VERSION_NUMBER}" 217 echo "Substituting revision number: ${VERSION_NUMBER}"
218 plistbuddy -c "Set :CFBundleVersion ${VERSION_NUMBER}" ${INFOPLIST_PATH} 218 plistbuddy -c "Set :CFBundleVersion ${VERSION_NUMBER}" ${INFOPLIST_PATH}
219 plutil -convert binary1 ${INFOPLIST_PATH} 219 plutil -convert binary1 ${INFOPLIST_PATH}
220 220
221 # Copy pod file. 221 # Copy pod file.
222 FORMAT_STRING=s/\${FRAMEWORK_VERSION_NUMBER}/${VERSION_NUMBER}/g 222 FORMAT_STRING=s/\${FRAMEWORK_VERSION_NUMBER}/${VERSION_NUMBER}/g
223 sed -e ${FORMAT_STRING} ${WEBRTC_BASE_DIR}/webrtc/sdk/objc/WebRTC.podspec > \ 223 sed -e ${FORMAT_STRING} ${WEBRTC_BASE_DIR}/webrtc/sdk/objc/WebRTC.podspec > \
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
260 else 260 else
261 mkdir -p ${OUTPUT_HEADER_DIR} 261 mkdir -p ${OUTPUT_HEADER_DIR}
262 ln -sf ${INPUT_HEADER_DIR} ${OUTPUT_HEADER_DIR}/WebRTC 262 ln -sf ${INPUT_HEADER_DIR} ${OUTPUT_HEADER_DIR}/WebRTC
263 fi 263 fi
264 fi 264 fi
265 265
266 echo "Generating LICENSE.html." 266 echo "Generating LICENSE.html."
267 ${LICENSE_SCRIPT} ${OUTPUT_DIR}/arm64_libs ${OUTPUT_DIR} 267 ${LICENSE_SCRIPT} ${OUTPUT_DIR}/arm64_libs ${OUTPUT_DIR}
268 268
269 echo "Done!" 269 echo "Done!"
OLDNEW
« no previous file with comments | « no previous file | webrtc/sdk/objc/Framework/Headers/WebRTC/WebRTC.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698