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