path: root/deps/openssl/openssl_common.gypi
AgeCommit message (Collapse)Author
2019-12-05deps: fix OPENSSLDIR on WindowsShigeki Ohtsu
Backslashes and spaces are need to be escaped to define OPENSSLDIR to "C:\Program Files\Common Files\SSL". PR-URL: Refs: Reviewed-By: Richard Lau <> Reviewed-By: Sam Roberts <> Reviewed-By: Luigi Pinca <> Reviewed-By: Colin Ihrig <> Reviewed-By: Michael Dawson <> Reviewed-By: James M Snell <> Reviewed-By: Rich Trott <>
2019-10-13build: always use strings for compiler version in gyp filesMichaƫl Zasso
If GYP finds a string variable that can be converted to an integer, it will do it when the variable is expanded. Use "0.0" instead of "0" to force strings and be able to use comparison operations such as `gas_version >= "2.26"` in Python 3. PR-URL: Reviewed-By: Christian Clauss <> Reviewed-By: Sam Roberts <>
2019-02-15build: fixed clang's warning when building opensslThang Tran
clang doesn't seem to support 'Wno-old-style-declaration', this is a work-around. Fixes: Refs: PR-URL: Reviewed-By: Refael Ackermann <> Reviewed-By: Daniel Bevenius <> Reviewed-By: Richard Lau <> Reviewed-By: James M Snell <>
2019-01-22deps: fix gyp/gypi for openssl-1.1.1Shigeki Ohtsu
Some of defines and cppflags in the build config of OpenSSL-1.1.1 were moved to new attributes. Gyp and gypi file generations are needed to be fixed to include them. PR-URL: Reviewed-By: Daniel Bevenius <> Reviewed-By: Shigeki Ohtsu <>
2018-04-10deps: add gyp, header and Makefile for openssl110Shigeki Ohtsu
This commit has a new binding scheme in builing OpenSSL-1.1.0 library with Node. OpenSSL-1.1.0 uses a new build system with perl for various supported platforms. See `Configurations/README` and `Configurations/` in the OpenSSL source for details. In order to build OpenSSL library without perl in the build of Node for various supported platforms, platform dependent files (e.g. asm and header files ) are pre-generated and stored into the `config/arch` directory. - Makefile and Makefile has supported platform list and generates and copies platform dependent files (e.g. asm files) into arch directory with Platform dependent gypi files also created obtaining build information from `` that is generated with `Configure` in the OpenSSL build system. For Windows, `Configure` generates makefile that is only available to nmake command. Since nmake is not supported in Linux, `Makefile_VC-WIN32` and `Makefile_VC-WIN64A` are made created by hand for the use of GNU make. If make rules or targets are changed in the version up of OpenSSL, they should be also updated. The following files are used in upgrading openssl-1.1.0. - gyp and gypi files openssl.gyp has two targets of openssl and openssl-cli referred from node.gyp. They includes asm and no_asm gypi files with arch dependent gypi according to its build options and platforms . The gyp data which is common with asm and no_asm are stored in openssl_common.gypi. - header files bn_conf.h, dso_conf.h and opensslconf.h are platform dependent in the OpenSSL sources. They are replaced with *.h.tmpl files to include the file in the `../../../config/` and referred to each arch files that depends on asm and no-asm option. Fixes: PR-URL: Reviewed-By: James M Snell <> Reviewed-By: Rod Vagg <> Reviewed-By: Michael Dawson <>