0
0
Fork 0
mirror of https://github.com/denoland/rusty_v8.git synced 2024-12-23 15:50:11 -05:00

Upgrade gn to 6f13aaac; make BUILD.gn compatible with it (#443)

This commit is contained in:
Bert Belder 2020-08-27 02:09:12 +02:00
parent 492d6b3440
commit 12334ffef1
No known key found for this signature in database
GPG key ID: 7A77887B2E2ED461
3 changed files with 9 additions and 12 deletions

View file

@ -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") {

View file

@ -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");

View file

@ -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