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.
16 lines
570 B
Diff
16 lines
570 B
Diff
diff --git a/BUILD.gn b/BUILD.gn
|
|
index 067416ed38f4..9fa07961c5b8 100644
|
|
--- a/third_party/protobuf/BUILD.gn
|
|
+++ b/third_party/protobuf/BUILD.gn
|
|
@@ -599,6 +599,11 @@ if (current_toolchain == host_toolchain) {
|
|
|
|
configs -= [ "//build/config/compiler:chromium_code" ]
|
|
configs += [ "//build/config/compiler:no_chromium_code" ]
|
|
+ if (is_win) {
|
|
+ # https://crbug.com/703251
|
|
+ configs -= [ "//build/config/win:default_incremental_linking" ]
|
|
+ configs += [ "//build/config/win:no_incremental_linking" ]
|
|
+ }
|
|
|
|
cflags = protobuf_lite_cflags
|
|
|