Merge branch 'node_electron_build' of github.com:murgatroid99/grpc into node_electron_build

pull/8601/head
murgatroid99 8 years ago
commit a7fa10005a
  1. 8
      binding.gyp
  2. 8
      templates/binding.gyp.template

@ -54,14 +54,18 @@
'GRPC_UV' 'GRPC_UV'
] ]
}], }],
['runtime=="electron"', {
"defines": [
'OPENSSL_NO_THREADS'
]
}],
# This is the condition for using boringssl # This is the condition for using boringssl
['OS=="win" or runtime=="electron"', { ['OS=="win" or runtime=="electron"', {
"include_dirs": [ "include_dirs": [
"third_party/boringssl/include" "third_party/boringssl/include"
], ],
"defines": [ "defines": [
'OPENSSL_NO_ASM', 'OPENSSL_NO_ASM'
'OPENSSL_NO_THREADS'
] ]
}, { }, {
# Based on logic above, we know that this must be a non-Windows system # Based on logic above, we know that this must be a non-Windows system

@ -56,14 +56,18 @@
'GRPC_UV' 'GRPC_UV'
] ]
}], }],
['runtime=="electron"', {
"defines": [
'OPENSSL_NO_THREADS'
]
}],
# This is the condition for using boringssl # This is the condition for using boringssl
['OS=="win" or runtime=="electron"', { ['OS=="win" or runtime=="electron"', {
"include_dirs": [ "include_dirs": [
"third_party/boringssl/include" "third_party/boringssl/include"
], ],
"defines": [ "defines": [
'OPENSSL_NO_ASM', 'OPENSSL_NO_ASM'
'OPENSSL_NO_THREADS'
] ]
}, { }, {
# Based on logic above, we know that this must be a non-Windows system # Based on logic above, we know that this must be a non-Windows system

Loading…
Cancel
Save