Skip to content

Commit

Permalink
Gate SK_FREETYPE_MINIMUM_RUNTIME_VERSION by use_system_freetype flag
Browse files Browse the repository at this point in the history
BUG=719345
R=bungeman

Review-Url: https://codereview.chromium.org/2876853004
Cr-Commit-Position: refs/heads/master@{#473117}
  • Loading branch information
drott authored and Commit bot committed May 19, 2017
1 parent fabad59 commit f677dc5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion skia/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
# found in the LICENSE file.

import("//build/config/features.gni")
import("//build/config/freetype/freetype.gni")
import("//build/config/ui.gni")
import("//build/config/sanitizers/sanitizers.gni")
import("//printing/features/features.gni")
Expand Down Expand Up @@ -53,7 +54,7 @@ config("skia_config") {
defines += [ "SK_HAS_JPEG_LIBRARY" ]
}

if (is_win || is_mac) {
if (!use_system_freetype) {
defines += [ "SK_FREETYPE_MINIMUM_RUNTIME_VERSION=(((FREETYPE_MAJOR) * 0x01000000) | ((FREETYPE_MINOR) * 0x00010000) | ((FREETYPE_PATCH) * 0x00000100))" ]
}

Expand Down

0 comments on commit f677dc5

Please sign in to comment.