@@ -29,9 +29,11 @@
2929# Set to `privacySupport` or `false`.
3030
3131, webrtcSupport ? !privacySupport
32−, googleAPISupport ? !privacySupport
32+, geolocationSupport ? !privacySupport
33+, googleAPISupport ? geolocationSupport
3334, crashreporterSupport ? false
3435
36+, safeBrowsingSupport ? false
3537, drmSupport ? false
3638
3739## other
@@ -141,7 +143,7 @@ stdenv.mkDerivation (rec {
141143 ]
142144
143145 # and wants these
144− ++ lib.optionals isTorBrowserLike [
146+ ++ lib.optionals isTorBrowserLike ([
145147 "--with-tor-browser-version=${version}"
146148 "--enable-signmar"
147149 "--enable-verify-mar"
@@ -151,7 +153,9 @@ stdenv.mkDerivation (rec {
151153 # possibilities on other platforms.
152154 # Lets save some space instead.
153155 "--with-system-nspr"
154− ]
156+ ] ++ flag geolocationSupport "mozril-geoloc"
157+ ++ flag safeBrowsingSupport "safe-browsing"
158+ )
155159
156160 ++ flag alsaSupport "alsa"
157161 ++ flag pulseaudioSupport "pulseaudio"