diff --git a/layout/media/moz.build b/layout/media/moz.build index f52cdbd9e79..84a14f872a5 100644 --- a/layout/media/moz.build +++ b/layout/media/moz.build @@ -8,4 +8,5 @@ MODULE = 'layout' LIBRARY_NAME = 'gkmedias' -DIRS += ['webrtc'] +if CONFIG['MOZ_WEBRTC']: + DIRS += ['webrtc']