Closed
Bug 550846
Opened 14 years ago
Closed 14 years ago
Restructure layers for multiple directories
Categories
(Core :: Graphics, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: bas.schouten, Assigned: bas.schouten)
References
Details
Attachments
(1 file, 1 obsolete file)
941 bytes,
patch
|
ted
:
review+
roc
:
review+
|
Details | Diff | Splinter Review |
I just talked to Ted, if we want to have D3D in its own directory and the build work properly, we need to move the building of layers into their own directory as well. Since we cannot have subdirectories processed before the build actions in the directory itsself. Therefor I cannot currently build direct3d before linking, and I need to make gfx twice to pick up changes.
I see, we need a gfx/layers/build directory that actually links everything? OK.
Assignee | ||
Comment 2•14 years ago
|
||
(In reply to comment #1) > I see, we need a gfx/layers/build directory that actually links everything? OK. There's an alternative of just structuring the files into directories, and then combining all in a single Makefile using VPATH. I believe Ted suggested this was a better way. I'm cool with this...?
Comment 3•14 years ago
|
||
I would prefer that, as it involves less recursive invocations of make. Your files will be separated into dirs, just not the build logic.
Assignee | ||
Comment 4•14 years ago
|
||
I suggest this as a patch.
Assignee: nobody → bas.schouten
Status: NEW → ASSIGNED
Attachment #431202 -
Flags: superreview?
Attachment #431202 -
Flags: review?(roc)
Assignee | ||
Updated•14 years ago
|
Attachment #431202 -
Flags: superreview? → review?(ted.mielczarek)
Use "hg rename". The basic plan is OK with me, get Ted to review the build system changes.
Assignee | ||
Comment 6•14 years ago
|
||
I learned a new hg command!
Attachment #431202 -
Attachment is obsolete: true
Attachment #431202 -
Flags: review?(ted.mielczarek)
Attachment #431202 -
Flags: review?(roc)
Assignee | ||
Updated•14 years ago
|
Attachment #431212 -
Flags: review?(ted.mielczarek)
Attachment #431212 -
Flags: review?(roc)
Attachment #431212 -
Flags: review?(roc) → review+
Comment 7•14 years ago
|
||
Comment on attachment 431212 [details] [diff] [review] Restructure layers v2 >diff --git a/gfx/layers/Makefile.in b/gfx/layers/Makefile.in >--- a/gfx/layers/Makefile.in >+++ b/gfx/layers/Makefile.in >@@ -33,17 +33,20 @@ > # the provisions above, a recipient may use your version of this file under > # the terms of any one of the MPL, the GPL or the LGPL. > # > # ***** END LICENSE BLOCK ***** > > DEPTH = ../.. > topsrcdir = @top_srcdir@ > srcdir = @srcdir@ >-VPATH = @srcdir@ >+VPATH = \ >+ $(srcdir) \ >+ $(srcdir)/basic \ >+ $(NULL) Please use a two-space indent on the continuation lines.
Attachment #431212 -
Flags: review?(ted.mielczarek) → review+
Assignee | ||
Comment 8•14 years ago
|
||
Pushed http://hg.mozilla.org/mozilla-central/rev/fcd3ffeb34ef.
Comment 9•14 years ago
|
||
Is this fixed?
Assignee | ||
Comment 10•14 years ago
|
||
It is.
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•