mirror of
https://github.com/denoland/rusty_v8.git
synced 2024-12-24 08:09:16 -05:00
Upgrade gn to 6f13aaac; make BUILD.gn compatible with it (#443)
This commit is contained in:
parent
492d6b3440
commit
12334ffef1
3 changed files with 9 additions and 12 deletions
17
BUILD.gn
17
BUILD.gn
|
@ -1,23 +1,20 @@
|
|||
# Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
|
||||
import("//v8/gni/v8.gni")
|
||||
|
||||
v8_static_library("rusty_v8") {
|
||||
static_library("rusty_v8") {
|
||||
complete_static_lib = true
|
||||
sources = [ "src/binding.cc" ]
|
||||
deps = [
|
||||
":v8",
|
||||
"//build/config:shared_library_deps",
|
||||
]
|
||||
configs = [ ":rusty_v8_config" ]
|
||||
}
|
||||
|
||||
v8_source_set("v8") {
|
||||
deps = [
|
||||
"//v8:v8",
|
||||
"//v8:v8_libbase",
|
||||
"//v8:v8_libplatform",
|
||||
"//v8:v8_libsampler",
|
||||
]
|
||||
configs = [ ":rusty_v8_config" ]
|
||||
configs -= [
|
||||
"//build/config/compiler:default_init_stack_vars",
|
||||
"//build/config/compiler:thin_archive",
|
||||
]
|
||||
configs += [ ":rusty_v8_config" ]
|
||||
}
|
||||
|
||||
config("rusty_v8_config") {
|
||||
|
|
2
build.rs
2
build.rs
|
@ -149,7 +149,7 @@ fn download_ninja_gn_binaries() {
|
|||
.parent()
|
||||
.unwrap();
|
||||
let bin_dir = target_dir
|
||||
.join("ninja_gn_binaries-20200806")
|
||||
.join("ninja_gn_binaries-20200827")
|
||||
.join(platform());
|
||||
let gn = bin_dir.join("gn");
|
||||
let ninja = bin_dir.join("ninja");
|
||||
|
|
|
@ -18,7 +18,7 @@ except ImportError: # For Py3 compatibility
|
|||
from urllib.error import HTTPError, URLError
|
||||
from urllib.request import urlopen
|
||||
|
||||
URL = "https://github.com/denoland/ninja_gn_binaries/archive/20200806.tar.gz"
|
||||
URL = "https://github.com/denoland/ninja_gn_binaries/archive/20200827.tar.gz"
|
||||
DIR = None
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue