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

Issue 1682373003: Fix transitive dependency on generated header in Blink (Closed)

Created:
4 years, 10 months ago by blundell
Modified:
4 years, 10 months ago
Reviewers:
Nico
CC:
chromium-reviews, blink-reviews, kinuko+watch
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix transitive dependency on generated header in Blink FontDescription.h includes FontFamilyNames.h, which is a generated header. The "make_platform_generated" target that generates FontFamilyNames.h correctly specifies itself as a hard dependency, and the "blink_platform" target that builds FontDescription.* correctly depends on the former target. However, FontDescription.h is itself included in other blink_platform headers that are themselves included by files built as part of other targets (specifically, the "blink_platform_test_support" target). The blink_platform target thus needs to export the hard dependency on make_platform_generated onto its own dependents in order to avoid those dependents potentially being built before FontFamilyNames.h is generated. BUG=585386 Committed: https://crrev.com/c53644c354d0c5cce60f24ab11b0180cc555498c Cr-Commit-Position: refs/heads/master@{#374648}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -1 line) Patch
M third_party/WebKit/Source/platform/BUILD.gn View 2 chunks +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/blink_platform.gyp View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 9 (3 generated)
blundell
4 years, 10 months ago (2016-02-10 10:56:33 UTC) #2
Nico
lgtm, nice debugging! Is there a way to not include the generated header in a ...
4 years, 10 months ago (2016-02-10 12:36:06 UTC) #3
blundell
On 2016/02/10 12:36:06, Nico wrote: > lgtm, nice debugging! > > Is there a way ...
4 years, 10 months ago (2016-02-10 12:46:33 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1682373003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1682373003/1
4 years, 10 months ago (2016-02-10 12:46:56 UTC) #6
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 10 months ago (2016-02-10 12:51:10 UTC) #7
commit-bot: I haz the power
4 years, 10 months ago (2016-02-10 12:52:55 UTC) #9
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/c53644c354d0c5cce60f24ab11b0180cc555498c
Cr-Commit-Position: refs/heads/master@{#374648}

Powered by Google App Engine
This is Rietveld 408576698