freebsd-ports/www/chromium/files/patch-chrome__chrome_browser.gypi
Rene Ladan ef6503643e Update to 30.0.1599.66
Note that support for 10.0 is currently untested, WIP.
Submitted by:	George Liaskos
Security:	http://vuxml.org/freebsd/e5414d0c-2ade-11e3-821d-00262d5ed8ee.html
2013-10-09 10:01:09 +00:00

46 lines
2.3 KiB
Python

--- chrome/chrome_browser.gypi.orig 2013-09-20 05:36:07.000000000 +0300
+++ chrome/chrome_browser.gypi 2013-09-23 20:34:16.000000000 +0300
@@ -2735,7 +2735,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',
],
@@ -2859,7 +2859,7 @@
],
},
}],
- ['os_posix == 1 and OS != "mac" and OS != "ios"', {
+ ['os_posix == 1 and OS != "mac" and OS != "ios" and os_bsd != 1', {
'sources': [
'app/breakpad_linux.cc',
'app/breakpad_linux.h',
@@ -3104,6 +3104,25 @@
['exclude', '^browser/usb/'],
],
}],
+ ['os_bsd==1', {
+ 'sources/': [
+ ['exclude', '^browser/chrome_browser_main_linux.cc'],
+ ['exclude', '^browser/chrome_browser_main_linux.h'],
+ ['exclude', '^browser/media_galleries/linux/'],
+ ['exclude', '^browser/storage_monitor/media_transfer_protocol_device_observer_linux.cc'],
+ ['exclude', '^browser/storage_monitor/media_transfer_protocol_device_observer_linux.h'],
+ ['exclude', '^browser/storage_monitor/removable_device_notifications_linux.cc'],
+ ['exclude', '^browser/storage_monitor/removable_device_notifications_linux.h'],
+ ['exclude', '^browser/storage_monitor/storage_monitor_linux.cc'],
+ ['exclude', '^browser/storage_monitor/storage_monitor_linux.h'],
+ ['exclude', '^browser/storage_monitor/udev_util_linux.cc'],
+ ['exclude', '^browser/storage_monitor/udev_util_linux.h'],
+ ['exclude', '^browser/storage_monitor/test_media_transfer_protocol_manager_linux.cc'],
+ ['exclude', '^browser/storage_monitor/test_media_transfer_protocol_manager_linux.h'],
+ ['exclude', '^browser/storage_monitor/mtab_watcher_linux.cc'],
+ ['exclude', '^browser/storage_monitor/mtab_watcher_linux.h'],
+ ],
+ }],
['OS=="mac"', {
'sources!': [
'browser/automation/automation_provider_list_generic.cc',