Closed
Bug 827934
Opened 13 years ago
Closed 13 years ago
We build gfxUtils.cpp every time even if nothing has changed
Categories
(Firefox Build System :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla21
People
(Reporter: ehsan.akhgari, Assigned: ehsan.akhgari)
References
Details
(Whiteboard: [buildfaster:?])
Attachments
(1 file)
|
2.01 KB,
patch
|
ted
:
review+
jrmuizel
:
review+
|
Details | Diff | Splinter Review |
This is stupid, and I got fed up with it!
| Assignee | ||
Comment 1•13 years ago
|
||
Over to Ted for the Makefile review and to Jeff for the rest.
Assignee: nobody → ehsan
Status: NEW → ASSIGNED
Attachment #699342 -
Flags: review?(ted)
Attachment #699342 -
Flags: review?(jmuizelaar)
Comment 2•13 years ago
|
||
Comment on attachment 699342 [details] [diff] [review]
Patch (v1)
Review of attachment 699342 [details] [diff] [review]:
-----------------------------------------------------------------
::: gfx/thebes/genTables.py
@@ +3,4 @@
> def table_generator(f):
> return ",\n".join([", ".join(["0x%2.2x" % h for h in [f(i) for i in range(r,r+16)]]) for r in range(0, 65536, 16)])
>
> +f = open("PremultiplyTable.h", "w")
PremulitplyTables.h
Attachment #699342 -
Flags: review?(jmuizelaar) → review+
Comment 3•13 years ago
|
||
Comment on attachment 699342 [details] [diff] [review]
Patch (v1)
Review of attachment 699342 [details] [diff] [review]:
-----------------------------------------------------------------
::: gfx/thebes/Makefile.in
@@ +394,4 @@
> endif
> endif
>
> +PremultiplyTable.h:
This should depend on genTables.py.
::: gfx/thebes/genTables.py
@@ +13,1 @@
> f.close()
You could switch this to use
with open("PremultiplyTable.h", "w") as f:
f.write(...)
and drop the close.
Attachment #699342 -
Flags: review?(ted) → review+
Comment 4•13 years ago
|
||
Also, this is why we shouldn't let non-build peers review Makefile changes.
| Assignee | ||
Comment 5•13 years ago
|
||
(In reply to Ted Mielczarek [:ted.mielczarek] from comment #4)
> Also, this is why we shouldn't let non-build peers review Makefile changes.
Good material for a blog post. ;-)
| Assignee | ||
Comment 6•13 years ago
|
||
Comment 7•13 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla21
Comment 8•13 years ago
|
||
(In reply to Ted Mielczarek [:ted.mielczarek] from comment #4)
> Also, this is why we shouldn't let non-build peers review Makefile changes.
FWIW, I did suggest this exact Makefile change in the bug. But I also suggested using PHONY as an alternative; I guess that was my mistake. I'm sorry.
Updated•8 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•