build: move libcc patches to electron repo (#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.
This commit is contained in:
parent
9e85bdb02c
commit
76c5f5cc8a
147 changed files with 86931 additions and 6 deletions
|
@ -0,0 +1,21 @@
|
|||
diff --git a/services/device/wake_lock/power_save_blocker/BUILD.gn b/services/device/wake_lock/power_save_blocker/BUILD.gn
|
||||
index e04629ca1a93..299e6efd75f9 100644
|
||||
--- a/services/device/wake_lock/power_save_blocker/BUILD.gn
|
||||
+++ b/services/device/wake_lock/power_save_blocker/BUILD.gn
|
||||
@@ -9,7 +9,7 @@ if (is_android) {
|
||||
import("//build/config/android/rules.gni")
|
||||
}
|
||||
|
||||
-source_set("power_save_blocker") {
|
||||
+static_library("power_save_blocker") {
|
||||
visibility = [
|
||||
# //remoting runs in a separate process which is outside of the context of
|
||||
# the ServiceManager-based world. Instead of embedding a Service Manager
|
||||
@@ -18,6 +18,7 @@ source_set("power_save_blocker") {
|
||||
"//remoting/host:*",
|
||||
"//remoting/host/win:*",
|
||||
"//services/device/wake_lock:*",
|
||||
+ "//electron:*",
|
||||
]
|
||||
|
||||
sources = [
|
Loading…
Add table
Add a link
Reference in a new issue