@@ -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
@@ -159,8 +161,10 @@ stdenv.mkDerivation (rec {
159161 ++ flag gssSupport "negotiateauth"
160162 ++ lib.optional (!ffmpegSupport) "--disable-gstreamer"
161163 ++ flag webrtcSupport "webrtc"
164+ ++ flag geolocationSupport "mozril-geoloc"
162165 ++ lib.optional googleAPISupport "--with-google-api-keyfile=ga"
163166 ++ flag crashreporterSupport "crashreporter"
167+ ++ flag safeBrowsingSupport "safe-browsing"
164168 ++ lib.optional drmSupport "--enable-eme=widevine"
165169
166170 ++ (if debugBuild then [ "--enable-debug" "--enable-profiling" ]