mirror of
https://github.com/servo/servo.git
synced 2025-08-09 07:25:35 +01:00
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:
parent
0d91da610a
commit
810a91ecac
20 changed files with 8 additions and 69 deletions
|
@ -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")
|
||||
))]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue