chore: update GN build for chrome 66

This commit is contained in:
Jeremy Apthorp 2018-06-20 12:50:43 -07:00
parent 4a7dda7c45
commit aa4ca406c8
4 changed files with 34 additions and 21 deletions

View file

@ -38,12 +38,6 @@ action("gyp_node") {
"$target_out_dir/Release/build.ninja",
]
# TODO(jeremy): should shlib_suffix be set inside node.gypi?
if (is_mac) {
shlib_suffix = "dylib"
} else if (is_linux) {
shlib_suffix = "so"
}
args = [
"-I", rebase_path("$target_gen_dir/config.gypi", root_build_dir),
"-I", rebase_path("node_override.gypi", root_build_dir),

View file

@ -27,13 +27,9 @@
'../../../../../../libicuuc.dylib',
],
'defines': [
# These will no longer be necessary once
# https://github.com/google/boringssl/commit/a02ed04d527e1b57b4efaa0b4f9bdbc1ed5975b2
# is in the past for Electron
'EVP_CIPH_CCM_MODE=0',
'EVP_CIPH_WRAP_MODE=0',
'EVP_CIPHER_CTX_FLAG_WRAP_ALLOW=0',
'EVP_CIPHER_CTX_set_flags(...)',
'EVP_CTRL_AEAD_SET_IVLEN=EVP_CTRL_GCM_SET_IVLEN',
'EVP_CTRL_CCM_SET_TAG=EVP_CTRL_GCM_SET_TAG',
'EVP_CTRL_AEAD_GET_TAG=EVP_CTRL_GCM_GET_TAG',
],
}],
],