| Index: third_party/freetype2/BUILD.gn
|
| diff --git a/third_party/freetype2/BUILD.gn b/third_party/freetype2/BUILD.gn
|
| index 18ef5f5fe745e553d9ff3088291ec87306561b10..fe3d92154fa41862c2b9e90f152ffd903a04bf30 100644
|
| --- a/third_party/freetype2/BUILD.gn
|
| +++ b/third_party/freetype2/BUILD.gn
|
| @@ -5,7 +5,10 @@
|
| assert(is_linux, "This file should only be depended on from Linux.")
|
|
|
| config("freetype2_config") {
|
| - include_dirs = [ "include", "src/include" ]
|
| + include_dirs = [
|
| + "include",
|
| + "src/include",
|
| + ]
|
| }
|
|
|
| shared_library("freetype2") {
|
| @@ -56,7 +59,6 @@ shared_library("freetype2") {
|
| defines = [
|
| "FT_CONFIG_OPTION_SYSTEM_ZLIB",
|
| "FT2_BUILD_LIBRARY",
|
| -
|
| "FT_CONFIG_CONFIG_H=<ftconfig.h>", # See comments in README.chromium.
|
| "FT_CONFIG_MODULES_H=<ftmodule.h>", # See comments in README.chromium.
|
| ]
|
| @@ -64,7 +66,7 @@ shared_library("freetype2") {
|
| configs -= [ "//build/config/compiler:chromium_code" ]
|
| configs += [ "//build/config/compiler:no_chromium_code" ]
|
| configs += [ ":freetype2_config" ]
|
| -
|
| +
|
| public_configs = [ ":freetype2_config" ]
|
|
|
| libs = [ "z" ]
|
|
|