Don't build GMP-clearkey when not building EME.

This commit is contained in:
wolfbeast 2017-12-12 22:44:02 +01:00 • committed by Roy Tam
commit cae1c0318b
2 changed files with 7 additions and 1 deletions

View file

@ -167,9 +167,13 @@ if CONFIG['ENABLE_MARIONETTE'] or CONFIG['MOZ_WIDGET_TOOLKIT'] not in ('gonk', '
DIRS += [
'/tools/quitter',
'/media/gmp-clearkey/0.1',
]
if CONFIG['MOZ_EME']:
DIRS += [
'/media/gmp-clearkey/0.1',
]
if CONFIG['ENABLE_TESTS']:
DIRS += [
'/testing/mochitest',