Remove some unused dependencies (#34355)

* Remove unused deps

This doesn't seem to remove any deps from the workspace.

Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>

* ohos: Remove gaol dependency

Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>

---------

Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>
This commit is contained in:
Jonathan Schwender 2024-11-25 11:29:58 +01:00 committed by GitHub
parent 0d91da610a
commit 810a91ecac
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
20 changed files with 8 additions and 69 deletions

View file

@ -29,7 +29,6 @@ devtools_traits = { workspace = true }
embedder_traits = { workspace = true }
euclid = { workspace = true }
fonts = { path = "../fonts" }
fonts_traits = { workspace = true }
http = { workspace = true }
ipc-channel = { workspace = true }
keyboard-types = { workspace = true }
@ -53,5 +52,5 @@ webrender_api = { workspace = true }
webrender_traits = { workspace = true }
webxr-api = { workspace = true, features = ["ipc"] }
[target.'cfg(any(target_os="macos", all(not(target_os = "windows"), not(target_os = "ios"), not(target_os="android"), not(target_arch="arm"), not(target_arch="aarch64"))))'.dependencies]
[target.'cfg(any(target_os="macos", all(not(target_os = "windows"), not(target_os = "ios"), not(target_os="android"), not(target_env="ohos"), not(target_arch="arm"), not(target_arch="aarch64"))))'.dependencies]
gaol = "0.2.1"

View file

@ -14,6 +14,7 @@ use std::process;
not(target_os = "windows"),
not(target_os = "ios"),
not(target_os = "android"),
not(target_env = "ohos"),
not(target_arch = "arm"),
not(target_arch = "aarch64")
)
@ -98,6 +99,7 @@ pub fn content_process_sandbox_profile() -> Profile {
not(target_os = "windows"),
not(target_os = "ios"),
not(target_os = "android"),
not(target_env = "ohos"),
not(target_arch = "arm"),
not(target_arch = "aarch64")
))]
@ -128,6 +130,7 @@ pub fn content_process_sandbox_profile() -> Profile {
target_os = "windows",
target_os = "ios",
target_os = "android",
target_env = "ohos",
target_arch = "arm",
// exclude apple arm devices
@ -140,6 +143,7 @@ pub fn content_process_sandbox_profile() {
#[cfg(any(
target_os = "android",
target_env = "ohos",
target_arch = "arm",
all(target_arch = "aarch64", not(target_os = "windows"))
))]
@ -168,6 +172,7 @@ pub fn spawn_multiprocess(content: UnprivilegedContent) -> Result<(), Error> {
not(target_os = "windows"),
not(target_os = "ios"),
not(target_os = "android"),
not(target_env = "ohos"),
not(target_arch = "arm"),
not(target_arch = "aarch64")
))]