Import some old Skia code into gfx/2d (licensing concerns)

RESOLVED FIXED

Status

mozilla.org
Licensing
RESOLVED FIXED
4 years ago
4 years ago

People

(Reporter: gw280, Assigned: gerv)

Tracking

Details

The code in question was removed from Skia a short while ago, but we still need it, so I've re-imported it directly into our tree (in gfx/2d) in the patch reviewed here: https://bugzilla.mozilla.org/show_bug.cgi?id=1017113#c20

Can you let me know if there's anything I need to do from a licensing perspective? The mini copyright header that's in that patch is lifted directly from the file that the code was in before it was removed upstream.
(Assignee)

Comment 1

4 years ago
You should include a full copy of the Skia BSD header instead of the mini header. AIUI, it's this one:
https://skia.googlesource.com/skia/+/master/LICENSE

I know it's long-winded.

So start with something like:

/* The following function was imported from Skia, which is under the following license: */

And end the imported code section with something like:

/* End of code imported from Skia */

Gerv
(Assignee)

Comment 2

4 years ago
Let me know if you need more, otherwise you can resolve this FIXED.

Gerv
That's great. Thanks.
Status: NEW → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.