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

Unified Diff: third_party/freetype/BUILD.gn

Issue 2842513004: Move FreeType bundling on mac OS from PDFium up to Chrome (Closed)
Patch Set: Freetype as a general dependency in DEPS Created 3 years, 8 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 | « build_overrides/pdfium.gni ('k') | third_party/freetype/include/freetype-custom-config/ftoption.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/freetype/BUILD.gn
diff --git a/third_party/freetype/BUILD.gn b/third_party/freetype/BUILD.gn
index 070d5491544a9e3cec95153e5e82d656220170f1..facf28f4aade644081be69f0c3a8bc95af0bb575 100644
--- a/third_party/freetype/BUILD.gn
+++ b/third_party/freetype/BUILD.gn
@@ -87,6 +87,10 @@ component("freetype") {
sources += [ "src/src/base/ftsynth.c" ]
}
+ if (is_mac && !is_component_build) {
+ defines += [ "MAC_RESTRICT_VISIBILITY" ]
+ }
+
defines += [
"FT2_BUILD_LIBRARY",
"DARWIN_NO_CARBON",
« no previous file with comments | « build_overrides/pdfium.gni ('k') | third_party/freetype/include/freetype-custom-config/ftoption.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698