Bug 1585470 - Remove duplicate cpu-features.c definition when building GV without webrtc r=glandium

Differential Revision: https://phabricator.services.mozilla.com/D82120
This commit is contained in:
Matthew Finkel 2020-07-09 19:10:34 +00:00
Родитель 6084fa2442
Коммит 262fa6f330
1 изменённых файлов: 0 добавлений и 5 удалений

Просмотреть файл

@ -84,11 +84,6 @@ if CONFIG['OS_TARGET'] == 'Android':
# the OS they're on, so do it for them. # the OS they're on, so do it for them.
DEFINES['__linux__'] = True DEFINES['__linux__'] = True
if not CONFIG['MOZ_WEBRTC']:
SOURCES += [
'%%%s/sources/android/cpufeatures/cpu-features.c' % CONFIG['ANDROID_NDK'],
]
for f in SOURCES: for f in SOURCES:
if f.endswith('sse2.c'): if f.endswith('sse2.c'):
SOURCES[f].flags += CONFIG['SSE2_FLAGS'] SOURCES[f].flags += CONFIG['SSE2_FLAGS']