blob: be06a7f4be99ea33b99c7ea64236717549040e66 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
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"
]
}
|