diff options
Diffstat (limited to 'libdeno')
-rw-r--r-- | libdeno/BUILD.gn | 25 | ||||
-rw-r--r-- | libdeno/deno.gni | 5 |
2 files changed, 3 insertions, 27 deletions
diff --git a/libdeno/BUILD.gn b/libdeno/BUILD.gn index 92c5b804e..c9471e5bd 100644 --- a/libdeno/BUILD.gn +++ b/libdeno/BUILD.gn @@ -41,28 +41,9 @@ v8_static_library("libdeno") { "file_util.h", "internal.h", ] - if (!use_prebuilt_v8) { - public_deps = [ - ":v8", - ] - } else { - # TODO(ry) It would be nice to have a standalone target for the prebuilt - # library that could simply be added to the deps here, but it wasn't - # obvious how to accomplish that in gn. - if (is_mac) { - libs = [ "//prebuilt/mac/libv8.a" ] - } else if (is_linux) { - libs = [ "//prebuilt/linux64/libv8.a" ] - } else if (is_win) { - if (is_debug) { - libs = [ "//prebuilt/win/v8_debug.lib" ] - } else { - libs = [ "//prebuilt/win/v8.lib" ] - } - } else { - assert(false, "We don't have prebuilt binaries for this platform yet.") - } - } + public_deps = [ + ":v8", + ] } v8_executable("snapshot_creator") { diff --git a/libdeno/deno.gni b/libdeno/deno.gni index d81fedc72..64869a284 100644 --- a/libdeno/deno.gni +++ b/libdeno/deno.gni @@ -1,11 +1,6 @@ # Copyright 2018 the Deno authors. All rights reserved. MIT license. import("//build/compiled_action.gni") -declare_args() { - # Use prebuilt V8 libraries from //prebuilt/ - use_prebuilt_v8 = true -} - template("run_node") { action(target_name) { forward_variables_from(invoker, "*") |