blob: 0f65bf7cbe18146c40e745058472c9a142d69900 [file] [log] [blame]
import("../../build/rust/rust.gni")
shared_library("wasmer_wrap") {
sources = [
"../../runtime/include/dart_api_dl.c",
"finalizers.cc",
]
deps = [
":wasmer_lib",
"../../runtime/bin:dart",
]
include_dirs = [ "../../runtime" ]
defines = [ "DART_SHARED_LIB" ]
if (is_linux) {
libs = [ "rt" ]
}
# Force linking of all wasmer symbols.
ldflags = [ "-Wl,--no-as-needed" ]
}
rust_library("wasmer_lib") {
lib_name = "wasmer"
}