Skip to content

Install prebuilt assets with cmake #658

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

Merged
merged 16 commits into from
Dec 20, 2024
Merged

Conversation

rocka
Copy link
Member

@rocka rocka commented Dec 16, 2024

The build process no longer relies on symlink

Change details:

  • Removed all symlinks in $module/src/main/assets

  • Introduce a new cmake install component "prebuilt-assets", can be enabled by

    fcitxComponent {
      installPrebuiltAssets = true
    }

    for plugins to install files from $PREBUILT_DIR (or other submodules) to apk assets

  • Introduce a new dummy cmake target devel in :lib:fcitx5 module, and expose cmake config files from fcitx5 via its INTERFACE_INCLUDE_DIRECTORIES property

  • Copy and minify ClearURLsRules/data.min.json by gradle script instead of just symlinking

  • Configure aboutLibraries.configPath for all Android application modules in AndroidAppConventionPlugin

@rocka rocka marked this pull request as ready for review December 17, 2024 17:33
@rocka rocka merged commit de5bc3b into master Dec 20, 2024
6 checks passed
@rocka rocka deleted the refactor/install-prebuilt-assets branch December 20, 2024 12:03
mokapsing pushed a commit to mokapsing/fcitx5-android that referenced this pull request Dec 23, 2024
The build process no longer relies on symlink
wxyzh pushed a commit to wxyzh/fcitx5-android that referenced this pull request Jan 2, 2025
The build process no longer relies on symlink
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.

1 participant