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)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla30

People

(Reporter: ehsan.akhgari, Assigned: ehsan.akhgari)

References

Details

Attachments

(1 file)

No description provided.
Assignee: nobody → ehsan
Depends on: 979681
Attachment #8385789 - Flags: review?(mshal)
Attachment #8385789 - Flags: review?(mh+mozilla)
Attachment #8385789 - Flags: review?(gps)
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-
(The patch otherwise looks fine, btw).
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 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+
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla30
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: