Closed Bug 393270 Opened 17 years ago Closed 17 years ago

Windows dependency generation only works for files in $(srcdir)

Categories

(Firefox Build System :: General, defect)

x86
Windows 2000
defect
Not set
minor

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: neil, Assigned: neil)

Details

Attachments

(2 files)

Since mkdepend.exe only works on Windows paths, we can't use the $(<D) trick to remove the path name from the .obj file in the .pp file. Currently we use $(srcdir) but that doesn't work for nsMIMEInfoWin.cpp for example.
This assumes that paths don't contain spaces, which I think is correct, no?
Assignee: nobody → neil
Status: NEW → ASSIGNED
Comment on attachment 277769 [details] [diff] [review]
Option 2 - just tweak the srcdir regexp slightly

r=me on this, but I do like the other patch, I'd just prefer to have bsmedberg take a look at it.
Attachment #277769 - Flags: review+
Comment on attachment 277767 [details] [diff] [review]
Option 1 - just chop all paths off

bsmedberg: is there anything conceptually wrong with this patch?  It's a nice cleanup if we do intend to strip all paths from the obj files in the depends file.
Attachment #277767 - Flags: review?(benjamin)
Attachment #277767 - Flags: review?(benjamin) → review+
So, for anyone still interested, we ran with the second patch for a bit, but I've now backed that out and checked in the first patch instead.
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: