summaryrefslogtreecommitdiff
path: root/www/iridium/files/patch-content_browser_BUILD.gn
diff options
context:
space:
mode:
Diffstat (limited to 'www/iridium/files/patch-content_browser_BUILD.gn')
-rw-r--r--www/iridium/files/patch-content_browser_BUILD.gn62
1 files changed, 6 insertions, 56 deletions
diff --git a/www/iridium/files/patch-content_browser_BUILD.gn b/www/iridium/files/patch-content_browser_BUILD.gn
index cb60cd2ce3fd..698caaac8c56 100644
--- a/www/iridium/files/patch-content_browser_BUILD.gn
+++ b/www/iridium/files/patch-content_browser_BUILD.gn
@@ -1,8 +1,8 @@
---- content/browser/BUILD.gn.orig 2017-04-19 19:06:33 UTC
-+++ content/browser/BUILD.gn
-@@ -1464,11 +1464,6 @@ source_set("browser") {
- "memory/memory_monitor_chromeos.cc",
- "memory/memory_monitor_chromeos.h",
+--- content/browser/BUILD.gn.orig 2018-08-01 00:08:43.000000000 +0200
++++ content/browser/BUILD.gn 2018-08-04 21:53:48.299617000 +0200
+@@ -1802,11 +1802,6 @@
+ "tracing/cros_tracing_agent.cc",
+ "tracing/cros_tracing_agent.h",
]
- } else {
- sources += [
@@ -11,54 +11,4 @@
- ]
}
- if (!is_win) {
-@@ -1540,7 +1535,7 @@ source_set("browser") {
-
- # Desktop screen capture implementations, conditionally built depending on
- # the available implementations for each platform.
-- if (is_linux || is_mac || is_win) {
-+ if (is_linux || is_bsd || is_mac || is_win) {
- defines += [ "ENABLE_SCREEN_CAPTURE=1" ]
- sources += [
- "media/capture/cursor_renderer.cc",
-@@ -1727,7 +1722,7 @@ source_set("browser") {
- }
- }
-
-- if (is_linux && use_aura) {
-+ if ((is_linux || is_bsd) && use_aura) {
- deps += [ "//build/linux:fontconfig" ]
- }
-
-@@ -1880,6 +1875,17 @@ source_set("browser") {
- "//chromeos",
- "//chromeos:power_manager_proto",
- ]
-+ } else if (is_bsd) {
-+ sources -= [
-+ "zygote_host/zygote_communication_linux.cc",
-+ "zygote_host/zygote_communication_linux.h",
-+ "zygote_host/zygote_handle_linux.cc",
-+ "zygote_host/zygote_host_impl_linux.cc",
-+ "zygote_host/zygote_host_impl_linux.h",
-+ "../zygote/zygote_linux.cc",
-+ "../zygote/zygote_linux.h",
-+ "../zygote/zygote_main_linux.cc",
-+ ]
- }
-
- if (enable_mojo_media) {
-@@ -1998,11 +2004,11 @@ source_set("browser") {
- ]
- }
-
-- if (is_linux && use_dbus) {
-+ if ((is_linux || is_bsd) && use_dbus) {
- deps += [ "//dbus" ]
- }
-
-- if (is_linux) {
-+ if (is_linux || is_bsd) {
- deps += [ "//third_party/boringssl" ]
- }
-
+ if (is_chromeos || is_android || is_chromecast) {