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

@ -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")
))]