0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-10-31 09:14:20 -04:00
denoland-deno/core/BUILD.gn
Ryan Dahl b8a537d020
deno_core (#1827)
A new low-level crate with focus on speed. 
This doesn't yet hook into the existing code base.
2019-02-26 17:36:05 -05:00

37 lines
710 B
Text

import("//build_extra/rust/rust.gni")
# deno_core does not depend on flatbuffers nor tokio.
main_extern = [
"$rust_build:futures",
"$rust_build:libc",
"$rust_build:serde_json",
"$rust_build:log",
]
rust_crate("deno_core") {
source_root = "lib.rs"
extern = main_extern
deps = [
"../libdeno:libdeno_static_lib",
]
}
rust_test("deno_core_test") {
source_root = "lib.rs"
extern = main_extern
deps = [
"../libdeno:libdeno_static_lib",
]
}
rust_executable("deno_core_http_bench") {
source_root = "http_bench.rs"
extern = [
"$rust_build:futures",
"$rust_build:lazy_static",
"$rust_build:libc",
"$rust_build:log",
"$rust_build:tokio",
":deno_core"
]
}