Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(204)

Issue 1514423003: Don't set -fvisibility=hidden for iOS Debug. (Closed)

Created:
5 years ago by baxley
Modified:
4 years, 7 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Don't set -fvisibility=hidden for iOS Debug. Remove -fvisibility=hidden for Debug configuration on iOS at the top level (e.g. common.gypi), so we don't remove symbols from dependencies. BUG=569073

Patch Set 1 #

Total comments: 2

Patch Set 2 : update gn #

Total comments: 2

Patch Set 3 : update gn files #

Patch Set 4 : put blank line back in #

Patch Set 5 : rebase #

Total comments: 1

Patch Set 6 : combine fvisibility configs #

Patch Set 7 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -1 line) Patch
M build/config/gcc/BUILD.gn View 1 2 3 4 5 6 1 chunk +8 lines, -1 line 0 comments Download

Messages

Total messages: 27 (10 generated)
baxley
dpranke@ - Could you advise on where in GN I could make a change analogous ...
5 years ago (2015-12-11 17:28:30 UTC) #2
Dirk Pranke
On 2015/12/11 17:28:30, baxley wrote: > dpranke@ - Could you advise on where in GN ...
5 years ago (2015-12-11 23:16:36 UTC) #3
Dirk Pranke
https://codereview.chromium.org/1514423003/diff/1/build/common.gypi File build/common.gypi (right): https://codereview.chromium.org/1514423003/diff/1/build/common.gypi#newcode5158 build/common.gypi:5158: '-Wno-shorten-64-to-32', GN will only support ninja, so maybe this ...
5 years ago (2015-12-11 23:20:06 UTC) #4
baxley
Thanks for the pointer! Are you an appropriate reviewer for this? or should I send ...
5 years ago (2015-12-12 00:33:21 UTC) #5
Dirk Pranke
Yes, I can review this, but brettw@ needs to review the change to BUILDCONFIG.gn as ...
5 years ago (2015-12-12 00:38:29 UTC) #7
brettw
https://codereview.chromium.org/1514423003/diff/20001/build/config/BUILDCONFIG.gn File build/config/BUILDCONFIG.gn (right): https://codereview.chromium.org/1514423003/diff/20001/build/config/BUILDCONFIG.gn#newcode480 build/config/BUILDCONFIG.gn:480: [ "//build/config/gcc:symbol_visibility_hidden" ] Let's do this: make a new ...
5 years ago (2015-12-12 23:53:18 UTC) #8
baxley
Comments addressed. Let me know if anything doesn't look right or if there are any ...
5 years ago (2015-12-14 18:46:52 UTC) #9
brettw
lgtm
5 years ago (2015-12-14 22:30:05 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1514423003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1514423003/60001
5 years ago (2015-12-14 22:44:06 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator_ninja/builds/107757) ios_rel_device_ninja on tryserver.chromium.mac (JOB_FAILED, ...
5 years ago (2015-12-14 22:51:26 UTC) #15
bm386100
5 years ago (2015-12-15 00:43:28 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1514423003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1514423003/80001
5 years ago (2015-12-15 15:05:20 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_compile_dbg_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_compile_dbg_ng/builds/27466) linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, ...
5 years ago (2015-12-15 15:17:23 UTC) #22
baxley
Hi Brett, There was a problem with transitive configs not being able to be removed. ...
5 years ago (2015-12-15 19:23:05 UTC) #23
baxley
On 2015/12/15 19:23:05, baxley wrote: > Hi Brett, > > There was a problem with ...
5 years ago (2015-12-17 15:16:47 UTC) #24
sdefresne
https://codereview.chromium.org/1514423003/diff/80001/build/config/gcc/BUILD.gn File build/config/gcc/BUILD.gn (right): https://codereview.chromium.org/1514423003/diff/80001/build/config/gcc/BUILD.gn#newcode10 build/config/gcc/BUILD.gn:10: # which functiosn we want to export from components. ...
4 years, 11 months ago (2016-01-07 11:12:03 UTC) #25
baxley
4 years, 9 months ago (2016-03-18 22:07:28 UTC) #27
Sylvain,

I want to revisit this to make sure gn is working for iOS tests (I didn't
forget).

Patch 3 was the preferred approach, but has issues with other code needing to
know whether it should remove the config "default_symbol_visibility" or
"symbol_visibility_hidden".

The latest patch simply never adds -fvisilibity=hidden for iOS debug within
config("symbol_visibility_hidden").


Let me know if you have any thoughts, or you want me to make this a new CL, the
initial gyp portion was landed separately.

Powered by Google App Engine
This is Rietveld 408576698