Przeglądaj źródła

release: small release script clean-up

Anonymous Maarten 1 tydzień temu
rodzic
commit
d13f66ab7d

+ 1 - 1
build-scripts/build-release.py

@@ -1517,7 +1517,7 @@ def main(argv=None) -> int:
         if args.android_home is None or not Path(args.android_home).is_dir():
             parser.error("Invalid $ANDROID_HOME or --android-home: must be a directory containing the Android SDK")
         if args.android_ndk_home is None or not Path(args.android_ndk_home).is_dir():
-            parser.error("Invalid $ANDROID_NDK_HOME or --android_ndk_home: must be a directory containing the Android NDK")
+            parser.error("Invalid $ANDROID_NDK_HOME or --android-ndk-home: must be a directory containing the Android NDK")
         if args.android_api is None:
             with section_printer.group("Detect Android APIS"):
                 args.android_api = releaser._detect_android_api(android_home=args.android_home)

+ 0 - 1
build-scripts/pkg-support/android/aar/__main__.py.in

@@ -26,7 +26,6 @@ import zipfile
 
 
 AAR_PATH = pathlib.Path(__file__).resolve().parent
-ANDROID_ARCHS = { "armeabi-v7a", "arm64-v8a", "x86", "x86_64" }
 
 
 def main():