Closed Bug 299186 Opened 19 years ago Closed 7 years ago

Add the possibility to build all compatible extensions for a product

Categories

(Firefox Build System :: General, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: whimboo, Unassigned)

References

Details

For the build process of all Mozilla products you are able to set the option
"--enable-extensions=" followed by a list of extensions. Normally only the
default extensions are build and enabled. Other extensions have to be added
manually to the list.

But what should be added, if the decission is to build all possible extensions?
Yes, there is a value "all", but it really builds *all* extensions. There is no
check if an extension is compatible with the to build product, e.g. Thunderbird
will break when trying to integrate the help extension (bug 298618).

There should be a flag for each extension, which enables/disables itself for any
product. On that way we could easily use "--enable-extensions=all" to build all
compatible extensions and don't have to worry about broken applications.

Proposed way:
- Add a file to each product directory which holds the list of compatible extensions
- Compare the enabled extensions by the configuration with that list
- Remove all incompatible extensions
- Build remaining extensions

I'm not a 'make' expert. So if I'm completly wrong, please help and submit
proposals.
Blocks: 298618
Blocks: 292904
Mass bug cleanup for Core:Build Config.

If you feel this bug has been closed in error, please re-open with new details.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INCOMPLETE
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.