aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party/icu
diff options
context:
space:
mode:
authorGravatar Hal Canary <halcanary@google.com>2018-02-08 15:16:28 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-02-12 15:51:01 +0000
commit8bb40837da773570ac80037405b8499e9f43e01d (patch)
treefae168fd88dff7565b115a35f96e38c9c794e62c /third_party/icu
parente1a75ac27ed96f9ea42cf4b8cf0129d203f43d13 (diff)
Build ICU on iOS
Change-Id: Idc6d5ed987540bc41d64ceab87af103591dc1911 Reviewed-on: https://skia-review.googlesource.com/105800 Reviewed-by: Ben Wagner <bungeman@google.com> Commit-Queue: Hal Canary <halcanary@google.com>
Diffstat (limited to 'third_party/icu')
-rw-r--r--third_party/icu/BUILD.gn6
1 files changed, 5 insertions, 1 deletions
diff --git a/third_party/icu/BUILD.gn b/third_party/icu/BUILD.gn
index 6b2482f2fb..7233fcc4c9 100644
--- a/third_party/icu/BUILD.gn
+++ b/third_party/icu/BUILD.gn
@@ -221,7 +221,11 @@ if (skia_use_system_icu) {
libs = [ "Advapi32.lib" ]
sources += [ "../externals/icu/source/stubdata/stubdata.c" ]
} else {
- sources += [ "../externals/icu/$current_os/icudtl_dat.S" ]
+ if (is_ios) {
+ sources += [ "../externals/icu/mac/icudtl_dat.S" ]
+ } else {
+ sources += [ "../externals/icu/$current_os/icudtl_dat.S" ]
+ }
libs = [ "dl" ]
}
}