Closed Bug 1568729 Opened 6 years ago Closed 6 years ago

Teach Codegen.py about the new static prefs file headers

Categories

(Core :: DOM: Bindings (WebIDL), task)

task
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla70
Tracking Status
firefox70 --- fixed

People

(Reporter: n.nethercote, Assigned: bzbarsky)

Details

Attachments

(2 files)

Bug 1563139 will split StaticPrefs.h into lots of pieces: StaticPrefs_dom.h, StaticPrefs_gfx.h, etc. This will greatly reduce the amount of recompilation required every time a static pref is added or changed.

However, I decided that updating Codegen.py to take advantage of the new split headers could be deferred to a follow-up. When bug 1563139 lands, Codegen.py will generate code that uses the new StaticPrefsAll.h file, which includes every StaticPrefs_*.h file. It should be changed to generate code that only uses the required StaticPrefs_*.h files. This will minimize the amount of recompilation done for DOM bindings files when a static pref is added or changed.

Assignee: nobody → bzbarsky
Pushed by bzbarsky@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/8954a9b7f486 Only include the static pref headers we really need in binding code. r=peterv
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla70
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: