Skip to content

Commit

Permalink
Upgrade gn to 6f13aaac & make BUILD.gn compatible with it (denoland#462)
Browse files Browse the repository at this point in the history
  • Loading branch information
piscisaureus committed Sep 8, 2020
1 parent 003169e commit c564ca2
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 12 deletions.
17 changes: 7 additions & 10 deletions BUILD.gn
Original file line number Diff line number Diff line change
@@ -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") {
Expand Down
2 changes: 1 addition & 1 deletion build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,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");
Expand Down
2 changes: 1 addition & 1 deletion tools/ninja_gn_binaries.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
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


Expand Down

0 comments on commit c564ca2

Please sign in to comment.