76c5f5cc8a
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.
21 lines
810 B
Diff
21 lines
810 B
Diff
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 = [
|