Skip to content

Commit 12334ff

Browse files
committed
Upgrade gn to 6f13aaac; make BUILD.gn compatible with it (denoland#443)
1 parent 492d6b3 commit 12334ff

File tree

3 files changed

+9
-12
lines changed

3 files changed

+9
-12
lines changed

BUILD.gn

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,20 @@
11
# Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
2-
import("//v8/gni/v8.gni")
32

4-
v8_static_library("rusty_v8") {
3+
static_library("rusty_v8") {
4+
complete_static_lib = true
55
sources = [ "src/binding.cc" ]
66
deps = [
7-
":v8",
87
"//build/config:shared_library_deps",
9-
]
10-
configs = [ ":rusty_v8_config" ]
11-
}
12-
13-
v8_source_set("v8") {
14-
deps = [
158
"//v8:v8",
169
"//v8:v8_libbase",
1710
"//v8:v8_libplatform",
1811
"//v8:v8_libsampler",
1912
]
20-
configs = [ ":rusty_v8_config" ]
13+
configs -= [
14+
"//build/config/compiler:default_init_stack_vars",
15+
"//build/config/compiler:thin_archive",
16+
]
17+
configs += [ ":rusty_v8_config" ]
2118
}
2219

2320
config("rusty_v8_config") {

build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ fn download_ninja_gn_binaries() {
149149
.parent()
150150
.unwrap();
151151
let bin_dir = target_dir
152-
.join("ninja_gn_binaries-20200806")
152+
.join("ninja_gn_binaries-20200827")
153153
.join(platform());
154154
let gn = bin_dir.join("gn");
155155
let ninja = bin_dir.join("ninja");

tools/ninja_gn_binaries.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
from urllib.error import HTTPError, URLError
1919
from urllib.request import urlopen
2020

21-
URL = "https://github.com/denoland/ninja_gn_binaries/archive/20200806.tar.gz"
21+
URL = "https://github.com/denoland/ninja_gn_binaries/archive/20200827.tar.gz"
2222
DIR = None
2323

2424

0 commit comments

Comments
 (0)