Fix
This commit is contained in:
8
environ.py
Normal file → Executable file
8
environ.py
Normal file → Executable file
@@ -349,8 +349,8 @@ def parse_arguments():
|
||||
help="Force apply patches even if some fail")
|
||||
parser.add_argument("--patchLevel", type=int, default=1,
|
||||
help="Patch level for -p option (default: 1)")
|
||||
parser.add_argument("--sourceDir", type=str, default="AOSP-source",
|
||||
help="Source directory (default: AOSP-source)")
|
||||
parser.add_argument("--sourceDir", type=str, default="AOSP-Source",
|
||||
help="Source directory (default: AOSP-Source)")
|
||||
parser.add_argument("--patchDir", type=str, default=None, nargs="+",
|
||||
help="Patch directories to search (overrides repo.yml patches.dirs). Can specify multiple.")
|
||||
parser.add_argument("--syncJobs", type=int, default=None,
|
||||
@@ -381,7 +381,7 @@ def main():
|
||||
|
||||
print("Android Build Environment Setup")
|
||||
print(f"Source directory: {source_dir}")
|
||||
print(f"Patch directories: {', '.join(patch_dirs)}")
|
||||
print(f"Patch directories: {', '.join(patch_dirs) if patch_dirs else '(from config or default)'}")
|
||||
print(f"Patch level: -p{patch_level}")
|
||||
print(f"Sync jobs: {sync_jobs}")
|
||||
if ignore_patches:
|
||||
@@ -496,4 +496,4 @@ def main():
|
||||
print("Environment setup completed!")
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
main()
|
||||
|
||||
Reference in New Issue
Block a user