mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Auto merge of #9908 - UK992:tidy-fix, r=ecoal95
Check tidy for "support/android/build-apk/" Fixes #9893 r? @ecoal95 <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9908) <!-- Reviewable:end -->
This commit is contained in:
commit
e3bea4f887
2 changed files with 15 additions and 12 deletions
|
@ -35,7 +35,8 @@ ignored_files = [
|
||||||
|
|
||||||
ignored_dirs = [
|
ignored_dirs = [
|
||||||
# Upstream
|
# Upstream
|
||||||
os.path.join(".", "support"),
|
os.path.join(".", "support", "android", "apk"),
|
||||||
|
os.path.join(".", "support", "rust-task_info"),
|
||||||
os.path.join(".", "tests", "wpt", "css-tests"),
|
os.path.join(".", "tests", "wpt", "css-tests"),
|
||||||
os.path.join(".", "tests", "wpt", "harness"),
|
os.path.join(".", "tests", "wpt", "harness"),
|
||||||
os.path.join(".", "tests", "wpt", "update"),
|
os.path.join(".", "tests", "wpt", "update"),
|
||||||
|
|
|
@ -42,7 +42,7 @@ fn main() {
|
||||||
if debug {
|
if debug {
|
||||||
env::set_var("NDK_DEBUG", "1");
|
env::set_var("NDK_DEBUG", "1");
|
||||||
env::set_var("APP_OPTIM", "0");
|
env::set_var("APP_OPTIM", "0");
|
||||||
} else{
|
} else {
|
||||||
// Overrides android:debuggable propery in the .xml file.
|
// Overrides android:debuggable propery in the .xml file.
|
||||||
env::set_var("APP_OPTIM", "1");
|
env::set_var("APP_OPTIM", "1");
|
||||||
}
|
}
|
||||||
|
@ -77,7 +77,7 @@ fn main() {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Copy over the resources
|
// Copy over the resources
|
||||||
let cpcmd= Command::new("cp")
|
let cpcmd = Command::new("cp")
|
||||||
.arg("-R")
|
.arg("-R")
|
||||||
.arg(&resdir)
|
.arg(&resdir)
|
||||||
.arg(&directory.join("assets"))
|
.arg(&directory.join("assets"))
|
||||||
|
@ -237,10 +237,12 @@ fn parse_arguments() -> (Args, Vec<String>) {
|
||||||
result_output = Some(PathBuf::from(args.next().expect("-o must be followed by the output name")));
|
result_output = Some(PathBuf::from(args.next().expect("-o must be followed by the output name")));
|
||||||
},
|
},
|
||||||
"-r" => {
|
"-r" => {
|
||||||
result_root_path = Some(PathBuf::from(args.next().expect("-r must be followed by the enlistment root directory")));
|
result_root_path =
|
||||||
|
Some(PathBuf::from(args.next().expect("-r must be followed by the enlistment root directory")));
|
||||||
},
|
},
|
||||||
"-t" => {
|
"-t" => {
|
||||||
result_target_path = Some(PathBuf::from(args.next().expect("-t must be followed by the target output directory")));
|
result_target_path =
|
||||||
|
Some(PathBuf::from(args.next().expect("-t must be followed by the target output directory")));
|
||||||
},
|
},
|
||||||
"-l" => {
|
"-l" => {
|
||||||
let name = args.next().expect("-l must be followed by a library name");
|
let name = args.next().expect("-l must be followed by a library name");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue