Closed Bug 1676896 Opened 4 years ago Closed 3 years ago

Simplify rnp_symbols.py script dependencies

Categories

(Thunderbird :: Build Config, task)

Tracking

(thunderbird_esr78 wontfix)

RESOLVED FIXED
85 Branch
Tracking Status
thunderbird_esr78 --- wontfix

People

(Reporter: rjl, Assigned: rjl)

Details

Attachments

(1 file)

rnp_symbols.py has an external dependency on a few Python libraries that are available via PIP, but make the whole process a bit heavy as it's parsing the C header file and looking for functions to export.
The recently introduced RNP_API macro makes it much easier to identify what symbols should be exported from the final shared library. Let's remove the external C-parsing dependencies and stick to standard Python 3.

The recently added RNP_API macro makes it much easier to find the necessary functions to export
with a simple regex.

Status: NEW → ASSIGNED
Target Milestone: --- → 85 Branch

Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/fa31bff0bdda
Remove pycparser dependencies from rnp_symbols.py to make it more accessible. r=kaie

Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: