From fd994f11b86a7977e1e4656796da37aec950708d Mon Sep 17 00:00:00 2001 From: murgatroid99 Date: Fri, 9 Oct 2015 14:02:28 -0700 Subject: Consolidated gyp files to fix Node installation issue --- templates/binding.gyp.template | 112 +++++++++++++++++++++++++---------------- 1 file changed, 69 insertions(+), 43 deletions(-) (limited to 'templates') diff --git a/templates/binding.gyp.template b/templates/binding.gyp.template index 9a7637d8bf..1e5b2ea911 100644 --- a/templates/binding.gyp.template +++ b/templates/binding.gyp.template @@ -1,7 +1,7 @@ %YAML 1.2 --- | - # GRPC gyp file - # This currently builds C code. + # GRPC Node gyp file + # This currently builds the Node extension and dependencies # This file has been automatically generated from a template file. # Please look at the templates directory instead. # This file can be regenerated from the template by running @@ -39,54 +39,20 @@ # Some of this file is built with the help of # https://n8.io/converting-a-c-library-to-gyp/ { + 'variables': { + 'config': '0. + # io.js always reports versions >0 and always exports ALPN symbols. 'defines': [ - 'TSI_OPENSSL_ALPN_SUPPORT=/dev/null 2>&1 && echo 1 || echo 0)' + 'TSI_OPENSSL_ALPN_SUPPORT=