gpui: Make screen capture dependency optional (#32937)
Add `screen-capture` feature to gpui to enable screen capture support. The motivation for this is to make dependencies on scap / x11 / xcb optional. Release Notes: - N/A --------- Co-authored-by: Michael Sloan <michael@zed.dev>
This commit is contained in:
parent
6d09f3fa40
commit
9dc3ac9657
12 changed files with 73 additions and 33 deletions
|
@ -50,7 +50,6 @@ wayland = [
|
|||
"filedescriptor",
|
||||
"xkbcommon",
|
||||
"open",
|
||||
"scap",
|
||||
]
|
||||
x11 = [
|
||||
"blade-graphics",
|
||||
|
@ -67,6 +66,8 @@ x11 = [
|
|||
"x11-clipboard",
|
||||
"filedescriptor",
|
||||
"open",
|
||||
]
|
||||
screen-capture = [
|
||||
"scap",
|
||||
]
|
||||
windows-manifest = []
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue