mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1166169 - Add MOZ_GONK_MEDIACODEC in configure and define it in moz.build. r=cpearce, r=glandium
This commit is contained in:
parent
530f26de31
commit
bd85680494
@ -5328,6 +5328,11 @@ if test -n "$MOZ_FMP4"; then
|
||||
MOZ_EME=1
|
||||
fi;
|
||||
|
||||
if test "$MOZ_WIDGET_TOOLKIT" = "gonk" -a -n "$MOZ_FMP4" -a "$ANDROID_VERSION" -ge "18"; then
|
||||
MOZ_GONK_MEDIACODEC=1
|
||||
AC_SUBST(MOZ_GONK_MEDIACODEC)
|
||||
fi
|
||||
|
||||
dnl ========================================================
|
||||
dnl = EME support
|
||||
dnl ========================================================
|
||||
|
@ -27,3 +27,6 @@ FAIL_ON_WARNINGS = True
|
||||
|
||||
if CONFIG['OS_ARCH'] == 'WINNT':
|
||||
DEFINES['NOMINMAX'] = True
|
||||
|
||||
if CONFIG['MOZ_GONK_MEDIACODEC']:
|
||||
DEFINES['MOZ_GONK_MEDIACODEC'] = True
|
||||
|
@ -59,7 +59,7 @@ if CONFIG['MOZ_APPLEMEDIA']:
|
||||
'-framework AudioToolbox',
|
||||
]
|
||||
|
||||
if CONFIG['MOZ_FMP4'] and CONFIG['ANDROID_VERSION'] >= '18'and CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gonk':
|
||||
if CONFIG['MOZ_GONK_MEDIACODEC']:
|
||||
DEFINES['MOZ_GONK_MEDIACODEC'] = True
|
||||
DIRS += ['gonk']
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user