Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(223)

Issue 2863063003: Statically link own version of FreeType on Linux (Closed)

Created:
3 years, 7 months ago by drott
Modified:
3 years, 7 months ago
CC:
vapier, chromium-reviews, stevenjb
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Statically link own version of FreeType on Linux For color font support, CFF and CFF2 rasterization, and OpenType font variations, latest security fixes, Chrome needs an up-to-date version of FreeType (more details on the bug). Since distributions are too far behind in the shipped system FreeType versions, we need to start linking in our own copy. For distributions that build their own Chromium this CL introduces a switch use_system_freetype which can be used to keep the old linking configuration at the expense of risking introduction of text rendering and security regressions if the system FreeType is too old. BUG=274030 Review-Url: https://codereview.chromium.org/2863063003 Cr-Commit-Position: refs/heads/master@{#470097} Committed: https://chromium.googlesource.com/chromium/src/+/c15bda3bf4bbe231186176da9d809fed356f8cbf

Patch Set 1 #

Patch Set 2 : ChromeOS uses pkgconfig FreeType #

Total comments: 3

Patch Set 3 : Rely on ChromeOS using the use_system_freetype switch #

Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -9 lines) Patch
M build/config/freetype/BUILD.gn View 1 2 1 chunk +12 lines, -1 line 0 comments Download
M build/config/linux/pangocairo/BUILD.gn View 1 chunk +7 lines, -0 lines 0 comments Download
M build/linux/BUILD.gn View 1 1 chunk +2 lines, -1 line 0 comments Download
M third_party/freetype/README.chromium View 2 chunks +6 lines, -7 lines 0 comments Download

Messages

Total messages: 32 (18 generated)
drott
3 years, 7 months ago (2017-05-05 15:24:33 UTC) #6
bungeman-chromium
lgtm
3 years, 7 months ago (2017-05-05 15:57:05 UTC) #7
drott
On 2017/05/05 at 15:57:05, bungeman wrote: > lgtm Thanks for the quick review. I'll wait ...
3 years, 7 months ago (2017-05-05 16:00:37 UTC) #8
eae
LGTM
3 years, 7 months ago (2017-05-05 16:28:36 UTC) #11
Dirk Pranke
I'm not sure who we can get to update the chromeos ebuild configs these days; ...
3 years, 7 months ago (2017-05-05 16:37:19 UTC) #12
vapier
https://codereview.chromium.org/2863063003/diff/20001/build/config/freetype/BUILD.gn File build/config/freetype/BUILD.gn (right): https://codereview.chromium.org/2863063003/diff/20001/build/config/freetype/BUILD.gn#newcode19 build/config/freetype/BUILD.gn:19: if (is_chromeos || use_system_freetype) { we should just update ...
3 years, 7 months ago (2017-05-05 17:50:51 UTC) #16
Dirk Pranke
On 2017/05/05 17:50:51, vapier wrote: > https://codereview.chromium.org/2863063003/diff/20001/build/config/freetype/BUILD.gn > File build/config/freetype/BUILD.gn (right): > > https://codereview.chromium.org/2863063003/diff/20001/build/config/freetype/BUILD.gn#newcode19 > ...
3 years, 7 months ago (2017-05-05 19:46:22 UTC) #17
vapier
i've posted https://chromium-review.googlesource.com/497167 then for the CrOS side
3 years, 7 months ago (2017-05-05 19:53:19 UTC) #18
bungeman-chromium
https://codereview.chromium.org/2863063003/diff/20001/build/config/freetype/BUILD.gn File build/config/freetype/BUILD.gn (right): https://codereview.chromium.org/2863063003/diff/20001/build/config/freetype/BUILD.gn#newcode15 build/config/freetype/BUILD.gn:15: use_system_freetype = false Should this (or its negation) be ...
3 years, 7 months ago (2017-05-05 20:59:54 UTC) #19
drott
On 2017/05/05 at 19:53:19, vapier wrote: > i've posted https://chromium-review.googlesource.com/497167 then for the CrOS side ...
3 years, 7 months ago (2017-05-08 19:56:15 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2863063003/40001
3 years, 7 months ago (2017-05-08 19:57:13 UTC) #27
commit-bot: I haz the power
Committed patchset #3 (id:40001) as https://chromium.googlesource.com/chromium/src/+/c15bda3bf4bbe231186176da9d809fed356f8cbf
3 years, 7 months ago (2017-05-08 20:07:15 UTC) #30
Tom Anderson
A revert of this CL (patchset #3 id:40001) has been created in https://codereview.chromium.org/2868793004/ by thomasanderson@chromium.org. ...
3 years, 7 months ago (2017-05-08 22:17:41 UTC) #31
findit-for-me
3 years, 7 months ago (2017-05-09 04:21:43 UTC) #32
Message was sent while issue was closed.
Findit (https://goo.gl/kROfz5) confirmed this CL at revision 470097 as the
culprit for
failures in the build cycles as shown on:
https://findit-for-me.appspot.com/waterfall/culprit?key=ag9zfmZpbmRpdC1mb3Itb...

Powered by Google App Engine
This is Rietveld 408576698