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

Unified Diff: skia/BUILD.gn

Issue 2876853004: Gate SK_FREETYPE_MINIMUM_RUNTIME_VERSION by use_system_freetype flag (Closed)
Patch Set: Rebased Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: skia/BUILD.gn
diff --git a/skia/BUILD.gn b/skia/BUILD.gn
index 9d39d53868cdd53ffaffc7620f9ef0cf72fbc13d..e81669334e41b72af9eaca8ae1ccc09c33e412f5 100644
--- a/skia/BUILD.gn
+++ b/skia/BUILD.gn
@@ -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")
@@ -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))" ]
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698