Closed
Bug 882937
Opened 12 years ago
Closed 12 years ago
GTest dependency don't support adding/removing files
Categories
(Firefox Build System :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla24
People
(Reporter: BenWa, Assigned: BenWa)
References
(Blocks 1 open bug)
Details
Attachments
(1 file, 2 obsolete files)
1.16 KB,
patch
|
glandium
:
review+
|
Details | Diff | Splinter Review |
I noticed when adding more tests to GTest that adding/removing files doesn't trigger a rebuild. This is a regression from bug 844288.
The build system considers gfx/test/gtest to be a component linked in libxul but the dependency don't pick up that a new file should be added to the list.
How do we support this?
Comment 1•12 years ago
|
||
Can you be more specific about what's not rebuilding? The libxul-test library isn't being relinked?
Assignee | ||
Comment 2•12 years ago
|
||
Yes. The new object file is build but since it's not in toolkit/library/.deps/gtest/XUL (mac path) it doesn't get relinked. How does regular libxul detect that new files were added and that it needs to relink?
Comment 3•12 years ago
|
||
(In reply to Benoit Girard (:BenWa) from comment #2)
> How does regular libxul detect that new files were added and that it needs to relink?
By having dependencies on .desc files, one of which should have been updated to contain the new file.
Assignee | ||
Comment 4•12 years ago
|
||
Looks like I messed up the dependency when applying the review comment.
DLL_SUFFIX includes the '.' and it's not redefined when generating a framework.
Assignee | ||
Comment 5•12 years ago
|
||
Assignee | ||
Comment 6•12 years ago
|
||
Removed debugging echo
Attachment #762649 -
Attachment is obsolete: true
Attachment #762649 -
Flags: review?(mh+mozilla)
Attachment #762650 -
Flags: review?(mh+mozilla)
Assignee | ||
Comment 7•12 years ago
|
||
Attachment #762650 -
Attachment is obsolete: true
Attachment #762650 -
Flags: review?(mh+mozilla)
Attachment #762680 -
Flags: review?(mh+mozilla)
Updated•12 years ago
|
Attachment #762680 -
Flags: review?(mh+mozilla) → review+
Assignee | ||
Comment 8•12 years ago
|
||
Comment 9•12 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla24
Updated•7 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•