aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-chrome_chrome__browser.gypi
blob: d70df1435b705fb1a12531d177154888f4c758bd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
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', {