mirror of
https://github.com/denoland/deno.git
synced 2025-03-03 09:31:22 -05:00
build: winapi is a windows-only dep
This commit is contained in:
parent
69c370c5cc
commit
4f63aa4634
2 changed files with 5 additions and 1 deletions
4
BUILD.gn
4
BUILD.gn
|
@ -43,8 +43,10 @@ main_extern = [
|
|||
"$rust_build:tokio_process",
|
||||
"$rust_build:tokio_threadpool",
|
||||
"$rust_build:url",
|
||||
"$rust_build:winapi",
|
||||
]
|
||||
if (is_win) {
|
||||
main_extern += [ "$rust_build:winapi" ]
|
||||
}
|
||||
|
||||
ts_sources = [
|
||||
"js/assets.ts",
|
||||
|
|
|
@ -34,4 +34,6 @@ tokio-io = "=0.1.10"
|
|||
tokio-process = "=0.2.3"
|
||||
tokio-threadpool = "=0.1.9"
|
||||
url = "=1.7.2"
|
||||
|
||||
[target.'cfg(windows)'.dependencies]
|
||||
winapi = "=0.3.6"
|
||||
|
|
Loading…
Add table
Reference in a new issue