()
| 4 | |
| 5 | # TODO: In next version, it will be a JSON file listing all the patches, and then it will iterate through to apply them. |
| 6 | def patch_android(): |
| 7 | print("- Patches List -") |
| 8 | print("[1] [deps/v8/src/trap-handler/trap-handler.h] related to https://github.com/nodejs/node/issues/36287") |
| 9 | if platform.system() == "Linux": |
| 10 | os.system('patch -f ./deps/v8/src/trap-handler/trap-handler.h < ./android-patches/trap-handler.h.patch') |
| 11 | print("\033[92mInfo: \033[0m" + "Tried to patch.") |
| 12 | |
| 13 | if platform.system() != "Linux" and platform.system() != "Darwin": |
| 14 | print("android-configure is currently only supported on Linux and Darwin.") |
no test coverage detected
searching dependent graphs…