MCPcopy Index your code
hub / github.com/nodejs/node / patch_android

Function patch_android

android_configure.py:6–11  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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.
6def 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
13if platform.system() != "Linux" and platform.system() != "Darwin":
14 print("android-configure is currently only supported on Linux and Darwin.")

Callers 1

Calls 1

printFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…