Fix for build breakage on Windows due to bad dom_quickstubs.depends file.

The bad file contains a backslash, which causes GNU make to choke.
This fix causes the file to be generated correctly, but the file on
the Windows build machines is still there and still contains backslashes;
a clobber should fix this.

The Try Server didn't catch this because every Try build is a clobber.
This commit is contained in:
Jason Orendorff 2008-08-31 09:51:52 -05:00
Родитель 6b5d53f655
Коммит 7f535eb7df
1 изменённых файлов: 3 добавлений и 1 удалений

Просмотреть файл

@ -188,7 +188,9 @@ class UserError(Exception):
def findIDL(includePath, irregularFilenames, interfaceName):
filename = irregularFilenames.get(interfaceName, interfaceName) + '.idl'
for d in includePath:
path = os.path.join(d, filename)
# Not os.path.join: we need a forward slash even on Windows because
# this filename ends up in makedepend output.
path = d + '/' + filename
if os.path.exists(path):
return path
raise UserError("No IDL file found for interface %s "