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 */ 7 #include "include/core/SkTypes.h" 8 #if defined(SK_BUILD_FOR_ANDROID) 9 10 #include "include/core/SkFontMgr.h" 11 #include "include/ports/SkFontMgr_android.h" 12 Factory()13sk_sp<SkFontMgr> SkFontMgr::Factory() { 14 return SkFontMgr_New_Android(nullptr); 15 } 16 17 #endif//defined(SK_BUILD_FOR_ANDROID) 18