Closed
Bug 880254
Opened 11 years ago
Closed 11 years ago
Move LOCAL_INCLUDES to moz.build
Categories
(Firefox Build System :: General, defect)
Firefox Build System
General
Tracking
(Not tracked)
RESOLVED
INCOMPLETE
People
(Reporter: joey, Assigned: ehsan.akhgari)
References
(Blocks 1 open bug)
Details
(Keywords: meta)
Attachments
(1 file)
3.76 KB,
patch
|
Details | Diff | Splinter Review |
No description provided.
Comment 1•11 years ago
|
||
I was thinking about this at some point, and I believe we should not directly port the contents of LOCAL_INCLUDES, but have the contents of LOCAL_INCLUDES specify paths which the backend can translate into compiler include statements. So if a Makefile had something like:
LOCAL_INCLUDES += -I$(srcdir)/abc -I$(topsrcdir)/xyz
we could translate that into:
LOCAL_INCLUDES += [
'abc',
'/xyz',
]
Updated•11 years ago
|
Assignee: nobody → Ms2ger
Comment 2•11 years ago
|
||
Applies on top of attachment 762127 [details] [diff] [review].
Comment 3•11 years ago
|
||
(In reply to Ted Mielczarek [:ted.mielczarek] from comment #1)
> I was thinking about this at some point, and I believe we should not
> directly port the contents of LOCAL_INCLUDES, but have the contents of
> LOCAL_INCLUDES specify paths which the backend can translate into compiler
> include statements. So if a Makefile had something like:
>
> LOCAL_INCLUDES += -I$(srcdir)/abc -I$(topsrcdir)/xyz
>
> we could translate that into:
> LOCAL_INCLUDES += [
> 'abc',
> '/xyz',
> ]
One problem with this approach is that currently LOCAL_INCLUDES is used for both local includes and other system include paths that come from pkg-config for example. If we split those uses out separately then this would work.
Comment 4•11 years ago
|
||
That's a good point. Do we have any system include paths we're using like this that we couldn't simply pass globally?
Assignee | ||
Comment 5•11 years ago
|
||
This is fixed now, right?
Comment 7•11 years ago
|
||
I think ehsan owns this now :)
Assignee | ||
Comment 8•11 years ago
|
||
I'm not planning to do any work inside this bug, and don't think keeping track of things in multiple places makes sense. For the curious, follow along in bug 928196.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → INCOMPLETE
Whiteboard: [leave open]
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
•