Make libdeno a complete_static_lib for rust linking
@@ -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.
