Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b1fc8c91 authored by Yu Shan's avatar Yu Shan
Browse files

Allow empty preuload_files.

When a CL only removes file, the PREUPLOAD_FILES in repohook might
be empty.

Test: None
Bug: 298222655
Change-Id: I70bb347c02c5d09a0525313087acb9c38b9a2ff2
parent 892e1fea
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -328,7 +328,7 @@ def main():
    parser = argparse.ArgumentParser(
            description='Generate Java and C++ enums based on annotations in VehicleProperty.aidl')
    parser.add_argument('--android_build_top', required=False, help='Path to ANDROID_BUILD_TOP')
    parser.add_argument('--preupload_files', nargs='+', required=False, help='modified files')
    parser.add_argument('--preupload_files', nargs='*', required=False, help='modified files')
    parser.add_argument('--check_only', required=False, action='store_true',
            help='only check whether the generated files need update')
    parser.add_argument('--output_csv', required=False,