--- tools/lldb/scripts/buildSwigWrapperClasses.py.orig 2016-10-08 07:32:28 UTC +++ tools/lldb/scripts/buildSwigWrapperClasses.py @@ -404,6 +404,25 @@ def check_lldb_swig_executable_file_exis # Str - Error message. # Throws: None. #-- +def check_lldb_swig_executable_file_exists_BSDSUniX( vDictArgs ): + dbg = utilsDebug.CDebugFnVerbose( "check_lldb_swig_executable_file_exists_BSDSUniX()" ); + bExeFileFound = False; + # ToDo: Find the SWIG executable and add the path to the args dictionary + #vDictArgs.[ "--swigExePath" ] = "/usr/bin/swig"; + strStatusMsg = "Sorry function 'check_lldb_swig_executable_file_exists_BSDSUniX()' is not implemented"; + + return (bExeFileFound, strStatusMsg); + +#++--------------------------------------------------------------------------- +# Details: Locate the SWIG executable file in a OSX system. Several hard +# coded predetermined possible file path locations are searched. +# (This is good candidate for a derived class object) +# Args: vDictArgs - (W) Program input parameters. +# Returns: Bool - True = Success. +# - False = Failure file not found. +# Str - Error message. +# Throws: None. +#-- def check_lldb_swig_executable_file_exists_FreeBSD( vDictArgs ): dbg = utilsDebug.CDebugFnVerbose( "check_lldb_swig_executable_file_exists_FreeBSD()" ); bExeFileFound = False; @@ -435,6 +454,7 @@ def check_lldb_swig_executable_file_exis from utilsOsType import EnumOsType; switch = { EnumOsType.Unknown : check_lldb_swig_executable_file_exists_Unknown, EnumOsType.Darwin : check_lldb_swig_executable_file_exists_Darwin, + EnumOsType.BSDSUniX : check_lldb_swig_executable_file_exists_BSDSUniX, EnumOsType.FreeBSD : check_lldb_swig_executable_file_exists_FreeBSD, EnumOsType.Linux : check_lldb_swig_executable_file_exists_Linux, EnumOsType.Windows : check_lldb_swig_executable_file_exists_Windows }