mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Make WebBluetooth an optional feature. (#35479)
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
This commit is contained in:
parent
32f19c1eae
commit
1d606bb85c
42 changed files with 124 additions and 37 deletions
|
@ -900,6 +900,7 @@ impl ScriptThread {
|
|||
|
||||
let senders = ScriptThreadSenders {
|
||||
self_sender,
|
||||
#[cfg(feature = "bluetooth")]
|
||||
bluetooth_sender: state.bluetooth_sender,
|
||||
constellation_sender: state.constellation_sender,
|
||||
pipeline_to_constellation_sender: state.pipeline_to_constellation_sender.sender.clone(),
|
||||
|
@ -3075,6 +3076,7 @@ impl ScriptThread {
|
|||
self.senders.image_cache_sender.clone(),
|
||||
self.image_cache.clone(),
|
||||
self.resource_threads.clone(),
|
||||
#[cfg(feature = "bluetooth")]
|
||||
self.senders.bluetooth_sender.clone(),
|
||||
self.senders.memory_profiler_sender.clone(),
|
||||
self.senders.time_profiler_sender.clone(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue