From 6f255146717c56aa4d172b4192d30b6879ace5c8 Mon Sep 17 00:00:00 2001 From: Jan Horak Date: Tue, 11 Feb 2020 17:01:51 +0100 Subject: Set api keys to full patch --- firefox-mozconfig | 3 --- firefox.spec | 5 +++++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/firefox-mozconfig b/firefox-mozconfig index 8975cbf..4232142 100644 --- a/firefox-mozconfig +++ b/firefox-mozconfig @@ -10,9 +10,6 @@ ac_add_options --disable-updater ac_add_options --enable-chrome-format=omni ac_add_options --enable-pulseaudio ac_add_options --without-system-icu -ac_add_options --with-mozilla-api-keyfile=../../mozilla-api-key -ac_add_options --with-google-location-service-api-keyfile=../../google-api-key -ac_add_options --with-google-safebrowsing-api-keyfile=../../google-api-key ac_add_options --enable-release ac_add_options --update-channel=release ac_add_options --disable-system-sqlite diff --git a/firefox.spec b/firefox.spec index 48fba14..19015e7 100644 --- a/firefox.spec +++ b/firefox.spec @@ -465,6 +465,11 @@ echo "ac_add_options --enable-address-sanitizer" >> .mozconfig echo "ac_add_options --disable-jemalloc" >> .mozconfig %endif +# api keys full path +echo "ac_add_options --with-mozilla-api-keyfile=`pwd`/mozilla-api-key" >> .mozconfig +echo "ac_add_options --with-google-location-service-api-keyfile=`pwd`/google-api-key" >> .mozconfig +echo "ac_add_options --with-google-safebrowsing-api-keyfile=`pwd`/google-api-key" >> .mozconfig + echo 'export NODEJS="%{_buildrootdir}/bin/node-stdout-nonblocking-wrapper"' >> .mozconfig # Remove executable bit to make brp-mangle-shebangs happy. -- cgit