bungeman | 77f85ad | 2015-06-17 12:07:10 -0700 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2015 Google Inc. |
| 3 | * |
| 4 | * Use of this source code is governed by a BSD-style license that can be |
| 5 | * found in the LICENSE file. |
| 6 | */ |
mtklein | 1ee7651 | 2015-11-02 10:20:27 -0800 | [diff] [blame] | 7 | #include "SkTypes.h" |
| 8 | #if defined(SK_BUILD_FOR_ANDROID) |
bungeman | 77f85ad | 2015-06-17 12:07:10 -0700 | [diff] [blame] | 9 | |
| 10 | #include "SkFontMgr.h" |
| 11 | #include "SkFontMgr_android.h" |
| 12 | |
Ben Wagner | 3546ff1 | 2017-01-03 13:32:36 -0500 | [diff] [blame] | 13 | sk_sp<SkFontMgr> SkFontMgr::Factory() { |
halcanary | 96fcdcc | 2015-08-27 07:41:13 -0700 | [diff] [blame] | 14 | return SkFontMgr_New_Android(nullptr); |
bungeman | 77f85ad | 2015-06-17 12:07:10 -0700 | [diff] [blame] | 15 | } |
mtklein | 1ee7651 | 2015-11-02 10:20:27 -0800 | [diff] [blame] | 16 | |
| 17 | #endif//defined(SK_BUILD_FOR_ANDROID) |