From 45d3cc73dc908af3262c6a714cb755edd03f071a Mon Sep 17 00:00:00 2001 From: Rene Ladan Date: Tue, 7 Jun 2016 20:28:41 +0000 Subject: www/chromium: update to 51.0.2704.84 A lot of patch files are renamed in this update. Submitted by: Timothy Vaccarelli Obtained from: https://github.com/LeFroid/ MFH: 2016Q2 Security: http://vuxml.freebsd.org/freebsd/c039a761-2c29-11e6-8912-3065ec8fd3ec.html Security: http://vuxml.freebsd.org/freebsd/1a6bbb95-24b8-11e6-bd31-3065ec8fd3ec.html Security: http://vuxml.freebsd.org/freebsd/4dfafa16-24ba-11e6-bd31-3065ec8fd3ec.html Security: http://vuxml.freebsd.org/freebsd/7da1da96-24bb-11e6-bd31-3065ec8fd3ec.html Security: http://vuxml.freebsd.org/freebsd/6d8505f0-0614-11e6-b39c-00262d5ed8ee.html --- www/chromium/files/patch-build_common.gypi | 92 ++++++++++++++++++++++++++++++ 1 file changed, 92 insertions(+) create mode 100644 www/chromium/files/patch-build_common.gypi (limited to 'www/chromium/files/patch-build_common.gypi') diff --git a/www/chromium/files/patch-build_common.gypi b/www/chromium/files/patch-build_common.gypi new file mode 100644 index 000000000000..d68046c5c9e8 --- /dev/null +++ b/www/chromium/files/patch-build_common.gypi @@ -0,0 +1,92 @@ +--- build/common.gypi.orig 2016-05-11 19:02:12 UTC ++++ build/common.gypi +@@ -112,7 +112,7 @@ + + 'conditions': [ + # Windows and Linux use Aura, but not Ash. +- ['OS=="win" or OS=="linux"', { ++ ['OS=="win" or OS=="linux" or OS=="freebsd" or OS=="openbsd"', { + 'use_aura%': 1, + }], + +@@ -254,13 +254,13 @@ + }], + + # Enable HiDPI on Mac OS, Windows and Linux (including Chrome OS). +- ['OS=="mac" or OS=="win" or OS=="linux"', { ++ ['OS=="mac" or OS=="win" or OS=="linux" or OS=="freebsd" or OS=="openbsd"', { + 'enable_hidpi%': 1, + }], + + # Enable Top Chrome Material Design on Chrome OS, Windows, and Linux, + # and Mac. +- ['chromeos==1 or OS=="win" or OS=="linux" or OS=="mac"', { ++ ['chromeos==1 or OS=="win" or OS=="linux" or OS=="mac" or OS=="freebsd" or OS=="openbsd"', { + 'enable_topchrome_md%': 1, + }], + +@@ -733,6 +733,12 @@ + 'os_bsd%': 0, + }], + ++ ['OS=="freebsd" or OS=="openbsd"', { ++ 'icu_use_data_file_flag%': 0, ++ }, { ++ 'icu_use_data_file_flag%': 1, ++ }], ++ + # NSS usage. + ['(OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris")', { + 'use_nss_certs%': 1, +@@ -778,7 +784,7 @@ + }], + + # DBus usage. +- ['OS=="linux" and embedded==0', { ++ ['(OS=="linux" or OS=="freebsd") and embedded==0', { + 'use_dbus%': 1, + }, { + 'use_dbus%': 0, +@@ -881,7 +887,7 @@ + + # Use GPU accelerated cross process image transport by default + # on linux builds with the Aura window manager +- ['use_aura==1 and OS=="linux"', { ++ ['use_aura==1 and (OS=="linux" or OS=="freebsd" or OS=="openbsd")', { + 'ui_compositor_image_transport%': 1, + }, { + 'ui_compositor_image_transport%': 0, +@@ -1003,7 +1009,7 @@ + }, { + 'use_openmax_dl_fft%': 0, + }], +- ['OS=="win" or OS=="linux"', { ++ ['OS=="win" or OS=="linux" or OS=="freebsd"', { + 'enable_mdns%' : 1, + }], + +@@ -1300,6 +1306,10 @@ + # able to turn it off for various reasons. + 'linux_disable_pie%': 0, + ++ # XXX(rene) More options, keep them? ++ 'os_ver%': 0, ++ 'use_system_libjpeg%': 0, ++ + # The release channel that this build targets. This is used to restrict + # channel-specific build options, like which installer packages to create. + # The default is 'all', which does no channel-specific filtering. +@@ -4715,6 +4725,13 @@ + 'ldflags': [ + '-Wl,--no-keep-memory', + ], ++ 'ldflags!': [ ++ '-ldl', ++ '-pie' ++ ], ++ 'libraries!': [ ++ '-ldl', ++ ], + }, + }], + # Android-specific options; note that most are set above with Linux. -- cgit v1.2.3