diff options
author | agl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-17 00:47:13 +0000 |
---|---|---|
committer | agl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-17 00:47:13 +0000 |
commit | e409f11ce4394366cef8fa3b3b3af6d1cfb6a86f (patch) | |
tree | 0a5e4a631060ce868b672758db26f74072e101a8 /skia | |
parent | ce112b97d7fb2b0c23d1e8f5285b031588508983 (diff) | |
download | chromium_src-e409f11ce4394366cef8fa3b3b3af6d1cfb6a86f.zip chromium_src-e409f11ce4394366cef8fa3b3b3af6d1cfb6a86f.tar.gz chromium_src-e409f11ce4394366cef8fa3b3b3af6d1cfb6a86f.tar.bz2 |
Linux: reference Freetype headers by name.
When build tools chase down the headers, they cannot process headers
that are included by macro. Thus, we include the headers by name in an
#if 0 block. The compiler will ignore them, but
tools will still process them.
Review URL: http://codereview.chromium.org/42269
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11814 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'skia')
-rw-r--r-- | skia/ports/SkFontHost_FreeType.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/skia/ports/SkFontHost_FreeType.cpp b/skia/ports/SkFontHost_FreeType.cpp index 3ad4a65..94bbf2b 100644 --- a/skia/ports/SkFontHost_FreeType.cpp +++ b/skia/ports/SkFontHost_FreeType.cpp @@ -36,6 +36,15 @@ #include FT_ADVANCES_H #endif +#if 0 +// Also include the files by name for build tools which require this. +#include <freetype/freetype.h> +#include <freetype/ftoutln.h> +#include <freetype/ftsizes.h> +#include <freetype/tttables.h> +#include <freetype/ftadvanc.h> +#endif + //#define ENABLE_GLYPH_SPEW // for tracing calls //#define DUMP_STRIKE_CREATION |