Closed Bug 328391 Opened 18 years ago Closed 18 years ago

.mar generation should package universal build when the build is universal

Categories

(Firefox Build System :: General, defect)

PowerPC
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mark, Assigned: mark)

References

Details

(Keywords: fixed1.8.0.2, fixed1.8.1, Whiteboard: [nvn-dl])

Attachments

(2 files)

I erroneously assumed that .mar generation was entirely out-of-process and relied on unpackaging.  I now see that's not the case.

When generating the complete .mar for a build that was universal, the universal build should be packaged into the .mar.  This is probably as simple as adding a check here:

http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/tools/update-packaging/Makefile.in&rev=1.7&mark=53#52

ifdef UNIVERSAL_BINARY
PACKAGE_DIR	= $(DIST)/universal/$(MOZ_PKG_APPNAME)/$(MOZ_APP_DISPLAYNAME).app
else
PACKAGE_DIR	= $(DIST)/$(MOZ_PKG_APPNAME)/$(MOZ_APP_DISPLAYNAME).app
endif

Are any other in-tree changes needed to support AUS?
Flags: blocking1.8.0.2?
This implements my proposed change, which works.
Attachment #212993 - Flags: review?(darin)
Attachment #212993 - Flags: review?(darin) → review+
Attachment #212993 - Flags: approval1.8.0.2?
Attachment #212993 - Flags: approval-branch-1.8.1+
Fixed on trunk.
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
This must be taken on the branch to produce .mar files for AUS in the universal universe.
Attachment #212993 - Flags: approval1.8.0.2?
Attachment #212993 - Flags: approval-branch-1.8.1+
Attached patch Branch versionSplinter Review
Checked in on MOZILLA_1_8_BRANCH.
Attachment #213075 - Flags: approval1.8.0.2?
Attachment #213075 - Flags: approval-branch-1.8.1+
Flags: blocking1.8.0.2? → blocking1.8.0.2+
Keywords: fixed1.8.1
Comment on attachment 213075 [details] [diff] [review]
Branch version

approved for 1.8.9 branch, a=dveditz for drivers
Attachment #213075 - Flags: approval1.8.0.2? → approval1.8.0.2+
I hope you don't mind that I checked it in on the 1.8.0 branch instead.
Keywords: fixed1.8.0.2
Whiteboard: [nvn-dl]
Blocks: 410627
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: