This repository was archived by the owner on Oct 25, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +24
-20
lines changed Expand file tree Collapse file tree 1 file changed +24
-20
lines changed Original file line number Diff line number Diff line change @@ -76,17 +76,19 @@ if (rtc_include_tests) {
76
76
" window_finder_unittest.cc" ,
77
77
]
78
78
public_configs = [ " :x11_config" ]
79
- if (rtc_use_pipewire ) {
79
+ if (is_linux ) {
80
80
public_configs += [ " :pipewire_config" ]
81
- configs += [
82
- " :pipewire_config" ,
83
- " :gio" ,
84
- ]
85
-
86
- if (rtc_link_pipewire ) {
87
- configs += [ " :pipewire" ]
88
- } else {
89
- deps += [ " :pipewire_stubs" ]
81
+ if (rtc_use_pipewire ) {
82
+ configs += [
83
+ " :pipewire_config" ,
84
+ " :gio" ,
85
+ ]
86
+
87
+ if (rtc_link_pipewire ) {
88
+ configs += [ " :pipewire" ]
89
+ } else {
90
+ deps += [ " :pipewire_stubs" ]
91
+ }
90
92
}
91
93
}
92
94
if (is_win ) {
@@ -145,17 +147,19 @@ if (rtc_include_tests) {
145
147
}
146
148
deps += [ " :desktop_capture_mock" ]
147
149
public_configs = [ " :x11_config" ]
148
- if (rtc_use_pipewire ) {
150
+ if (is_linux ) {
149
151
public_configs += [ " :pipewire_config" ]
150
- configs += [
151
- " :pipewire_config" ,
152
- " :gio" ,
153
- ]
154
-
155
- if (rtc_link_pipewire ) {
156
- configs += [ " :pipewire" ]
157
- } else {
158
- deps += [ " :pipewire_stubs" ]
152
+ if (rtc_use_pipewire ) {
153
+ configs += [
154
+ " :pipewire_config" ,
155
+ " :gio" ,
156
+ ]
157
+
158
+ if (rtc_link_pipewire ) {
159
+ configs += [ " :pipewire" ]
160
+ } else {
161
+ deps += [ " :pipewire_stubs" ]
162
+ }
159
163
}
160
164
}
161
165
}
You can’t perform that action at this time.
0 commit comments