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

Issue 113203003: Fix Mac fontconfig build (Closed)

Created:
7 years ago by vandebo (ex-Chrome)
Modified:
6 years, 11 months ago
Reviewers:
bungeman-skia, epoger
CC:
skia-review_googlegroups.com, Lei Zhang
Base URL:
https://skia.googlesource.com/skia.git@noembed
Visibility:
Public.

Description

Fix Mac fontconfig build The Mac fontconfig just #defines the cache directory, which works fine if fontconfig never has to look up any fonts (the case until now). If it has to actually find fonts from the disk, the cache directory and config directory need to be properly defined as well as running fc-cache to populate the cache directory. Populating the cache directory can take some time, but should only happen on a clean build. To remove this extra time, we have to not build poppler on Mac, which can now be accomplished with GYP_DEFINES="skia_mac_poppler=0" Committed: http://code.google.com/p/skia/source/detail?r=12994

Patch Set 1 #

Patch Set 2 : checkpoint #

Patch Set 3 : checkpint #

Patch Set 4 : checkpoint #

Total comments: 31

Patch Set 5 : Address Comments #

Patch Set 6 : More Comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+174 lines, -367 lines) Patch
M gyp/common_variables.gypi View 1 2 3 4 5 2 chunks +6 lines, -0 lines 0 comments Download
M gyp/fontconfig.gyp View 1 2 3 4 3 chunks +103 lines, -4 lines 0 comments Download
M gyp/gm.gyp View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M third_party/fontconfig/README.chromium View 1 2 3 4 1 chunk +8 lines, -3 lines 0 comments Download
M third_party/fontconfig/config/mac/config.h View 1 2 1 chunk +0 lines, -358 lines 0 comments Download
A + third_party/fontconfig/config/mac/config.h.template View 1 2 3 2 chunks +5 lines, -1 line 0 comments Download
A third_party/fontconfig/process-template.py View 1 2 3 4 1 chunk +51 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
Lei Zhang
The defines section does not get path expansion. Try the approach in skia_gyp.diff in my ...
7 years ago (2013-12-18 09:06:23 UTC) #1
vandebo (ex-Chrome)
7 years ago (2013-12-19 22:24:46 UTC) #2
vandebo (ex-Chrome)
ping
6 years, 11 months ago (2014-01-06 21:39:04 UTC) #3
bungeman-skia
A few comments. I think epoger had some thoughts about this. While this looks pretty ...
6 years, 11 months ago (2014-01-07 21:13:29 UTC) #4
epoger
https://codereview.chromium.org/113203003/diff/60001/gyp/common_variables.gypi File gyp/common_variables.gypi (right): https://codereview.chromium.org/113203003/diff/60001/gyp/common_variables.gypi#newcode3 gyp/common_variables.gypi:3: # Use of this source code is governed by ...
6 years, 11 months ago (2014-01-08 19:40:22 UTC) #5
vandebo (ex-Chrome)
https://codereview.chromium.org/113203003/diff/60001/gyp/common_variables.gypi File gyp/common_variables.gypi (right): https://codereview.chromium.org/113203003/diff/60001/gyp/common_variables.gypi#newcode3 gyp/common_variables.gypi:3: # Use of this source code is governed by ...
6 years, 11 months ago (2014-01-08 21:24:15 UTC) #6
epoger
Looks pretty good to me, a couple of lingering questions. https://codereview.chromium.org/113203003/diff/60001/gyp/fontconfig.gyp File gyp/fontconfig.gyp (right): https://codereview.chromium.org/113203003/diff/60001/gyp/fontconfig.gyp#newcode17 ...
6 years, 11 months ago (2014-01-08 21:38:12 UTC) #7
vandebo (ex-Chrome)
https://codereview.chromium.org/113203003/diff/60001/gyp/fontconfig.gyp File gyp/fontconfig.gyp (right): https://codereview.chromium.org/113203003/diff/60001/gyp/fontconfig.gyp#newcode17 gyp/fontconfig.gyp:17: 'dependencies': [ On 2014/01/08 21:38:12, epoger wrote: > On ...
6 years, 11 months ago (2014-01-08 22:08:18 UTC) #8
epoger
lgtm https://codereview.chromium.org/113203003/diff/60001/gyp/fontconfig.gyp File gyp/fontconfig.gyp (right): https://codereview.chromium.org/113203003/diff/60001/gyp/fontconfig.gyp#newcode17 gyp/fontconfig.gyp:17: 'dependencies': [ On 2014/01/08 22:08:18, vandebo wrote: > ...
6 years, 11 months ago (2014-01-09 15:22:31 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/vandebo@chromium.org/113203003/260001
6 years, 11 months ago (2014-01-09 17:06:35 UTC) #10
commit-bot: I haz the power
Change committed as 12994
6 years, 11 months ago (2014-01-09 17:37:43 UTC) #11
vandebo (ex-Chrome)
6 years, 11 months ago (2014-01-09 17:52:43 UTC) #12
Message was sent while issue was closed.
A revert of this CL has been created in
https://codereview.chromium.org/132093003/ by vandebo@chromium.org.

The reason for reverting is: Broken under XCode..

Powered by Google App Engine
This is Rietveld 408576698