|
|
@ -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 |
|
|
|