Closed Bug 219362 Opened 21 years ago Closed 21 years ago

make chrome target recursive

Categories

(SeaMonkey :: Build Config, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla1.6alpha

People

(Reporter: benjamin, Assigned: benjamin)

Details

Attachments

(1 file, 1 obsolete file)

Sometimes I need to rebuild just chrome, recursively through the entire tree. A
simple "chrome-recurse" target makes this pretty simple.
Attachment #131554 - Flags: review?(bryner)
Comment on attachment 131554 [details] [diff] [review]
add chrome-recurse Makefile target

i'm thinking we should just change 'make chrome' to do this, rather than adding
a new target
Comment on attachment 131554 [details] [diff] [review]
add chrome-recurse Makefile target

bryner: several people on #mozilla expressed reservations about making the
chrome target recursive by default... I don't know why, precisely.

Also, this needs to be LOOP_OVER_MOZ_DIRS, which I have fixed in my local tree.
hm... I would prefer if "make chrome" wasn't recursive, to make it faster.
Comment on attachment 131554 [details] [diff] [review]
add chrome-recurse Makefile target

All of our other targets are recursive, I don't see why 'chrome' should be any
different.
OK, then. This makes the "chrome" target recursive by default. If you don't
want the recursive behavior you can use the "realchrome" target.
Attachment #131554 - Attachment is obsolete: true
Attachment #133000 - Flags: review?(bryner)
Attachment #131554 - Flags: review?(bryner)
Summary: add "chrome-recurse" target → make chrome target recursive
Target Milestone: --- → mozilla1.6alpha
Attachment #133000 - Flags: review?(bryner) → review+
Comment on attachment 133000 [details] [diff] [review]
make chrome target recursive

The chrome target needs to explicitly call |$(MAKE) realchrome| otherwise you
could run into a race condition in parallel builds. 
http://bonsai.mozilla.org/cvslog.cgi?file=mozilla/config/rules.mk&rev=3.357#3.2
76
fixed-on-trunk with corrections by cls
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: