Skip to content

Commit

Permalink
fix: linux compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
Danielku15 committed Aug 11, 2024
1 parent ac56328 commit 0aabeed
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions build/Build.LibSkia.cs
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,12 @@ partial class Build
newSources += " \"src/ports/SkTypeface_win_dw.h\",\n";
newSources += " ]\n";
newSources += " }\n";
newSources += " if (is_linux) {\n";
newSources += " public_deps = [ \"//third_party:fontconfig\" ]\n";
newSources += " sources += [\n";
newSources += " \"src/ports/SkFontMgr_fontconfig.cpp\",\n";
newSources += " ]\n";
newSources += " }\n";
newSources += " if (is_android) {\n";
newSources += " deps += [ \"//third_party/expat\" ]\n";
newSources += " sources += [\n";
Expand Down
Binary file modified test/test-data/reference/freetype.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 0aabeed

Please sign in to comment.