diff options
-rw-r--r-- | BUILD.gn | 4 | ||||
-rw-r--r-- | pdfium.gyp | 5 | ||||
-rw-r--r-- | third_party/BUILD.gn | 1 |
3 files changed, 1 insertions, 9 deletions
@@ -43,10 +43,6 @@ config("pdfium_config") { "/wd4345", ] } - - if (bundle_freetype) { - defines += [ "FT2_BUILD_LIBRARY" ] - } } static_library("pdfium") { diff --git a/pdfium.gyp b/pdfium.gyp index 2b21e9d9aa..7b6ac0c094 100644 --- a/pdfium.gyp +++ b/pdfium.gyp @@ -23,11 +23,6 @@ ['pdf_use_skia==1', { 'defines': ['_SKIA_SUPPORT_'], }], - ['bundle_freetype==1', { - 'defines' : [ - 'FT2_BUILD_LIBRARY', - ], - }], ['OS=="linux"', { 'conditions': [ ['target_arch=="x64"', { diff --git a/third_party/BUILD.gn b/third_party/BUILD.gn index e6340c6401..df02938a93 100644 --- a/third_party/BUILD.gn +++ b/third_party/BUILD.gn @@ -36,6 +36,7 @@ static_library("freetype") { "//third_party/pdfium:pdfium_config", "//build/config/compiler:no_chromium_code", ] + defines = [ "FT2_BUILD_LIBRARY" ] sources = [ "freetype/include/freetype.h", "freetype/include/ft2build.h", |