зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1386164 - Part 2. Use MOZ_SYSTEM_LIBEVENT for webrtc. r=jesup
GYP of WebRTC should reference MOZ_SYSTEM_LIBEVENT values if available. MozReview-Commit-ID: CshsPrRidM8 --HG-- extra : rebase_source : 9e619c2f49e7c2b3f680814b95b823996773fa6c
This commit is contained in:
Родитель
b2458fa168
Коммит
d2130a3810
|
@ -43,7 +43,6 @@ gyp_vars.update({
|
|||
'build_icu': 0,
|
||||
'build_opus': 0,
|
||||
'libyuv_dir': '/media/libyuv/libyuv',
|
||||
'libevent_dir': '/ipc/chromium/src/third_party/libevent',
|
||||
'yuv_disable_avx2': 0 if CONFIG['HAVE_X86_AVX2'] else 1,
|
||||
# don't use openssl
|
||||
'use_openssl': 0,
|
||||
|
@ -124,3 +123,6 @@ if CONFIG['MACOS_SDK_DIR']:
|
|||
|
||||
if not CONFIG['MOZ_SYSTEM_LIBVPX']:
|
||||
gyp_vars['libvpx_dir'] = '/media/libvpx/libvpx'
|
||||
|
||||
if not CONFIG['MOZ_SYSTEM_LIBEVENT']:
|
||||
gyp_vars['libevent_dir'] = '/ipc/chromium/src/third_party/libevent'
|
||||
|
|
|
@ -64,9 +64,12 @@ if CONFIG['OS_TARGET'] in ['Darwin', 'Linux', 'WINNT']:
|
|||
'../third_party/gflags/gen/posix/include/private',
|
||||
]
|
||||
|
||||
USE_LIBS += [
|
||||
'libevent',
|
||||
]
|
||||
if CONFIG['MOZ_SYSTEM_LIBEVENT']:
|
||||
OS_LIBS += CONFIG['MOZ_LIBEVENT_LIBS']
|
||||
else:
|
||||
USE_LIBS += [
|
||||
'libevent',
|
||||
]
|
||||
|
||||
OS_LIBS += [
|
||||
'rt',
|
||||
|
|
|
@ -211,6 +211,7 @@
|
|||
],
|
||||
} , {
|
||||
'include_dirs': [
|
||||
'$(MOZ_LIBEVENT_CFLAGS)',
|
||||
'<(libevent_dir)/',
|
||||
'<(libevent_dir)/../',
|
||||
'<(libevent_dir)/include/',
|
||||
|
|
Загрузка…
Ссылка в новой задаче