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

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

Issue 2366443003: iOS: Always build H264 HW encoder/decoder (Closed)
Patch Set: Remove defines Created 4 years, 2 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
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 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 gyp_file=webrtc/build/ios/merge_ios_libs.gyp 79 gyp_file=webrtc/build/ios/merge_ios_libs.gyp
80 gyp_target=rtc_sdk_peerconnection_objc_no_op 80 gyp_target=rtc_sdk_peerconnection_objc_no_op
81 override_visibility=1 81 override_visibility=1
82 elif [[ ${build_type} == "framework" ]]; then 82 elif [[ ${build_type} == "framework" ]]; then
83 echo "Building framework." 83 echo "Building framework."
84 else 84 else
85 echo "Unexpected build type: ${build_type}" 85 echo "Unexpected build type: ${build_type}"
86 exit 1 86 exit 1
87 fi 87 fi
88 88
89 export GYP_DEFINES="OS=ios target_arch=${target_arch} use_objc_h264=1 \ 89 export GYP_DEFINES="OS=ios target_arch=${target_arch} \
90 clang_xcode=1 ios_deployment_target=8.0 \ 90 clang_xcode=1 ios_deployment_target=8.0 \
91 ios_override_visibility=${override_visibility} \ 91 ios_override_visibility=${override_visibility} \
92 libvpx_build_vp9=${libvpx_build_vp9}" 92 libvpx_build_vp9=${libvpx_build_vp9}"
93 export GYP_GENERATORS="ninja" 93 export GYP_GENERATORS="ninja"
94 export GYP_GENERATOR_FLAGS="output_dir=${ninja_output_dir}" 94 export GYP_GENERATOR_FLAGS="output_dir=${ninja_output_dir}"
95 95
96 # GYP generation requires relative path for some reason. 96 # GYP generation requires relative path for some reason.
97 pushd ${WEBRTC_BASE_DIR} 97 pushd ${WEBRTC_BASE_DIR}
98 webrtc/build/gyp_webrtc.py ${gyp_file} 98 webrtc/build/gyp_webrtc.py ${gyp_file}
99 popd 99 popd
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
260 ln -sf ${INPUT_HEADER_DIR} ${OUTPUT_HEADER_DIR}/WebRTC 260 ln -sf ${INPUT_HEADER_DIR} ${OUTPUT_HEADER_DIR}/WebRTC
261 else 261 else
262 echo "BUILD_TYPE ${BUILD_TYPE} not supported." 262 echo "BUILD_TYPE ${BUILD_TYPE} not supported."
263 exit 1 263 exit 1
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

Powered by Google App Engine
This is Rietveld 408576698