Lines Matching +full:platform +full:- +full:sdk +full:- +full:version
1 import platform
5 # TODO: In next version, it will be a JSON file listing all the patches, and then it will iterate t…
7 print("- Patches List -")
8 …print("[1] [deps/v8/src/trap-handler/trap-handler.h] related to https://github.com/nodejs/node/iss…
9 if platform.system() == "Linux":
10 …os.system('patch -f ./deps/v8/src/trap-handler/trap-handler.h < ./android-patches/trap-handler.h.p…
13 if platform.system() == "Windows":
14 print("android-configure is not supported on Windows yet.")
22 …print("Usage: ./android-configure [patch] <path to the Android NDK> <Android SDK version> <target …
30 print("\033[91mError: \033[0m" + "Android SDK version must be at least 24 (Android 7.0)")
39 TOOLCHAIN_PREFIX = "armv7a-linux-androideabi"
42 TOOLCHAIN_PREFIX = "aarch64-linux-android"
46 TOOLCHAIN_PREFIX = "i686-linux-android"
49 TOOLCHAIN_PREFIX = "x86_64-linux-android"
57 if platform.system() == "Darwin":
59 toolchain_path = android_ndk_path + "/toolchains/llvm/prebuilt/darwin-x86_64"
61 elif platform.system() == "Linux":
63 toolchain_path = android_ndk_path + "/toolchains/llvm/prebuilt/linux-x86_64"
66 os.environ['CC'] = toolchain_path + "/bin/" + TOOLCHAIN_PREFIX + android_sdk_version + "-" + "clan…
67 os.environ['CXX'] = toolchain_path + "/bin/" + TOOLCHAIN_PREFIX + android_sdk_version + "-" + "clan…
76 …os.system("./configure --dest-cpu=" + DEST_CPU + " --dest-os=android --openssl-no-asm --cross-comp…