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

Issue 1862893002: Rework how use_system_harfbuzz works a bit. (Closed)

Created:
4 years, 8 months ago by Dirk Pranke
Modified:
4 years, 8 months ago
Reviewers:
Lei Zhang, drott, behdad
CC:
chromium-reviews, Nico
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Rework how use_system_harfbuzz works a bit. We want 'use_system_harfbuzz' to always be false unless you are building against a real ChromeOS sysroot targeted for an actual device (i.e., just building with chromeos=1 isn't good enough). This CL changes the defaults for the variables and fixes a few unnecessary dependencies in the pangocairo pkg-config settings in GYP that were causing us to get strange linker errors. With this change, CrOS builds will need to explicitly set use_system_harfbuzz=true, we will no longer try to guess whether to use it or not. R=drott@chromium.org, behdad@chromium.org BUG=589342 Committed: https://crrev.com/518b35929ff33d0dc2397a186eecbc3b536acb40 Cr-Commit-Position: refs/heads/master@{#385487}

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -36 lines) Patch
M build/linux/system.gyp View 1 chunk +6 lines, -6 lines 0 comments Download
M third_party/harfbuzz-ng/BUILD.gn View 1 chunk +6 lines, -19 lines 1 comment Download
M third_party/harfbuzz-ng/harfbuzz.gyp View 1 chunk +6 lines, -11 lines 0 comments Download

Messages

Total messages: 19 (5 generated)
Dirk Pranke
I think this is good to go. Let's see what the bots think. This is ...
4 years, 8 months ago (2016-04-06 00:50:02 UTC) #1
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1862893002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1862893002/1
4 years, 8 months ago (2016-04-06 00:50:38 UTC) #3
drott
\o/ Thank you! > This CL changes the defaults for the variables and fixes a ...
4 years, 8 months ago (2016-04-06 01:06:57 UTC) #4
Dirk Pranke
On 2016/04/06 01:06:57, drott wrote: > \o/ Thank you! > > > This CL changes ...
4 years, 8 months ago (2016-04-06 01:38:25 UTC) #5
Dirk Pranke
@thestig, maybe you should also sanity-check me re: pangoft2 as well ...
4 years, 8 months ago (2016-04-06 01:38:57 UTC) #7
drott
> @drott, do you happen to have a cros checkout that you can use to ...
4 years, 8 months ago (2016-04-06 02:36:31 UTC) #8
drott
> > Or would we leave this to those handling the CrOS "real" build? > ...
4 years, 8 months ago (2016-04-06 02:57:11 UTC) #9
behdad
lgtm I don't claim to fully understand how this works, but from reading the change, ...
4 years, 8 months ago (2016-04-06 02:57:25 UTC) #10
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_asan_rel_ng on tryserver.chromium.linux (JOB_TIMED_OUT, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel_ng/builds/141239) linux_chromium_rel_ng on ...
4 years, 8 months ago (2016-04-06 06:51:55 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1862893002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1862893002/1
4 years, 8 months ago (2016-04-06 15:35:42 UTC) #14
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 8 months ago (2016-04-06 17:05:23 UTC) #15
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/518b35929ff33d0dc2397a186eecbc3b536acb40 Cr-Commit-Position: refs/heads/master@{#385487}
4 years, 8 months ago (2016-04-06 17:06:44 UTC) #17
Lei Zhang
Late to the party... https://codereview.chromium.org/1862893002/diff/1/third_party/harfbuzz-ng/BUILD.gn File third_party/harfbuzz-ng/BUILD.gn (right): https://codereview.chromium.org/1862893002/diff/1/third_party/harfbuzz-ng/BUILD.gn#newcode10 third_party/harfbuzz-ng/BUILD.gn:10: # Blink uses a cutting-edge ...
4 years, 8 months ago (2016-04-06 23:35:08 UTC) #18
behdad
4 years, 8 months ago (2016-04-07 00:48:02 UTC) #19
Message was sent while issue was closed.
On 2016/04/06 23:35:08, Lei Zhang wrote:
> Both distros have libpangoft2-1.0-0 1.36.x. Is that new enough?

About once a quarter, I (HarfBuzz developer) and Emil or Dominik (Blink text
developers) sit down in a room for three days, trying to fix things in the
Chrome+HarfBuzz integration layer.  Many times, this requires new API or
bugfixes in HarfBuzz.  While there, I make the HarfBuzz changes, and we need to
be able to use it in Blink immediately.  So, no, even a six-month-old distro is
not going to be recent-enough.  It's not feasible to make the HarfBuzz change,
then wait a year for distros to catch up before using it in Blink.

Powered by Google App Engine
This is Rietveld 408576698