mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
fix conditional logic that enables native bluetooth (#31073)
PR #30974 integrated `servo/devices` repo into servo codebase. `servo/devices` exposed the `bluetooth` feature to conditionally compile native bluetooth support for the target platform. In servo, this feature is indirectly enabled via the `native-bluetooth` feature exposed by `components/bluetooth`. When `servo/devices` was integrated to servo, the conditional code was not updated to use the `native-bluetooth` feature directly. Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com>
This commit is contained in:
parent
6dc208bb09
commit
b61c794ae4
4 changed files with 151 additions and 158 deletions
|
@ -5,9 +5,9 @@
|
|||
pub mod adapter;
|
||||
pub mod bluetooth;
|
||||
#[cfg(not(any(
|
||||
all(target_os = "linux", feature = "bluetooth"),
|
||||
all(target_os = "android", feature = "bluetooth"),
|
||||
all(target_os = "macos", feature = "bluetooth")
|
||||
all(target_os = "linux", feature = "native-bluetooth"),
|
||||
all(target_os = "android", feature = "native-bluetooth"),
|
||||
all(target_os = "macos", feature = "native-bluetooth")
|
||||
)))]
|
||||
mod empty;
|
||||
mod macros;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue