freebsd-ports/www/chromium/files/patch-chrome__chrome_browser.gypi
Rene Ladan 90ee19fc94 - Update to 28.0.1500.71 [1]
- Limit to python 2.X [2]
- Convert to USES=gmake
- Drop dependency on libspeechd, enable webrtc [3]
- Use GCC 4.6+ again [4]

Submitted by:	George Liaskos [1,3]
		eadler [2]
Discussed with:	George Liaskos [4]
Security:	http://vuxml.org/freebsd/3b80104f-e96c-11e2-8bac-00262d5ed8ee.html [1]
2013-07-18 22:06:21 +00:00

37 lines
1.9 KiB
Python

--- chrome/chrome_browser.gypi.orig 2013-07-04 06:39:58.000000000 +0300
+++ chrome/chrome_browser.gypi 2013-07-15 18:45:11.000000000 +0300
@@ -2470,7 +2470,7 @@
'../device/device.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',
],
@@ -2803,6 +2803,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',