Closed
Bug 973388
Opened 11 years ago
Closed 11 years ago
Move the LOCAL_INCLUDES in xpcom to moz.build
Categories
(Firefox Build System :: General, defect)
Firefox Build System
General
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla30
People
(Reporter: ehsan.akhgari, Assigned: ehsan.akhgari)
References
Details
Attachments
(1 file)
5.48 KB,
patch
|
glandium
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•11 years ago
|
||
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → ehsan
Blocks: xulinmozbuild
Assignee | ||
Updated•11 years ago
|
Attachment #8376880 -
Flags: review?(mshal)
Attachment #8376880 -
Flags: review?(mh+mozilla)
Attachment #8376880 -
Flags: review?(gps)
Comment 2•11 years ago
|
||
Comment on attachment 8376880 [details] [diff] [review]
Move the LOCAL_INCLUDES in xpcom to moz.build
Review of attachment 8376880 [details] [diff] [review]:
-----------------------------------------------------------------
r+ with the following fixed.
::: xpcom/build/moz.build
@@ +81,5 @@
> DEFINES['MOZ_OPTIMIZE'] = True
> +
> +GENERATED_INCLUDES += ['..']
> +LOCAL_INCLUDES += [
> + '..',
There are no headers in $topsrcdir/xpcom/. We don't need this.
::: xpcom/typelib/xpt/src/moz.build
@@ +14,5 @@
>
> FINAL_LIBRARY = 'xpcom_core'
> +
> +GENERATED_INCLUDES += [
> + '../../..',
There are only two generated headers in $objdir/xpcom: xpcom-config.h and xpcom-private.h. The former is in dist/include, which means it's already in the include path, and the latter is not included directly or indirectly from sources in xpcom/typelib/xpt/src.
@@ +15,5 @@
> FINAL_LIBRARY = 'xpcom_core'
> +
> +GENERATED_INCLUDES += [
> + '../../..',
> + '../../../base',
/xpcom/base is shorter and less ambiguous.
Attachment #8376880 -
Flags: review?(mshal)
Attachment #8376880 -
Flags: review?(mh+mozilla)
Attachment #8376880 -
Flags: review?(gps)
Attachment #8376880 -
Flags: review+
Assignee | ||
Comment 3•11 years ago
|
||
Comment 4•11 years ago
|
||
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla30
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
•