mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Update mozjs and enable 'init_once' feature for Android
This commit is contained in:
parent
63a96a5d37
commit
d27cfb3ee9
3 changed files with 16 additions and 6 deletions
|
@ -33,7 +33,6 @@ hashglobe = { path = "../hashglobe" }
|
|||
hyper = { version = "0.12", optional = true }
|
||||
hyper_serde = { version = "0.9", optional = true }
|
||||
keyboard-types = {version = "0.4.3", optional = true}
|
||||
mozjs = { version = "0.9.4", optional = true }
|
||||
selectors = { path = "../selectors" }
|
||||
serde = { version = "1.0.27", optional = true }
|
||||
serde_bytes = { version = "0.10", optional = true }
|
||||
|
@ -47,3 +46,9 @@ url = { version = "1.2", optional = true }
|
|||
webrender_api = { git = "https://github.com/servo/webrender", features = ["ipc"], optional = true }
|
||||
xml5ever = { version = "0.12", optional = true }
|
||||
void = "1.0.2"
|
||||
|
||||
[target.'cfg(target_os = "android")'.dependencies]
|
||||
mozjs = { version = "0.9.5", optional = true, features=["init_once"]}
|
||||
|
||||
[target.'cfg(not(target_os = "android"))'.dependencies]
|
||||
mozjs = { version = "0.9.5", optional = true}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue