0
0
Fork 0
mirror of https://github.com/denoland/rusty_v8.git synced 2024-11-21 15:04:33 -05:00

Add back gn args --list on build (#1013)

This commit is contained in:
Ryan Dahl 2022-07-08 10:55:58 -04:00 committed by GitHub
parent 8dfb1e6559
commit 53299dceb4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -210,9 +210,20 @@ fn build_v8() {
let gn_out = maybe_gen(&gn_root, gn_args);
assert!(gn_out.exists());
assert!(gn_out.join("args.gn").exists());
print_gn_args(&gn_out);
build("rusty_v8", None);
}
fn print_gn_args(gn_out_dir: &Path) {
assert!(Command::new(gn())
.arg("args")
.arg(&gn_out_dir)
.arg("--list")
.status()
.unwrap()
.success());
}
fn maybe_clone_repo(dest: &str, repo: &str) {
if !Path::new(&dest).exists() {
assert!(Command::new("git")