iOS: Fix license path in API framework script

BUG=chromium:611808
NOTRY=True
NOTREECHECKS=True

Change-Id: I4292a3f9e35da7666039402cf10bac1e0fd2a6b4
Reviewed-on: https://webrtc-review.googlesource.com/1565
Commit-Queue: Henrik Kjellander <kjellander@webrtc.org>
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#19847}
This commit is contained in:
Henrik Kjellander 2017-09-15 08:57:50 +02:00 committed by Commit Bot
parent 92ea95e34a
commit 0e8f053867
2 changed files with 2 additions and 3 deletions

View File

@ -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)]

View File

@ -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):