aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party/icu
diff options
context:
space:
mode:
authorGravatar Ben Wagner <bungeman@google.com>2017-08-31 16:45:23 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-08-31 21:12:00 +0000
commitbe6ae5b3dae2de486b58ebae81a44e685affb91a (patch)
tree052e4de507a8080e0c3cc8af4ce24b1aea628259 /third_party/icu
parentc2ce091f2718bd734c13f93df1278cafb7a9e119 (diff)
Fix system icu build.
It turns out that Skia's gn 'system' and 'third_party' templates differ in the way public defines are declared. This also updates the build to add libdl when building SkOSLibrary_posix.cpp, since that uses dlsym. The current build depends on icu bringing in this dependency. BUG=skia:7008 Change-Id: Ia710a335e1da9580f85f133a5a171f640b36ee75 Reviewed-on: https://skia-review.googlesource.com/41745 Commit-Queue: Ben Wagner <bungeman@google.com> Reviewed-by: Yuqian Li <liyuqian@google.com>
Diffstat (limited to 'third_party/icu')
-rw-r--r--third_party/icu/BUILD.gn2
1 files changed, 1 insertions, 1 deletions
diff --git a/third_party/icu/BUILD.gn b/third_party/icu/BUILD.gn
index 0a1683e81f..68a5923cc6 100644
--- a/third_party/icu/BUILD.gn
+++ b/third_party/icu/BUILD.gn
@@ -12,7 +12,7 @@ import("../third_party.gni")
if (skia_use_system_icu) {
system("icu") {
libs = [ "icuuc" ]
- public_defines = [ "U_USING_ICU_NAMESPACE=0" ]
+ defines = [ "U_USING_ICU_NAMESPACE=0" ]
}
} else {
third_party("icu") {