mirror of
https://github.com/servo/servo.git
synced 2025-07-22 14:53:49 +01:00
Disable zipalign until we have stable builder automation to install and locate it
This commit is contained in:
parent
13226f8472
commit
d3277ae57a
1 changed files with 1 additions and 16 deletions
|
@ -194,22 +194,7 @@ fn main() {
|
||||||
process::exit(1);
|
process::exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
let aligncmd = Command::new(sdk_path.join("tools").join("zipalign"))
|
fs::copy(&directory.join("bin").join("Servo-release-unsigned.apk"),
|
||||||
.arg("-f")
|
|
||||||
.arg("-v")
|
|
||||||
.arg("4")
|
|
||||||
.arg(&directory.join("bin").join("Servo-release-unsigned.apk"))
|
|
||||||
.arg(&directory.join("bin").join("Servo-release.apk"))
|
|
||||||
.stdout(Stdio::inherit())
|
|
||||||
.stderr(Stdio::inherit())
|
|
||||||
.current_dir(directory.clone())
|
|
||||||
.status();
|
|
||||||
if aligncmd.is_err() || aligncmd.unwrap().code().unwrap() != 0 {
|
|
||||||
println!("Error while using `zipalign` to sign the APK.");
|
|
||||||
process::exit(1);
|
|
||||||
}
|
|
||||||
|
|
||||||
fs::copy(&directory.join("bin").join("Servo-release.apk"),
|
|
||||||
&args.output).unwrap();
|
&args.output).unwrap();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue