2018-10-24 11:24:11 -07:00
|
|
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
2018-09-20 17:30:26 -07:00
|
|
|
From: Jeremy Apthorp <nornagon@nornagon.net>
|
|
|
|
Date: Thu, 20 Sep 2018 17:48:05 -0700
|
2019-01-28 13:36:51 -08:00
|
|
|
Subject: boringssl BUILD.gn
|
2018-09-20 17:30:26 -07:00
|
|
|
|
2019-01-28 13:36:51 -08:00
|
|
|
Build BoringSSL with some extra functions that nodejs needs.
|
2018-09-20 17:30:26 -07:00
|
|
|
|
2018-09-13 22:02:16 -07:00
|
|
|
diff --git a/third_party/boringssl/BUILD.gn b/third_party/boringssl/BUILD.gn
|
2025-04-03 19:02:49 -05:00
|
|
|
index b962901a7db8e6e50155dabbb1371124b12f9b26..b01e197ae2e411a376ffa28b9058d62a16abf23b 100644
|
2018-09-13 22:02:16 -07:00
|
|
|
--- a/third_party/boringssl/BUILD.gn
|
|
|
|
+++ b/third_party/boringssl/BUILD.gn
|
2024-09-17 18:12:11 -07:00
|
|
|
@@ -48,6 +48,21 @@ all_sources = bcm_internal_headers + bcm_sources + crypto_internal_headers +
|
|
|
|
crypto_sources + ssl_internal_headers + ssl_sources + pki_sources
|
2024-02-29 10:31:13 +01:00
|
|
|
all_headers = crypto_headers + ssl_headers + pki_headers + pki_internal_headers
|
2018-09-13 22:02:16 -07:00
|
|
|
|
|
|
|
+if (is_electron_build) {
|
|
|
|
+ # Needed to build a nodejs-compatible boringssl.
|
|
|
|
+ all_sources += [
|
2024-12-10 13:16:07 -06:00
|
|
|
+ "decrepit/evp/evp_do_all.cc",
|
|
|
|
+ "decrepit/xts/xts.cc",
|
2018-09-13 22:02:16 -07:00
|
|
|
+ ]
|
2019-01-28 13:36:51 -08:00
|
|
|
+
|
|
|
|
+ all_sources += [
|
2024-12-10 13:16:07 -06:00
|
|
|
+ "decrepit/blowfish/blowfish.cc",
|
|
|
|
+ "decrepit/cfb/cfb.cc",
|
2024-09-17 18:12:11 -07:00
|
|
|
+ "decrepit/ripemd/internal.h",
|
2024-12-10 13:16:07 -06:00
|
|
|
+ "decrepit/ripemd/ripemd.cc",
|
2019-01-28 13:36:51 -08:00
|
|
|
+ ]
|
2018-09-13 22:02:16 -07:00
|
|
|
+}
|
2023-11-07 07:24:50 -05:00
|
|
|
+
|
2024-04-15 18:10:32 -04:00
|
|
|
if (enable_rust) {
|
2024-11-04 09:10:00 -05:00
|
|
|
rust_bindgen_generator("raw_bssl_sys_bindings") {
|
|
|
|
output_name = "bindgen"
|