Closed
Bug 979684
Opened 11 years ago
Closed 11 years ago
Port the per-source flags for skia 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)
(deleted),
patch
|
mshal
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•11 years ago
|
||
Assignee | ||
Updated•11 years ago
|
Blocks: xulinmozbuild
Assignee | ||
Updated•11 years ago
|
Attachment #8385789 -
Flags: review?(mshal)
Attachment #8385789 -
Flags: review?(mh+mozilla)
Attachment #8385789 -
Flags: review?(gps)
Comment 2•11 years ago
|
||
Comment on attachment 8385789 [details] [diff] [review]
Port the per-source flags for skia to moz.build
Although these flags show up in backend.mk, they don't end up on the command-line. It looks like this is because you used $($(notdir $<)_FLAGS), so for example 'trunk/src/opts/SkBitmapFilter_opts_SSE2.cpp_FLAGS += ...' in backend.mk doesn't work, but 'SkBitmapFilter_opts_SSE2.cpp_FLAGS += ...' does.
Since we need 'trunk/src/opts/...' in the moz.build file to match the SOURCES key, I'd guess you want an os.path.basename() when writing out these flags in the recursive make backend.
Attachment #8385789 -
Flags: review?(mshal)
Attachment #8385789 -
Flags: review?(mh+mozilla)
Attachment #8385789 -
Flags: review?(gps)
Attachment #8385789 -
Flags: review-
Comment 3•11 years ago
|
||
(The patch otherwise looks fine, btw).
Assignee | ||
Comment 4•11 years ago
|
||
Comment on attachment 8385789 [details] [diff] [review]
Port the per-source flags for skia to moz.build
(In reply to Michael Shal [:mshal] from comment #2)
> Comment on attachment 8385789 [details] [diff] [review]
> Port the per-source flags for skia to moz.build
>
> Although these flags show up in backend.mk, they don't end up on the
> command-line. It looks like this is because you used $($(notdir $<)_FLAGS),
> so for example 'trunk/src/opts/SkBitmapFilter_opts_SSE2.cpp_FLAGS += ...' in
> backend.mk doesn't work, but 'SkBitmapFilter_opts_SSE2.cpp_FLAGS += ...'
> does.
>
> Since we need 'trunk/src/opts/...' in the moz.build file to match the
> SOURCES key, I'd guess you want an os.path.basename() when writing out these
> flags in the recursive make backend.
Did you see the depdendency, bug 979681? :-) That fix is already on inbound.
Attachment #8385789 -
Flags: review- → review?(mshal)
Comment 5•11 years ago
|
||
Comment on attachment 8385789 [details] [diff] [review]
Port the per-source flags for skia to moz.build
Nope, I missed that :(. Sorry!
Attachment #8385789 -
Flags: review?(mshal) → review+
Comment 6•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
•