Closed Bug 70161 Opened 25 years ago Closed 24 years ago

hook extensions/inspector into the Mac build

Categories

(Core :: DOM: Core & HTML, defect)

PowerPC
All
defect
Not set
normal

Tracking

()

VERIFIED FIXED

People

(Reporter: scc, Assigned: hewitt)

Details

Attachments

(6 files)

No description provided.
OK, I checked in a couple of mac projects and the associated prefixes and manifests. Didn't add it to the build, as we'll want smfr's advice on how to make it optional. Still need to add optimized libraries to match the debug ones...
To add an option to the build: 1. Add your new option to mozilla/build/mac/build_scripts/MozillaBuildFlags.txt, in the 'options_flags' group. The value there sets the default (on or off). 2. Test your option in the main script (e.g. $main::options{mathml}) to determine whether to build projects/manifests. 3. Inform users that they can turn the option on by setting options foobar 1 in their build prefs.
Ugh, these project files are really broken. I've made new ones, will attach them to the bug tomorrow, together with the necesary build script changes.
I've attached the changes I had to make for getting Document Inspector building and working on Mac. I have moved the .rdf files from the chrome dir to the res dir, because it's much easier to find the files there from JS (the hack that was used to find them in the chrome dir didn't work for Mac). So http://bugzilla.mozilla.org/showattachment.cgi?attach_id=26692 will need to be reviewed on other platforms too.
Wow, thanks for helping, Peter! I'll review these changes this weekend on windows and linux.
Status: NEW → ASSIGNED
Everything seems to work fine on Windows after the source changes. I'll check all this stuff in this weekend after I finish making some other changes I'm working on.
I see that peterv has already landed all this
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Nope, I didn't. These still need to go in (you wrote you were going to do that): mozilla/extensions/inspector/resources/content/MANIFEST mozilla/extensions/inspector/resources/content/prefs/MANIFEST Patch to Document Inspector source files I think I'll also need to update the IDL project file, but I'll check. Please check in these files and then we can finally close the bug :-).
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Status: REOPENED → ASSIGNED
Ok, I just landed all the necessary stuff to make inspector build on mac. I have tested it with a debug build, but not optimized since my mac always runs out of memory when I try to do that. Peterv, can you verify this for me?
Just checked in a new version of the InspectorIDL.mcp project to fix the wrong output path for the headers. Inspector build, I haven't tried it out yet but marking this fixed and then verified.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago24 years ago
Resolution: --- → FIXED
Verified.
Status: RESOLVED → VERIFIED
QA Contact: nobody → ian
Component: DOM: Mozilla Extensions → DOM
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: