diff options
-rw-r--r-- | third_party/BUILD.gn | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/third_party/BUILD.gn b/third_party/BUILD.gn index c270a1063a..7730212c75 100644 --- a/third_party/BUILD.gn +++ b/third_party/BUILD.gn @@ -64,8 +64,11 @@ if (pdf_bundle_freetype) { "//third_party/freetype/src/include", ] defines = [ - "FT_CONFIG_MODULES_H=<freetype-custom-config/ftmodule.h>", - "FT_CONFIG_OPTIONS_H=<freetype-custom-config/ftoption.h>", + # GN currently does not escape '<' and '>' when generating xml based + # Visual Studio project files. As a result, use quotes instead of pointy + # brackets in these defines. + "FT_CONFIG_MODULES_H=\"freetype-custom-config/ftmodule.h\"", + "FT_CONFIG_OPTIONS_H=\"freetype-custom-config/ftoption.h\"", ] } |