aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-chrome_chrome__browser.gypi
diff options
context:
space:
mode:
Diffstat (limited to 'www/chromium/files/patch-chrome_chrome__browser.gypi')
-rw-r--r--www/chromium/files/patch-chrome_chrome__browser.gypi51
1 files changed, 51 insertions, 0 deletions
diff --git a/www/chromium/files/patch-chrome_chrome__browser.gypi b/www/chromium/files/patch-chrome_chrome__browser.gypi
new file mode 100644
index 000000000000..d70df1435b70
--- /dev/null
+++ b/www/chromium/files/patch-chrome_chrome__browser.gypi
@@ -0,0 +1,51 @@
+--- chrome/chrome_browser.gypi.orig 2016-05-11 19:02:17 UTC
++++ chrome/chrome_browser.gypi
+@@ -3638,7 +3638,7 @@
+ '../device/media_transfer_protocol/media_transfer_protocol.gyp:device_media_transfer_protocol',
+ ],
+ }],
+- ['OS=="linux" and chromeos==0', {
++ ['(OS=="linux" and chromeos==0) or os_bsd==1', {
+ 'dependencies': [
+ '../build/linux/system.gyp:libspeechd',
+ ],
+@@ -3702,7 +3702,7 @@
+ ['use_x11==1', {
+ 'sources': [ '<@(chrome_browser_x11_sources)' ],
+ }],
+- ['os_posix == 1 and OS != "mac" and OS != "ios"', {
++ ['os_posix == 1 and OS != "mac" and OS != "ios" and os_bsd != 1', {
+ 'sources': [
+ 'app/chrome_crash_reporter_client.cc',
+ 'app/chrome_crash_reporter_client.h',
+@@ -3834,6 +3834,12 @@
+ }],
+ ],
+ }],
++ ['os_bsd==1', {
++ 'sources/': [
++ ['exclude', '^browser/media_galleries/linux/'],
++ ['exclude', '^browser/memory/system_memory_stats_recorder_linux.cc'],
++ ],
++ }],
+ ['OS=="mac"', {
+ 'dependencies': [
+ '../third_party/google_toolbox_for_mac/google_toolbox_for_mac.gyp:google_toolbox_for_mac',
+@@ -3943,7 +3949,7 @@
+ }],
+ ],
+ }],
+- ['OS=="linux"', {
++ ['OS=="linux" or os_bsd==1', {
+ 'conditions': [
+ ['use_aura==1', {
+ 'dependencies': [
+@@ -3962,7 +3968,7 @@
+ }],
+ ],
+ }],
+- ['OS=="linux" or OS=="win"', {
++ ['OS=="linux" or OS=="win" or os_bsd==1', {
+ 'sources': [ '<@(chrome_browser_non_mac_desktop_sources)' ],
+ }],
+ ['desktop_linux==1', {