diff --git a/tools_webrtc/ios/build_ios_libs.py b/tools_webrtc/ios/build_ios_libs.py index d63f5d91d8..39cc886685 100755 --- a/tools_webrtc/ios/build_ios_libs.py +++ b/tools_webrtc/ios/build_ios_libs.py @@ -133,7 +133,7 @@ def BuildWebRTC(output_dir, target_arch, flavor, gn_target_name, # Strip debug symbols to reduce size. if static_only: - gn_target_path = os.path.join(output_dir, 'obj', 'webrtc', 'sdk', + gn_target_path = os.path.join(output_dir, 'obj', 'sdk', 'lib%s.a' % gn_target_name) cmd = ['strip', '-S', gn_target_path, '-o', os.path.join(output_dir, 'lib%s.a' % gn_target_name)] diff --git a/tools_webrtc/libs/generate_licenses.py b/tools_webrtc/libs/generate_licenses.py index b9ca02fea0..e3b05a8e0c 100755 --- a/tools_webrtc/libs/generate_licenses.py +++ b/tools_webrtc/libs/generate_licenses.py @@ -38,7 +38,7 @@ LIB_TO_LICENSES_DICT = { 'opus': ['third_party/opus/src/COPYING'], 'protobuf': ['third_party/protobuf/LICENSE'], 'usrsctp': ['third_party/usrsctp/LICENSE'], - 'webrtc': ['webrtc/LICENSE', 'webrtc/LICENSE_THIRD_PARTY'], + 'webrtc': ['LICENSE', 'LICENSE_THIRD_PARTY'], # Compile time dependencies, no license needed: 'yasm': [], @@ -46,7 +46,6 @@ LIB_TO_LICENSES_DICT = { SCRIPT_DIR = os.path.dirname(os.path.realpath(sys.argv[0])) CHECKOUT_ROOT = os.path.abspath(os.path.join(SCRIPT_DIR, os.pardir, os.pardir)) -WEBRTC_ROOT = os.path.join(CHECKOUT_ROOT, 'webrtc') THIRD_PARTY_LIB_REGEX = r'^.*/third_party/([\w+]+).*$' class LicenseBuilder(object):