Revert "[bazel] Add hide symbols from release / fast builds"

This reverts commit 6e4dea75e8.

Reason for revert: This is blocking HEAD import in Copybara.
Let's test this there first, then backport the change.

Original change's description:
> [bazel] Add hide symbols from release / fast builds
>
>
> Our gn build files hide non-exported symbols by default, which results
> in smaller binaries and can improve build times.
>
> This was not ported to the bazel build and causes binary size
> regressions in google 3.
>
> Change-Id: I285914b83e75bd3bf406e6401f52ddb53230219a
> Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3925698
> Commit-Queue: Camillo Bruni <cbruni@chromium.org>
> Reviewed-by: Patrick Thier <pthier@chromium.org>
> Cr-Commit-Position: refs/heads/main@{#83514}

Change-Id: I18561cfdd8a637c100be849c4d6a668c6f3b6080
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3971120
Reviewed-by: Patrick Thier <pthier@chromium.org>
Commit-Queue: Patrick Thier <pthier@chromium.org>
Auto-Submit: Victor Gomes <victorgomes@chromium.org>
Commit-Queue: Victor Gomes <victorgomes@chromium.org>
Cr-Commit-Position: refs/heads/main@{#83850}
This commit is contained in:
Victor Gomes 2022-10-21 12:18:34 +00:00 committed by V8 LUCI CQ
parent d4e517d6ba
commit 1c972cff76

View File

@ -151,14 +151,6 @@ def _default_args():
"-fno-integrated-as",
],
"//conditions:default": [],
}) + select({
"@v8//bazel/config:is_debug":[
"-fvisibility=default",
],
"//conditions:default": [
"-fvisibility=hidden",
"-fvisibility-inlines-hidden",
],
}),
includes = ["include"],
linkopts = select({