diff --git a/emsdk.py b/emsdk.py index 04b083e..d628d86 100644 --- a/emsdk.py +++ b/emsdk.py @@ -1616,6 +1616,10 @@ class Tool(object): if hasattr(self, 'uses'): for tool_name in self.uses: + if 'node' in tool_name: + continue + if 'python' in tool_name: + continue tool = find_tool(tool_name) if not tool: debug_print('Tool ' + str(self) + ' depends on ' + tool_name + ' which does not exist!') @@ -1722,6 +1726,10 @@ class Tool(object): # installed for this tool to count as being installed. if hasattr(self, 'uses'): for tool_name in self.uses: + if 'node' in tool_name: + continue + if 'python' in tool_name: + continue tool = find_tool(tool_name) if tool is None: errlog("Manifest error: No tool by name '" + tool_name + "' found! This may indicate an internal SDK error!") @@ -1857,6 +1865,10 @@ class Tool(object): installed = False for tool_name in self.uses: + if 'node' in tool_name: + continue + if 'python' in tool_name: + continue tool = find_tool(tool_name) if tool is None: exit_with_error("Manifest error: No tool by name '" + tool_name + "' found! This may indicate an internal SDK error!") @@ -1986,6 +1998,10 @@ class Tool(object): deps = [] for tool_name in self.uses: + if 'node' in tool_name: + continue + if 'python' in tool_name: + continue tool = find_tool(tool_name) if tool: deps += [tool] @@ -1996,6 +2012,10 @@ class Tool(object): return [] deps = [] for tool_name in self.uses: + if 'node' in tool_name: + continue + if 'python' in tool_name: + continue tool = find_tool(tool_name) if tool: deps += [tool] @@ -2242,6 +2262,10 @@ def load_sdk_manifest(): def dependencies_exist(sdk): for tool_name in sdk.uses: + if 'node' in tool_name: + continue + if 'python' in tool_name: + continue tool = find_tool(tool_name) if not tool: debug_print('missing dependency: ' + tool_name)