Skip to content

Shrink release Tizen shared libraries - #197

Open
JSUYA wants to merge 1 commit into
flutter-tizen:mainfrom
JSUYA:shrick_release_so
Open

Shrink release Tizen shared libraries#197
JSUYA wants to merge 1 commit into
flutter-tizen:mainfrom
JSUYA:shrick_release_so

Conversation

@JSUYA

@JSUYA JSUYA commented Aug 31, 2026

Copy link
Copy Markdown
Member

Apply -Os, full LTO, lld, and llvm-ar only to optimized release builds. Keep debug on -O0 and the target GNU ar. Add a use_lto GN arg (tools/gn --no-lto) to rule out LTO when bisecting release-only issues.

Measured on stripped libflutter_tizen_common.so:

  • arm (Tizen 6.5): 572,080 -> 426,520 bytes (-25.4%)
  • arm64 (Tizen 6.5): 920,776 -> 687,616 bytes (-25.3%)
  • x86 (Tizen 6.5): 936,660 -> 669,812 bytes (-28.5%)
  • x64 (Tizen 8.0): 966,008 -> 686,248 bytes (-29.0%)

@JSUYA JSUYA self-assigned this Aug 31, 2026
@JSUYA JSUYA added the enhancement New feature or request label Aug 31, 2026
@JSUYA
JSUYA marked this pull request as draft August 31, 2026 07:27
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Aug 31, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-09-03T01:30:58.838270Z 77b1ea2 Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@JSUYA
JSUYA marked this pull request as ready for review September 2, 2026 07:32
@JSUYA

JSUYA commented Sep 3, 2026

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Chef's kiss.

Reviewed commit: 77b1ea26b4

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@JSUYA
JSUYA force-pushed the shrick_release_so branch from 77b1ea2 to 404e2c6 Compare September 3, 2026 06:45
Apply -Os, full LTO, lld, and llvm-ar only to optimized builds.
Keep debug builds on -O0 and the target GNU ar.

Use -z separate-code so Tizen crash-manager can unwind page-aligned
segments without making read-only data executable.
@JSUYA
JSUYA force-pushed the shrick_release_so branch from a37a59f to 65f50fb Compare September 3, 2026 10:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants