mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01: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
|
@ -9,6 +9,7 @@ use std::option::Option;
|
|||
use std::result::Result;
|
||||
|
||||
use base::id::PipelineId;
|
||||
#[cfg(feature = "bluetooth")]
|
||||
use bluetooth_traits::BluetoothRequest;
|
||||
use crossbeam_channel::{select, Receiver, SendError, Sender};
|
||||
use devtools_traits::{DevtoolScriptControlMsg, ScriptToDevtoolsControlMsg};
|
||||
|
@ -305,6 +306,7 @@ pub(crate) struct ScriptThreadSenders {
|
|||
|
||||
/// A handle to the bluetooth thread.
|
||||
#[no_trace]
|
||||
#[cfg(feature = "bluetooth")]
|
||||
pub(crate) bluetooth_sender: IpcSender<BluetoothRequest>,
|
||||
|
||||
/// A [`Sender`] that sends messages to the `Constellation`.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue