MCPcopy Create free account
hub / github.com/LunarG/VulkanTools / RepoRelative

Function RepoRelative

scripts/android.py:24–25  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

22
23# helper to define paths relative to the repo root
24def RepoRelative(path):
25 return os.path.abspath(os.path.join(os.path.dirname(__file__), '..', path))
26
27# Points to the directory containing the top level CMakeLists.txt
28PROJECT_SRC_DIR = os.path.abspath(os.path.join(os.path.split(os.path.abspath(__file__))[0], '..'))

Callers 2

RunShellCmdFunction · 0.70
mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected