forked from firka/flutter
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:
@@ -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')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user