mirror of
https://github.com/denoland/deno
synced 2024-11-05 18:45:24 +00:00
Make libdeno a complete_static_lib for rust linking
This commit is contained in:
parent
97923e3d26
commit
30479868d0
1 changed files with 6 additions and 4 deletions
|
@ -30,7 +30,8 @@ executable("mock_runtime_test") {
|
|||
defines = [ "DENO_MOCK_RUNTIME" ]
|
||||
}
|
||||
|
||||
component("libdeno") {
|
||||
static_library("libdeno") {
|
||||
complete_static_lib = true
|
||||
sources = [
|
||||
"from_snapshot.cc",
|
||||
]
|
||||
|
@ -38,7 +39,6 @@ component("libdeno") {
|
|||
":create_snapshot_deno",
|
||||
":deno_nosnapshot",
|
||||
]
|
||||
include_dirs = [ target_gen_dir ]
|
||||
}
|
||||
|
||||
source_set("deno_nosnapshot") {
|
||||
|
@ -49,14 +49,16 @@ source_set("deno_nosnapshot") {
|
|||
"file_util.h",
|
||||
"include/deno.h",
|
||||
]
|
||||
include_dirs = [ "include/" ]
|
||||
deps = [
|
||||
"v8:v8",
|
||||
"v8:v8_libbase",
|
||||
"v8:v8_libplatform",
|
||||
"v8:v8_libsampler",
|
||||
]
|
||||
public_configs = [ ":public_v8_base_config" ]
|
||||
public_configs = [
|
||||
"v8:libplatform_config",
|
||||
":public_v8_base_config",
|
||||
]
|
||||
}
|
||||
|
||||
# This allows us to v8/src/base/ libraries.
|
||||
|
|
Loading…
Reference in a new issue