diff --git a/brightray/brightray.gypi b/brightray/brightray.gypi index ed4fce523b9a..d03703ba4a36 100644 --- a/brightray/brightray.gypi +++ b/brightray/brightray.gypi @@ -136,9 +136,16 @@ 'USE_AURA', ], }], - ['OS not in ["mac", "win"]', { + ['OS in ["mac", "win"]', { + 'defines': [ + 'USE_OPENSSL', + ], + }, { 'defines': [ 'USE_X11', + # "use_nss_certs" is set to 1 in libchromiumcontent. + 'USE_NSS_CERTS', + 'USE_NSS', # deprecated after Chrome 45. ], }], ['OS=="linux"', { @@ -146,10 +153,6 @@ '_LARGEFILE_SOURCE', '_LARGEFILE64_SOURCE', '_FILE_OFFSET_BITS=64', - # "use_nss_certs" is set to 1 in libchromiumcontent. - 'USE_NSS_CERTS', - # USE_NSS is set to be compatible with Chrome < 45. - 'USE_NSS', ], 'cflags_cc': [ '-D__STRICT_ANSI__',