Skip to content

bazel: Include debug info in Android release binary#2188

Merged
Augustyniak merged 1 commit intomainfrom
include-release-info
Apr 23, 2022
Merged

bazel: Include debug info in Android release binary#2188
Augustyniak merged 1 commit intomainfrom
include-release-info

Conversation

@Augustyniak
Copy link
Contributor

@Augustyniak Augustyniak commented Apr 22, 2022

Description: Include debug info in the Android release binary. This allows us to have an objdump file with all of the relevant symbols. The change is needed as we moved from symbol mapping table files to symbol mapping files in f955257
Risk Level: low, tooling only
Testing: N/A
Docs Changes: N/A
Release Notes: N/A

Signed-off-by: Rafal Augustyniak raugustyniak@lyft.com

@Augustyniak Augustyniak requested a review from keith April 22, 2022 19:54
@Augustyniak
Copy link
Contributor Author

this is increasing the size of objdump files 4x - from around 250MB to around 1GB.


# Exclude debug info from the release binary since it makes it too large to fit
# into a zip file. This shouldn't affect crash reports.
build:release-common --define=no_debug_info=1
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

need to change to use for ios but not both instead, because the download size is an issue otherwise

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, that makes sense

keith
keith previously approved these changes Apr 22, 2022
@jpsim
Copy link
Contributor

jpsim commented Apr 22, 2022

FYI we won't be able to deploy this to our apps until we merge #2186, or a different fix for that SIGABRT crash.

Signed-off-by: Rafal Augustyniak <raugustyniak@lyft.com>
@Augustyniak Augustyniak force-pushed the include-release-info branch from 28052ee to 81ee7f5 Compare April 22, 2022 21:57
@Augustyniak
Copy link
Contributor Author

@keith mind re-approving? I needed to fix some linter issues and force push to sign-off on my changes.

@Augustyniak Augustyniak changed the title bazel: Include debug info in the release binary bazel: Include debug info in Android release binary Apr 23, 2022
@Augustyniak Augustyniak merged commit 485f427 into main Apr 23, 2022
@Augustyniak Augustyniak deleted the include-release-info branch April 23, 2022 00:45
Augustyniak added a commit that referenced this pull request Apr 26, 2022
Description: Include debug info in the Android release binary. This allows us to have an objdump file with all of the relevant symbols. The change is needed as we moved from symbol mapping table files to symbol mapping files in f955257
Risk Level: low, tooling only
Testing: N/A
Docs Changes: N/A
Release Notes: N/A

Signed-off-by: Rafal Augustyniak raugustyniak@lyft.com
Augustyniak added a commit that referenced this pull request Apr 26, 2022
Augustyniak added a commit that referenced this pull request Apr 26, 2022
This reverts commit 485f427.

Signed-off-by: Rafal Augustyniak <raugustyniak@lyft.com>
Augustyniak added a commit that referenced this pull request Apr 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants