Find the emsdk by relative path so that this works with the monorepo. (flutter/engine#40207)

Find the emsdk by relative path so that this works with the monorepo.
This commit is contained in:
Jackson Gardner
2023-03-10 06:56:21 -08:00
committed by GitHub
parent d863ce04e7
commit 299c8369a7

View File

@@ -9,7 +9,9 @@ import os
import subprocess
import sys
EMSDK_ROOT = os.path.join('src', 'buildtools', 'emsdk')
EMSDK_ROOT = os.path.abspath(
os.path.join(__file__, '..', '..', '..', 'buildtools', 'emsdk')
)
EMSDK_PATH = os.path.join(EMSDK_ROOT, 'emsdk.py')