Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: Add ldflags "-s -w" when building aar #16644

Merged
merged 1 commit into from
May 2, 2018

Conversation

ligi
Copy link
Member

@ligi ligi commented May 2, 2018

Smaller size on mobile is always good.
Might also solve our maven central upload problem (#16433)
Reduces size from 41MB to 27MB

@GitCop
Copy link

GitCop commented May 2, 2018

Thank you for your contribution! Your commits seem to not adhere to the repository coding standards

  • Commit: 1373c9f72bd16c291528fac380eb9ff033b6430f
  • Commits must be prefixed with the package(s) they modify

Please check the contribution guidelines for more details.


This message was auto-generated by https://gitcop.com

@ligi ligi requested a review from karalabe May 2, 2018 09:10
@ligi ligi force-pushed the reduce_aar_size branch from 1373c9f to 09cbb0c Compare May 2, 2018 09:11
@ligi ligi changed the title Add ldflags "-s -w" when building aar mobile: Add ldflags "-s -w" when building aar May 2, 2018
Copy link
Member

@karalabe karalabe left a comment

Choose a reason for hiding this comment

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

Please add the same flag for iOS too.

@karalabe karalabe added this to the 1.8.7 milestone May 2, 2018
@karalabe
Copy link
Member

karalabe commented May 2, 2018

Also the change is against build, not mobile (commit message).

@ligi ligi force-pushed the reduce_aar_size branch 2 times, most recently from beb2764 to 879589d Compare May 2, 2018 09:20
Smaller size on mobile is always good.
Might also solve our maven central upload problem
@ligi ligi force-pushed the reduce_aar_size branch from 879589d to 58c4e03 Compare May 2, 2018 09:21
@ligi ligi changed the title mobile: Add ldflags "-s -w" when building aar build: Add ldflags "-s -w" when building aar May 2, 2018
Copy link
Member

@karalabe karalabe left a comment

Choose a reason for hiding this comment

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

LGTM

@karalabe karalabe merged commit 6a01363 into ethereum:master May 2, 2018
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