diff options
Diffstat (limited to 'buildscripts/idl/lib.py')
| -rw-r--r-- | buildscripts/idl/lib.py | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/buildscripts/idl/lib.py b/buildscripts/idl/lib.py index 5484f98e9d3..c4ae1c08fea 100644 --- a/buildscripts/idl/lib.py +++ b/buildscripts/idl/lib.py @@ -56,14 +56,3 @@ def parse_idl(idl_path: str, import_directories: List[str]) -> syntax.IDLParsedS raise ValueError(f"Cannot parse {idl_path}") return parsed_doc - - -def is_third_party_idl(idl_path: str) -> bool: - """Check if an IDL file is under a third party directory.""" - third_party_idl_subpaths = [os.path.join("third_party", "mozjs"), "win32com"] - - for file_name in third_party_idl_subpaths: - if file_name in idl_path: - return True - - return False |
