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
|
2022-02-25 18:17:35 +00:00
|
|
|
index f222ae94a5a10ced84e41ef84560af46a910577f..c18d26de9a63befca3c77fe5ecd93975a016797f 100644
|
2018-09-14 05:02:16 +00:00
|
|
|
--- a/third_party/boringssl/BUILD.gn
|
|
|
|
+++ b/third_party/boringssl/BUILD.gn
|
2022-02-10 02:58:52 +00:00
|
|
|
@@ -44,6 +44,20 @@ config("no_asm_config") {
|
2018-09-14 05:02:16 +00:00
|
|
|
|
|
|
|
all_sources = crypto_sources + ssl_sources
|
2018-09-14 18:03:43 +00:00
|
|
|
all_headers = crypto_headers + ssl_headers
|
2018-09-14 05:02:16 +00:00
|
|
|
+if (is_electron_build) {
|
|
|
|
+ # Needed to build a nodejs-compatible boringssl.
|
|
|
|
+ all_sources += [
|
|
|
|
+ "src/decrepit/evp/evp_do_all.c",
|
|
|
|
+ "src/decrepit/xts/xts.c",
|
|
|
|
+ ]
|
2019-01-28 21:36:51 +00:00
|
|
|
+
|
|
|
|
+ all_sources += [
|
2022-01-12 18:44:28 +00:00
|
|
|
+ "src/decrepit/blowfish/blowfish.c",
|
|
|
|
+ "src/decrepit/cfb/cfb.c",
|
2019-01-28 21:36:51 +00:00
|
|
|
+ "src/decrepit/ripemd/internal.h",
|
|
|
|
+ "src/decrepit/ripemd/ripemd.c",
|
|
|
|
+ ]
|
2018-09-14 05:02:16 +00:00
|
|
|
+}
|
|
|
|
|
2019-01-08 23:59:47 +00:00
|
|
|
# Windows' assembly is built with NASM. The other platforms use the platform
|
|
|
|
# assembler. Exclude Windows ARM64 because NASM targets x86 and x64 only.
|