Skip to content

Commit

Permalink
Prepare for |is_posix| switch in the Fuchsia build in freetype/
Browse files Browse the repository at this point in the history
|is_posix| will be switched to false for Fuchsia, this is a preliminary change.

Bug: 812974
Change-Id: I930c1866c1ee1121fc08720e94b3075b084ee250
Reviewed-on: https://chromium-review.googlesource.com/988795
Reviewed-by: Ben Wagner <bungeman@chromium.org>
Commit-Queue: Fabrice de Gans-Riberi <fdegans@chromium.org>
Cr-Commit-Position: refs/heads/master@{#548152}
  • Loading branch information
Steelskin authored and Commit Bot committed Apr 4, 2018
1 parent 974f7eb commit 021f627
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion third_party/freetype/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ source_set("freetype_source") {
# While Chromium itself avoids using this code, any build of Chromium which
# depends on //third_party/fontconfig:fontconfig with use_bundled_fontconfig
# will make heavy use of these implementations, so use the best available.
if (is_posix) {
if (is_posix || is_fuchsia) {
sources += [ "src/builds/unix/ftsystem.c" ]

# builds/unix/ftsystem.c directly includes <ftconfig.h> instead of using
Expand Down

0 comments on commit 021f627

Please sign in to comment.