From 011dac290a9ea52539754aa64958df204425eb76 Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Tue, 12 Dec 2017 22:44:02 +0100 Subject: Don't build GMP-clearkey when not building EME. --- toolkit/toolkit.mozbuild | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'toolkit') diff --git a/toolkit/toolkit.mozbuild b/toolkit/toolkit.mozbuild index d94f1240a..7164a8ad5 100644 --- a/toolkit/toolkit.mozbuild +++ b/toolkit/toolkit.mozbuild @@ -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', -- cgit v1.2.3