Separate SkUnicode bazel source sets
Change-Id: I45cdf0e063ad7f2c21922f6d2fe156ef512ff72d
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/436569
Reviewed-by: Ben Wagner <bungeman@google.com>
Commit-Queue: Florin Malita <fmalita@google.com>
diff --git a/public.bzl b/public.bzl
index c418d99..c71a699 100644
--- a/public.bzl
+++ b/public.bzl
@@ -941,20 +941,25 @@
################################################################################
# Stubs, pending SkUnicode fission
-SKUNICODE_ICU_BUILTIN_SRCS = []
-SKUNICODE_ICU_RUNTIME_SRCS = []
+SKUNICODE_ICU_BUILTIN_SRCS = [
+ "modules/skunicode/include/SkUnicode.h",
+ "modules/skunicode/src/SkUnicode_icu.cpp",
+ "modules/skunicode/src/SkUnicode_icu.h",
+ "modules/skunicode/src/SkUnicode_icu_builtin.cpp",
+]
+
+SKUNICODE_ICU_RUNTIME_SRCS = [
+ "modules/skunicode/include/SkUnicode.h",
+ "modules/skunicode/src/SkUnicode_icu.cpp",
+ "modules/skunicode/src/SkUnicode_icu.h",
+ "modules/skunicode/src/SkUnicode_icu_runtime.cpp",
+]
SKSHAPER_HARFBUZZ_SRCS = [
"modules/skshaper/include/SkShaper.h",
"modules/skshaper/src/SkShaper.cpp",
"modules/skshaper/src/SkShaper_harfbuzz.cpp",
"modules/skshaper/src/SkShaper_primitive.cpp",
-
- # TODO: move over to SkUnicode source sets
- "modules/skunicode/include/SkUnicode.h",
- "modules/skunicode/src/SkUnicode_icu.cpp",
- "modules/skunicode/src/SkUnicode_icu.h",
- "modules/skunicode/src/SkUnicode_icu_builtin.cpp",
]
SKSHAPER_PRIMITIVE_SRCS = [