Closed Bug 920640 Opened 11 years ago Closed 11 years ago

mozinfo.json has crashreporter: false

Categories

(Firefox Build System :: General, defect)

defect
Not set
normal

Tracking

(firefox24 unaffected, firefox25 affected, firefox26 affected, firefox27 affected)

RESOLVED FIXED
mozilla27
Tracking Status
firefox24 --- unaffected
firefox25 --- affected
firefox26 --- affected
firefox27 --- affected

People

(Reporter: ted, Assigned: ted)

References

Details

Attachments

(1 file)

Also plausible: bug 902619.
I was wrong, this was from bug 895253, which means it's broken in Firefox 25. :-/ $ grep ^MOZ_CRASHREPORTER ../debug-mozilla-central/config/autoconf.mk MOZ_CRASHREPORTER = F http://mxr.mozilla.org/mozilla-central/source/python/mozbuild/mozbuild/mozinfo.py#76 d['crashreporter'] = substs.get('MOZ_CRASHREPORTER') == '1'
Blocks: 895253
OS: Mac OS X → All
Hardware: x86_64 → All
Summary: OS X mozinfo.json has crashreporter: false → mozinfo.json has crashreporter: false
Version: 22 Branch → Trunk
:-/ At least the patch is small.
Attachment #810062 - Flags: review?(gps)
Assignee: nobody → ted
Comment on attachment 810062 [details] [diff] [review] fix crashreporter key in mozinfo.json when --enable-crashreporter is specified Review of attachment 810062 [details] [diff] [review]: ----------------------------------------------------------------- ::: python/mozbuild/mozbuild/mozinfo.py @@ +72,5 @@ > d["bits"] = 32 > # other CPUs will wind up with unknown bits > > d['debug'] = substs.get('MOZ_DEBUG') == '1' > + d['crashreporter'] = substs.get('MOZ_CRASHREPORTER') != '' bool() can take a string argument and does the right thing.
Attachment #810062 - Flags: review?(gps) → review+
Pushed this to try just to sanity check that we didn't break any crashreporter tests in the interim: https://tbpl.mozilla.org/?tree=Try&rev=d48d7ac7a4d0
That's a messy Try run, but apparently Inbound was a mess at the time. Doesn't look like we have any busted crashreporter tests (thankfully).
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla27
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: