Closed
Bug 973395
Opened 11 years ago
Closed 11 years ago
Move the LOCAL_INCLUDES in media 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, 2 obsolete files)
(deleted),
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 #8376889 -
Flags: review?(mshal)
Attachment #8376889 -
Flags: review?(mh+mozilla)
Attachment #8376889 -
Flags: review?(gps)
Assignee | ||
Updated•11 years ago
|
Attachment #8376889 -
Attachment is obsolete: true
Attachment #8376889 -
Flags: review?(mshal)
Attachment #8376889 -
Flags: review?(mh+mozilla)
Attachment #8376889 -
Flags: review?(gps)
Assignee | ||
Comment 2•11 years ago
|
||
Assignee | ||
Updated•11 years ago
|
Attachment #8376895 -
Flags: review?(mshal)
Attachment #8376895 -
Flags: review?(mh+mozilla)
Attachment #8376895 -
Flags: review?(gps)
Comment 3•11 years ago
|
||
Comment on attachment 8376895 [details] [diff] [review]
Move the LOCAL_INCLUDES in media to moz.build
Review of attachment 8376895 [details] [diff] [review]:
-----------------------------------------------------------------
::: media/webrtc/signaling/test/moz.build
@@ +20,5 @@
> 'NR_SOCKET_IS_VOID_PTR', 'HAVE_STRDUP'):
> DEFINES[var] = True
> +
> +GENERATED_INCLUDES += [
> + '.',
I don't think this is necessary
Assignee | ||
Updated•11 years ago
|
Attachment #8376895 -
Attachment is obsolete: true
Attachment #8376895 -
Flags: review?(mshal)
Attachment #8376895 -
Flags: review?(mh+mozilla)
Attachment #8376895 -
Flags: review?(gps)
Assignee | ||
Comment 4•11 years ago
|
||
Assignee | ||
Updated•11 years ago
|
Attachment #8377194 -
Flags: review?(mshal)
Attachment #8377194 -
Flags: review?(mh+mozilla)
Attachment #8377194 -
Flags: review?(gps)
Assignee | ||
Comment 5•11 years ago
|
||
(In reply to :Ms2ger from comment #3)
> Comment on attachment 8376895 [details] [diff] [review]
> Move the LOCAL_INCLUDES in media to moz.build
>
> Review of attachment 8376895 [details] [diff] [review]:
> -----------------------------------------------------------------
>
> ::: media/webrtc/signaling/test/moz.build
> @@ +20,5 @@
> > 'NR_SOCKET_IS_VOID_PTR', 'HAVE_STRDUP'):
> > DEFINES[var] = True
> > +
> > +GENERATED_INCLUDES += [
> > + '.',
>
> I don't think this is necessary
This is not trivial to figure out, and I have been bitten by this once already (see bug 972459.)
Please file a follow-up if you want, but I'm not volunteering to figure out which one of these includes are actually necessary. :-)
Comment 6•11 years ago
|
||
Comment on attachment 8377194 [details] [diff] [review]
Move the LOCAL_INCLUDES in media to moz.build
Review of attachment 8377194 [details] [diff] [review]:
-----------------------------------------------------------------
r+ with the following fixed.
::: media/mtransport/test/moz.build
@@ +41,5 @@
> + ]
> +
> +if CONFIG['OS_TARGET'] == 'Darwin':
> + LOCAL_INCLUDES += [
> + '/media/mtransport/third_party/nrappkit/src/port/darwin/include',
This path used to be added for the BSDs too.
::: media/webrtc/signaling/test/moz.build
@@ +20,5 @@
> 'NR_SOCKET_IS_VOID_PTR', 'HAVE_STRDUP'):
> DEFINES[var] = True
> +
> +GENERATED_INCLUDES += [
> + '.',
Adding '.' is useless.
@@ +66,5 @@
> + ]
> +
> +if CONFIG['OS_TARGET'] == 'Darwin':
> + LOCAL_INCLUDES += [
> + '/media/mtransport/third_party/nrappkit/src/port/darwin/include',
Same as media/mtransport/test/moz.build
Attachment #8377194 -
Flags: review?(mshal)
Attachment #8377194 -
Flags: review?(mh+mozilla)
Attachment #8377194 -
Flags: review?(gps)
Attachment #8377194 -
Flags: review+
Comment 7•11 years ago
|
||
(In reply to :Ehsan Akhgari (needinfo? me!) (slow responsiveness, emailapocalypse) from comment #5)
> This is not trivial to figure out, and I have been bitten by this once
> already (see bug 972459.)
>
> Please file a follow-up if you want, but I'm not volunteering to figure out
> which one of these includes are actually necessary. :-)
Here, it's easy: -I. is already in INCLUDES, before LOCAL_INCLUDES. All adding it to LOCAL_INCLUDES was doing was to put it twice on the command line.
Assignee | ||
Comment 8•11 years ago
|
||
Assignee | ||
Comment 9•11 years ago
|
||
(In reply to Mike Hommey [:glandium] from comment #7)
> (In reply to :Ehsan Akhgari (needinfo? me!) (slow responsiveness,
> emailapocalypse) from comment #5)
> > This is not trivial to figure out, and I have been bitten by this once
> > already (see bug 972459.)
> >
> > Please file a follow-up if you want, but I'm not volunteering to figure out
> > which one of these includes are actually necessary. :-)
>
> Here, it's easy: -I. is already in INCLUDES, before LOCAL_INCLUDES. All
> adding it to LOCAL_INCLUDES was doing was to put it twice on the command
> line.
Ah I was confused because I did not note that this is GENERATED_INCLUDES, not LOCAL_INCLUDES :/
Comment 10•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
•