1 /* 2 * Copyright 2024 Google LLC 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 8 #ifndef SkUnicode_icu_DEFINED 9 #define SkUnicode_icu_DEFINED 10 11 #include "include/core/SkRefCnt.h" 12 #include "modules/skunicode/include/SkUnicode.h" 13 14 #ifdef ENABLE_DRAWING_ADAPTER 15 namespace SkiaRsText { 16 namespace SkUnicodes::ICU { 17 SKUNICODE_API sk_sp<SkUnicode> Make(); 18 } 19 } 20 namespace SkUnicodes::ICU { 21 using namespace SkiaRsText::SkUnicodes::ICU; 22 } 23 #else 24 namespace SkUnicodes::ICU { 25 SKUNICODE_API sk_sp<SkUnicode> Make(); 26 } 27 #endif 28 #endif //SkUnicode_icu_DEFINED 29