Skip to content

Commit

Permalink
Make libdeno a complete_static_lib for rust linking
Browse files Browse the repository at this point in the history
  • Loading branch information
ry committed Jun 15, 2018
1 parent 97923e3 commit 3047986
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions deno2/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,15 @@ executable("mock_runtime_test") {
defines = [ "DENO_MOCK_RUNTIME" ]
}

component("libdeno") {
static_library("libdeno") {
complete_static_lib = true
sources = [
"from_snapshot.cc",
]
deps = [
":create_snapshot_deno",
":deno_nosnapshot",
]
include_dirs = [ target_gen_dir ]
}

source_set("deno_nosnapshot") {
Expand All @@ -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.
Expand Down

0 comments on commit 3047986

Please sign in to comment.