mirror of
https://github.com/servo/servo.git
synced 2025-09-30 08:39:16 +01:00
Update to new JS runtime creation APIs.
This commit is contained in:
parent
b1a4913b3f
commit
644101e1e4
5 changed files with 17 additions and 22 deletions
|
@ -63,6 +63,7 @@ indexmap = "1.0.2"
|
|||
ipc-channel = "0.11"
|
||||
itertools = "0.8"
|
||||
jstraceable_derive = {path = "../jstraceable_derive"}
|
||||
js = {package = "mozjs", version = "0.10.0"}
|
||||
keyboard-types = "0.4.4"
|
||||
lazy_static = "1"
|
||||
libc = "0.2"
|
||||
|
@ -114,9 +115,3 @@ webvr_traits = {path = "../webvr_traits"}
|
|||
|
||||
[target.'cfg(not(target_os = "ios"))'.dependencies]
|
||||
mozangle = "0.1"
|
||||
|
||||
[target.'cfg(target_os = "android")'.dependencies]
|
||||
js = {package = "mozjs", version = "0.9.5", features=["init_once"]}
|
||||
|
||||
[target.'cfg(not(target_os = "android"))'.dependencies]
|
||||
js = {package = "mozjs", version = "0.9.5"}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue