aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Mike Klein <mtklein@chromium.org>2017-03-28 14:16:22 -0400
committerGravatar Mike Klein <mtklein@chromium.org>2017-03-28 18:37:09 +0000
commit8cb66485e54feefe499cae182edd3ef70130dfb1 (patch)
tree5deeb44334c36ef064d0649579246afc3e23a355
parent2041e44c3d60af2868c5070a62d3f8ddf1fa8006 (diff)
turn on hidden visibility flags on iOS
These new images came up when I turned them off the other day: eec23d113149569414e325ac6fd5a9253945628b&fdiffmax=-1&fref=false&frgbamax=-1&head=true&include=false&limit=50&match=gamma_correct&match=name&metric=combined&neg=false&pos=false&query=source_type%3Dgm&sort=desc&unt=true">https://gold.skia.org/search?blame=eec23d113149569414e325ac6fd5a9253945628b&fdiffmax=-1&fref=false&frgbamax=-1&head=true&include=false&limit=50&match=gamma_correct&match=name&metric=combined&neg=false&pos=false&query=source_type%3Dgm&sort=desc&unt=true Some sort of ODR problem? :/ Change-Id: I9b2575948c3bd5710476e6501e8ec27933c277f6 Reviewed-on: https://skia-review.googlesource.com/10287 Reviewed-by: Ben Wagner <bungeman@google.com> Commit-Queue: Mike Klein <mtklein@chromium.org>
-rw-r--r--gn/BUILD.gn2
1 files changed, 1 insertions, 1 deletions
diff --git a/gn/BUILD.gn b/gn/BUILD.gn
index 3573740f99..07a57aafbd 100644
--- a/gn/BUILD.gn
+++ b/gn/BUILD.gn
@@ -156,7 +156,7 @@ config("default") {
# The main idea is to slim the exported API, but these flags also improve link time on Mac.
# These would make stack traces worse on Linux, so we don't just set them willy-nilly.
- if (is_component_build || is_mac) {
+ if (is_component_build || is_ios || is_mac) {
cflags += [ "-fvisibility=hidden" ]
cflags_cc += [ "-fvisibility-inlines-hidden" ]
}