Closed
Bug 838915
Opened 10 years ago
Closed 10 years ago
Add a JS_STANDALONE configure/make variable
Categories
(Firefox Build System :: General, defect)
Firefox Build System
General
Tracking
(firefox20 wontfix, firefox21 fixed, firefox-esr17 fixed)
RESOLVED
FIXED
mozilla21
People
(Reporter: ted, Assigned: glandium)
References
Details
Attachments
(1 file, 1 obsolete file)
1.36 KB,
patch
|
ted
:
review+
|
Details | Diff | Splinter Review |
We should have a configure/make variable that indicates whether Spidermonkey is being built standalone. I think we could just pass this down as =0 from the top-level configure, and default it to =1 if it's unset.
So, something alone the lines of this patch then? top-level configure or client.mk would need to gain an 'export MOZILLA_BUILD'
Assignee | ||
Comment 2•10 years ago
|
||
Comment on attachment 711221 [details] [diff] [review] JS_STANDALONE Review of attachment 711221 [details] [diff] [review]: ----------------------------------------------------------------- ::: js/src/Makefile.in @@ -37,4 @@ > SRCREL_ABI_VERSION := $(word 1,$(subst ., ,$(SRCREL_VERSION))) > > MODULE = js > -ifneq (,$(MOZILLA_OFFICIAL)) That comes from bug 812265, but the dependency is the other way around: the patch from bug 812265 will have to be rewritten after this one. ::: js/src/configure.in @@ +3924,5 @@ > + JS_STANDALONE=0 ) > +if test -n "$MOZILLA_BUILD"; then > + JS_STANDALONE=0 > +fi > +AC_DEFINE_UNQUOTED(JS_STANDALONE, $JS_STANDALONE) Since it's going to be used in Makefile.in, it's AC_SUBST ; and we don't need a full-fledged configure option for that.
Assignee | ||
Comment 3•10 years ago
|
||
Attachment #711225 -
Flags: review?(ted)
Assignee | ||
Updated•10 years ago
|
Assignee: ted → mh+mozilla
Assignee | ||
Updated•10 years ago
|
Attachment #711221 -
Attachment is obsolete: true
Reporter | ||
Comment 4•10 years ago
|
||
Comment on attachment 711221 [details] [diff] [review] JS_STANDALONE Pretty close, yeah. I wouldn't bother adding a configure argument though, we can just export JS_STANDALONE=0 from the top-level configure.
Reporter | ||
Comment 5•10 years ago
|
||
Comment on attachment 711225 [details] [diff] [review] Add a JS_STANDALONE configure/make variable Review of attachment 711225 [details] [diff] [review]: ----------------------------------------------------------------- Sold.
Attachment #711225 -
Flags: review?(ted) → review+
Assignee | ||
Comment 6•10 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/d17e8470d7d9
Comment 7•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/d17e8470d7d9
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla21
Comment 8•10 years ago
|
||
Comment on attachment 711225 [details] [diff] [review] Add a JS_STANDALONE configure/make variable [Approval Request Comment] If this is not a sec:{high,crit} bug, please state case for ESR consideration: Necessary for the mozjs17 standalone release of the JS engine. Defines JS_STANDALONE for a standalone release. Does not affect non-standalone builds. User impact if declined: The patch is necessary for the upcoming JS standalone release based on esr17. If declined, the patch will have to be carried separately from the main repository for the lifetime of mozjs17 support. Declining will also prevent Bug 812265 (proper library versioning) from landing on esr17. Fix Landed on Version: 21 Risk to taking this patch (and alternatives if risky): None. String or UUID changes made by this patch: None. See https://wiki.mozilla.org/Release_Management/ESR_Landing_Process for more info.
Attachment #711225 -
Flags: approval-mozilla-esr17?
Comment 9•10 years ago
|
||
Comment on attachment 711225 [details] [diff] [review] Add a JS_STANDALONE configure/make variable Basically a NPOTB change in support of external packages. Approving.
Attachment #711225 -
Flags: approval-mozilla-esr17? → approval-mozilla-esr17+
Updated•10 years ago
|
Updated•5 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•