summaryrefslogtreecommitdiff
path: root/nss.gyp
diff options
context:
space:
mode:
authorEdĂȘnis Freindorfer Azevedo <edenisfa@gmail.com>2019-01-10 09:38:25 +1100
committerEdĂȘnis Freindorfer Azevedo <edenisfa@gmail.com>2019-01-10 09:38:25 +1100
commit54fb140909714973507ce58b8310624fc5913555 (patch)
treef62ff7b011099d361d10dd83acade72368cf4bdd /nss.gyp
parent717a90cfb02a4156512df613b265ad709b0d64f7 (diff)
downloadnss-hg-54fb140909714973507ce58b8310624fc5913555.tar.gz
Bug 818686 - XDG Base Directory Specification support with fallback, r=mtNSS_3_42_BETA1
Summary: We check if $HOME/.pki and $HOME/.pki/nssdb exist; if they do, then we use this path. Otherwise, use ${XDG_DATA_HOME:-$HOME/.local/share}/pki/nssdb Test Plan: Create dummy empty dir and set HOME to it. Then, check if getUserDb returns: 1. $HOME/.pki/nssdb when this path exists; 2. $HOME/.local/share/pki/nssdb when $HOME/.pki/nssdb does not and XDG_DATA_HOME is not defined; 3. $XDG_DATA_HOME/pki/nssdb when $HOME/.pki/nssdb does not exist and XDG_DATA_HOME is defined. Reviewers: mt Reviewed By: mt Bug #: 818686 Differential Revision: https://phabricator.services.mozilla.com/D14007
Diffstat (limited to 'nss.gyp')
-rw-r--r--nss.gyp1
1 files changed, 1 insertions, 0 deletions
diff --git a/nss.gyp b/nss.gyp
index 18fa92f12..ba48c4bbf 100644
--- a/nss.gyp
+++ b/nss.gyp
@@ -199,6 +199,7 @@
[ 'OS=="linux"', {
'dependencies': [
'cmd/lowhashtest/lowhashtest.gyp:lowhashtest',
+ 'gtests/sysinit_gtest/sysinit_gtest.gyp:sysinit_gtest',
],
}],
[ 'disable_libpkix==0', {