mirror of
https://github.com/denoland/deno.git
synced 2024-11-14 16:33:45 -05:00
23 lines
410 B
Text
23 lines
410 B
Text
|
import("//build_extra/rust/rust.gni")
|
||
|
|
||
|
rust_rlib("deno_typescript") {
|
||
|
source_root = "lib.rs"
|
||
|
generated_source_dir = "."
|
||
|
extern = [
|
||
|
{
|
||
|
label = "../core:deno"
|
||
|
crate_name = "deno"
|
||
|
crate_type = "rlib"
|
||
|
},
|
||
|
{
|
||
|
label = "$rust_build:serde_derive"
|
||
|
crate_name = "serde_derive"
|
||
|
crate_type = "proc_macro"
|
||
|
},
|
||
|
]
|
||
|
extern_rlib = [
|
||
|
"serde_json",
|
||
|
"serde",
|
||
|
]
|
||
|
}
|