diff options
-rw-r--r-- | chrome/chrome_common.gypi | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/chrome/chrome_common.gypi b/chrome/chrome_common.gypi index d4ca5b6..4c17aaf 100644 --- a/chrome/chrome_common.gypi +++ b/chrome/chrome_common.gypi @@ -473,8 +473,18 @@ ], 'conditions': [ [ 'OS == "linux" or OS == "freebsd" or OS == "openbsd"', { - 'dependencies': [ - '../build/linux/system.gyp:nss', + 'conditions': [ + ['use_openssl==1', { + 'dependencies': [ + '../build/linux/system.gyp:openssl', + ], + }, + { # else !use_openssl + 'dependencies': [ + '../build/linux/system.gyp:nss', + ], + }, + ], ], }, { # else: OS is not in the above list |