* chore: bump chromium in DEPS to 119.0.6016.0 * chore: update patches * 4839124: Rename chrome/app/ branding strings https://chromium-review.googlesource.com/c/chromium/src/+/4839124 * 4846834: Clean up PrintRenderFrameHelper interaction with Blink. https://chromium-review.googlesource.com/c/chromium/src/+/4846834 * 4850759: Cache bounds of document pip windows https://chromium-review.googlesource.com/c/chromium/src/+/4850759 * 4864669: Roll libc++ from 84fb809dd6da to 68a6f0b88287 (352 revisions) https://chromium-review.googlesource.com/c/chromium/src/+/4864669 * 4863987: Remove five gpu workarounds. https://chromium-review.googlesource.com/c/chromium/src/+/4863987 --------- Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com> Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org> Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
		
			
				
	
	
		
			46 lines
		
	
	
	
		
			1.7 KiB
			
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			46 lines
		
	
	
	
		
			1.7 KiB
			
		
	
	
	
		
			Diff
		
	
	
	
	
	
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
 | 
						|
From: VerteDinde <keeleymhammond@gmail.com>
 | 
						|
Date: Wed, 12 May 2021 13:19:19 -0700
 | 
						|
Subject: build_libc++_as_static_library
 | 
						|
 | 
						|
Build libc++ as static library to compile and pass
 | 
						|
nan tests
 | 
						|
 | 
						|
diff --git a/buildtools/third_party/libc++/BUILD.gn b/buildtools/third_party/libc++/BUILD.gn
 | 
						|
index c93cf2883d7109053b1daf68fb1d64219e745c6b..48ee62a16bcfbe7f3083855409b2c8db80d0109e 100644
 | 
						|
--- a/buildtools/third_party/libc++/BUILD.gn
 | 
						|
+++ b/buildtools/third_party/libc++/BUILD.gn
 | 
						|
@@ -44,7 +44,11 @@ config("winver") {
 | 
						|
 if (libcxx_is_shared) {
 | 
						|
   _libcxx_target_type = "shared_library"
 | 
						|
 } else {
 | 
						|
-  _libcxx_target_type = "source_set"
 | 
						|
+  if (is_win) {
 | 
						|
+    _libcxx_target_type = "source_set"
 | 
						|
+  } else {
 | 
						|
+    _libcxx_target_type = "static_library"
 | 
						|
+  }
 | 
						|
 }
 | 
						|
 target(_libcxx_target_type, "libc++") {
 | 
						|
   # Most things that need to depend on libc++ should do so via the implicit
 | 
						|
@@ -52,6 +56,7 @@ target(_libcxx_target_type, "libc++") {
 | 
						|
   # need to explicitly depend on libc++.
 | 
						|
   visibility = [
 | 
						|
     "//build/config:common_deps",
 | 
						|
+    "//electron:libcxx_objects_zip",
 | 
						|
     "//third_party/catapult/devil:devil",
 | 
						|
   ]
 | 
						|
   if (is_linux) {
 | 
						|
diff --git a/buildtools/third_party/libc++abi/BUILD.gn b/buildtools/third_party/libc++abi/BUILD.gn
 | 
						|
index b5c15a0ead70604150a14820d8a829a5aa55f981..f1f984285e39192f5e1a8c5418c13915f5aa110a 100644
 | 
						|
--- a/buildtools/third_party/libc++abi/BUILD.gn
 | 
						|
+++ b/buildtools/third_party/libc++abi/BUILD.gn
 | 
						|
@@ -6,7 +6,7 @@ import("//build/config/android/config.gni")
 | 
						|
 import("//build/config/c++/c++.gni")
 | 
						|
 import("//build/config/unwind.gni")
 | 
						|
 
 | 
						|
-source_set("libc++abi") {
 | 
						|
+static_library("libc++abi") {
 | 
						|
   if (export_libcxxabi_from_executables) {
 | 
						|
     visibility = [ "//build/config:executable_deps" ]
 | 
						|
   } else {
 |