After PR 18825 we can easily "compute" the optional content groups, and can thus avoid tracking them manually.
export
license_header
pdf.scripting.js