summaryrefslogtreecommitdiff
path: root/toolkit
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2017-12-12 22:44:02 +0100
committerwolfbeast <mcwerewolf@gmail.com>2018-02-24 10:06:22 +0100
commit011dac290a9ea52539754aa64958df204425eb76 (patch)
tree848f524fd758a952fe21d55ea0e746c57a5c402a /toolkit
parent507827c207dda138f22ce47ca988708986d17006 (diff)
downloaduxp-011dac290a9ea52539754aa64958df204425eb76.tar.gz
Don't build GMP-clearkey when not building EME.
Diffstat (limited to 'toolkit')
-rw-r--r--toolkit/toolkit.mozbuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/toolkit/toolkit.mozbuild b/toolkit/toolkit.mozbuild
index d94f1240ac..7164a8ad58 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',