Split SkFontConfigInterface globals and factory.
authorbungeman <bungeman@google.com>
Mon, 19 Sep 2016 19:13:16 +0000 (12:13 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 19 Sep 2016 19:13:16 +0000 (12:13 -0700)
commit1ae0e01accbca4b96a10b8a8c21917dd7bf27dc3
tree61601c7afe04b356d2117fd2b00fd25faa01917b
parent0262b5c1a0ab704e42d367b070a09bb83188d983
Split SkFontConfigInterface globals and factory.

Chromium needs to be able to set up their build such that the globals
continue existing but the SkFontMgr::Factory can be defined separately.

GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2346333002
CQ_INCLUDE_TRYBOTS=master.client.skia.compile:Build-Ubuntu-GCC-x86_64-Release-CMake-Trybot,Build-Mac-Clang-x86_64-Release-CMake-Trybot

Review-Url: https://codereview.chromium.org/2346333002
BUILD.gn
cmake/CMakeLists.txt
gyp/ports.gyp
include/ports/SkFontConfigInterface.h
include/ports/SkFontMgr_FontConfigInterface.h [new file with mode: 0644]
src/ports/SkFontConfigInterface.cpp [new file with mode: 0644]
src/ports/SkFontConfigTypeface.h
src/ports/SkFontMgr_FontConfigInterface.cpp
src/ports/SkFontMgr_FontConfigInterface_factory.cpp