Set api keys to full patch

This commit is contained in:
Jan Horak 2020-02-11 17:01:51 +01:00
parent d43a4f7bb6
commit 6f25514671
2 changed files with 5 additions and 3 deletions

View File

@ -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

View File

@ -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.