--- ./chrome/chrome_browser.gypi.orig 2014-08-20 21:02:14.000000000 +0200 +++ ./chrome/chrome_browser.gypi 2014-08-22 15:06:25.000000000 +0200 @@ -2979,7 +2979,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', ], @@ -3106,7 +3106,7 @@ '../build/linux/system.gyp:xscrnsaver', ], }], - ['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_breakpad_client.cc', 'app/chrome_breakpad_client.h', @@ -3365,6 +3365,13 @@ ['exclude', '^third_party/mozilla_security_manager/'], ], }], + ['os_bsd==1', { + 'sources/': [ + ['exclude', '^browser/chrome_browser_main_linux.cc'], + ['exclude', '^browser/chrome_browser_main_linux.h'], + ['exclude', '^browser/media_galleries/linux/'], + ], + }], ['OS=="mac"', { 'dependencies': [ '../third_party/google_toolbox_for_mac/google_toolbox_for_mac.gyp:google_toolbox_for_mac', @@ -3465,7 +3472,7 @@ }], ], }], - ['OS=="linux"', { + ['OS=="linux" or os_bsd==1', { 'conditions': [ ['use_aura==1', { 'dependencies': [