Closed
Bug 939580
Opened 11 years ago
Closed 11 years ago
Create unified files based on the absolute path of the original source files
Categories
(Firefox Build System :: General, defect)
Firefox Build System
General
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla28
People
(Reporter: ehsan.akhgari, Assigned: ehsan.akhgari)
References
Details
Attachments
(1 file, 1 obsolete file)
(deleted),
patch
|
gps
:
review+
|
Details | Diff | Splinter Review |
Bug 939571 is an example of where we need this.
Assignee | ||
Comment 1•11 years ago
|
||
This is necessary for places where we have a UNIFIED_SOURCES variable
pointing to a file such as Foo.cpp, and we also have a LOCAL_INCLUDES
variable pointing to another directory containing another version of
Foo.cpp. Without this patch, we end up #including the second file
instead of the first one.
Assignee | ||
Updated•11 years ago
|
Attachment #8333536 -
Flags: review?(mh+mozilla)
Comment 2•11 years ago
|
||
Comment on attachment 8333536 [details] [diff] [review]
Create unified files based on the absolute path of the original source files
I think I'd rather see LOCAL_INCLUDES go after -I$(srcdir) and -I. in config/config.mk. Could you try that instead?
Attachment #8333536 -
Flags: review?(mh+mozilla)
Assignee | ||
Updated•11 years ago
|
Attachment #8333536 -
Attachment is obsolete: true
Assignee | ||
Comment 5•11 years ago
|
||
Assignee | ||
Updated•11 years ago
|
Attachment #8334473 -
Flags: review?(mh+mozilla)
Attachment #8334473 -
Flags: review?(gps)
Assignee | ||
Comment 6•11 years ago
|
||
The dom/base and dom/worker hunks are needed because that code was basically relying on the existing order of LOCAL_INCLUDES to pick the Navigator.h in dom/base.
Assignee | ||
Comment 7•11 years ago
|
||
Comment 8•11 years ago
|
||
Comment on attachment 8334473 [details] [diff] [review]
#include LOCAL_INCLUDES after the source dir and current dir includes; r=glandium
Review of attachment 8334473 [details] [diff] [review]:
-----------------------------------------------------------------
This seems fine. As long as LOCAL_INCLUDES are early enough to intercept most includes (I think some people rely on this to inject wrappers), I think we'll be fine. I can't imagine someone wanting to override files defined in the current directory.
I don't think you need glandium's additional review here. But I'll defer to you.
Attachment #8334473 -
Flags: review?(gps) → review+
Assignee | ||
Comment 9•11 years ago
|
||
Comment on attachment 8334473 [details] [diff] [review]
#include LOCAL_INCLUDES after the source dir and current dir includes; r=glandium
Thanks for the review!
Attachment #8334473 -
Flags: review?(mh+mozilla)
Assignee | ||
Comment 10•11 years ago
|
||
Comment 11•11 years ago
|
||
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla28
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
•