forked from electron/electron
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: move libcc patches to electron repo (electron#14104)
In the GN build, libchromiumcontent is no longer a distinct library, but merely a container for a set of scripts and patches. Maintaining those patches in a separate repository is tedious and error-prone, so merge them into the main repo. Once this is merged and GN is the default way to build Electron, the libchromiumcontent repository can be archived.
- Loading branch information
Showing
147 changed files
with
86,931 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
config("build_time_executable") { | ||
configs = [] | ||
|
||
if (is_electron_build && !is_component_build) { | ||
# The executables which have this config applied are dependent on ffmpeg, | ||
# which is always a shared library in an Electron build. However, in the | ||
# non-component build, executables don't have rpath set to search for | ||
# libraries in the executable's directory, so ffmpeg cannot be found. So | ||
# let's make sure rpath is set here. | ||
# See '//build/config/gcc/BUILD.gn' for details on the rpath setting. | ||
if (is_linux) { | ||
configs += [ "//build/config/gcc:rpath_for_built_shared_libraries" ] | ||
} | ||
|
||
if (is_mac) { | ||
ldflags = [ "-Wl,-rpath,@loader_path/." ] | ||
} | ||
} | ||
} | ||
# For MAS build, we force defining "MAS_BUILD". | ||
config("mas_build") { | ||
if (is_mas_build) { | ||
defines = [ "MAS_BUILD" ] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
repo: src/third_party/angle | ||
patches: | ||
- | ||
author: Ales Pergl <alpergl@microsoft.com> | ||
file: dcheck.patch | ||
description: null |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/src/common/debug.h b/src/common/debug.h | ||
index 0108ff655..57fbc5ac5 100644 | ||
--- a/src/common/debug.h | ||
+++ b/src/common/debug.h | ||
@@ -190,7 +190,7 @@ std::ostream &FmtHexInt(std::ostream &os, T value) | ||
|
||
#define ANGLE_EMPTY_STATEMENT for (;;) break | ||
#if !defined(NDEBUG) || defined(ANGLE_ENABLE_RELEASE_ASSERTS) | ||
-#define ANGLE_ENABLE_ASSERTS | ||
+// #define ANGLE_ENABLE_ASSERTS | ||
#endif | ||
|
||
#define WARN() ANGLE_LOG(WARN) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
repo: src/third_party/boringssl/src | ||
patches: | ||
- | ||
author: Jeremy Apthorp <nornagon@nornagon.net> | ||
file: 0001-Implement-legacy-OCSP-APIs-for-libssl.patch | ||
description: see patch header | ||
- | ||
author: Aleksei Kuzmin <alkuzmin@microsoft.com> | ||
file: implement-SSL_get_tlsext_status_type.patch | ||
description: | | ||
BoringSSL doesn't implement `SSL_get_tlsext_status_type()`, | ||
but Node.js expects it to be present cause OpenSSL has it. |
Oops, something went wrong.