mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
Disable gaol on arm targets
This commit is contained in:
parent
16beb65d49
commit
1d0af2dc8d
5 changed files with 11 additions and 11 deletions
|
@ -45,5 +45,5 @@ servo_url = {path = "../url"}
|
|||
webvr_traits = {path = "../webvr_traits"}
|
||||
webrender_api = {git = "https://github.com/servo/webrender", features = ["ipc"]}
|
||||
|
||||
[target.'cfg(all(not(target_os = "windows"), not(target_os = "ios"), not(target_os="android")))'.dependencies]
|
||||
[target.'cfg(all(not(target_os = "windows"), not(target_os = "ios"), not(target_os="android"), not(target_arch="arm")))'.dependencies]
|
||||
gaol = {git = "https://github.com/servo/gaol"}
|
||||
|
|
|
@ -17,7 +17,7 @@ mod constellation;
|
|||
mod event_loop;
|
||||
mod network_listener;
|
||||
mod pipeline;
|
||||
#[cfg(all(not(target_os = "windows"), not(target_os = "ios"), not(target_os = "android")))]
|
||||
#[cfg(all(not(target_os = "windows"), not(target_os = "ios"), not(target_os = "android"), not(target_arch="arm")))]
|
||||
mod sandboxing;
|
||||
mod session_history;
|
||||
mod timer_scheduler;
|
||||
|
@ -26,5 +26,5 @@ pub use crate::constellation::{
|
|||
Constellation, FromCompositorLogger, FromScriptLogger, InitialConstellationState,
|
||||
};
|
||||
pub use crate::pipeline::UnprivilegedPipelineContent;
|
||||
#[cfg(all(not(target_os = "windows"), not(target_os = "ios"), not(target_os = "android")))]
|
||||
#[cfg(all(not(target_os = "windows"), not(target_os = "ios"), not(target_os = "android"), not(target_arch="arm")))]
|
||||
pub use crate::sandboxing::content_process_sandbox_profile;
|
||||
|
|
|
@ -571,7 +571,7 @@ impl UnprivilegedPipelineContent {
|
|||
}
|
||||
}
|
||||
|
||||
#[cfg(target_os = "android")]
|
||||
#[cfg(any(target_os = "android", target_arch="arm"))]
|
||||
pub fn spawn_multiprocess(self) -> Result<(), Error> {
|
||||
use ipc_channel::ipc::IpcOneShotServer;
|
||||
// Note that this function can panic, due to process creation,
|
||||
|
@ -593,7 +593,7 @@ impl UnprivilegedPipelineContent {
|
|||
Ok(())
|
||||
}
|
||||
|
||||
#[cfg(all(not(target_os = "windows"), not(target_os = "ios"), not(target_os = "android")))]
|
||||
#[cfg(all(not(target_os = "windows"), not(target_os = "ios"), not(target_os = "android"), not(target_arch="arm")))]
|
||||
pub fn spawn_multiprocess(self) -> Result<(), Error> {
|
||||
use crate::sandboxing::content_process_sandbox_profile;
|
||||
use gaol::sandbox::{self, Sandbox, SandboxMethods};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue