Index: tools-webrtc/ios/build_ios_libs.py |
diff --git a/tools-webrtc/ios/build_ios_libs.py b/tools-webrtc/ios/build_ios_libs.py |
index 4e2585cc8a7e05b0ee0075aa794d2194fe61af07..6e7f14a8dc8251ead2ffd580feefc65398463bd9 100755 |
--- a/tools-webrtc/ios/build_ios_libs.py |
+++ b/tools-webrtc/ios/build_ios_libs.py |
@@ -204,6 +204,15 @@ def main(): |
cmd = ['lipo'] + lib_dsym_paths + ['-create', '-output', out_dsym_path] |
_RunCommand(cmd) |
+ # Generate the license file. |
tkchin_webrtc
2017/03/09 22:26:28
Is this arch dependent? (Or is there a way to make
|
+ license_script_path = os.path.join(os.path.dirname(SCRIPT_DIR), |
+ 'generate_licenses.py') |
+ ninja_dir = os.path.join(args.output_dir, args.arch[0] + '_libs') |
+ gn_target_full_name = '//webrtc/sdk:rtc_sdk_framework_objc' |
+ cmd = [sys.executable, license_script_path, gn_target_full_name, ninja_dir, |
+ os.path.join(args.output_dir, SDK_FRAMEWORK_NAME)] |
+ _RunCommand(cmd) |
+ |
# Modify the version number. |
# Format should be <Branch cut MXX>.<Hotfix #>.<Rev #>. |
# e.g. 55.0.14986 means branch cut 55, no hotfixes, and revision 14986. |