Make WebRTC use third_party/libevent rather than base/third_party/libevent

Bug: chromium:1335194
Change-Id: I084b391b42e2496163ea625c0bdc9255177e5603
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/266680
Auto-Submit: Daniel.L (Byoungchan) Lee <daniel.l@hpcnt.com>
Commit-Queue: Harald Alvestrand <hta@webrtc.org>
Reviewed-by: Harald Alvestrand <hta@webrtc.org>
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#37375}
This commit is contained in:
Byoungchan Lee
2022-06-23 22:06:00 +09:00
committed by WebRTC LUCI CQ
parent fa1a81cba8
commit d69a726989
5 changed files with 5 additions and 10 deletions

View File

@ -53,8 +53,7 @@ LIB_TO_LICENSES_DICT = {
'libaom': ['third_party/libaom/source/libaom/LICENSE'],
'libc++': ['buildtools/third_party/libc++/trunk/LICENSE.TXT'],
'libc++abi': ['buildtools/third_party/libc++abi/trunk/LICENSE.TXT'],
'libevent':
['base/third_party/libevent/LICENSE', 'third_party/libevent/LICENSE'],
'libevent': ['third_party/libevent/LICENSE'],
'libjpeg_turbo': ['third_party/libjpeg_turbo/LICENSE.md'],
'libsrtp': ['third_party/libsrtp/LICENSE'],
'libunwind': ['buildtools/third_party/libunwind/trunk/LICENSE.TXT'],
@ -221,9 +220,6 @@ class LicenseBuilder:
output_license_file.write('```\n')
for path in self.common_licenses_dict[license_lib]:
license_path = os.path.join(WEBRTC_ROOT, path)
# TODO(crbug.com/1335194) Workaround for unblocking autoroller.
if license_lib == "libevent" and not os.path.exists(license_path):
continue
with open(license_path, 'r') as license_file:
license_text = escape(license_file.read(), quote=True)
output_license_file.write(license_text)