SkFontMgr_android_factory.cpp 419 B

1234567891011121314151617
  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. #include "include/core/SkFontMgr.h"
  10. #include "include/ports/SkFontMgr_android.h"
  11. sk_sp<SkFontMgr> SkFontMgr::Factory() {
  12. return SkFontMgr_New_Android(nullptr);
  13. }
  14. #endif//defined(SK_BUILD_FOR_ANDROID)