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

gradle: support changing the location of the assets / libraries #505

Merged
merged 1 commit into from
Aug 7, 2024

Conversation

benoit-pierre
Copy link
Contributor

@benoit-pierre benoit-pierre commented Aug 7, 2024

This allow for out-of-tree builds (when combined with --project-cache-dir and --project-cache-dir).

Necessary for koreader/koreader#12285.


This change is Reviewable

This allow for out-of-tree builds (when combined with `--project-cache-dir` and `--project-cache-dir`).
assets.srcDirs = [ '../assets' ]
jniLibs.srcDirs = [ '../libs' ]
assets.srcDirs = [ '../assets', assetsPath ]
jniLibs.srcDirs = [ libsPath ]
Copy link
Member

Choose a reason for hiding this comment

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

How does that work for lzma and ioctl if you override it for luajit?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's the same directory, in the out-of-tree build directory.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I did try leaving out that patch out, but could not get something working when not building in the source tree.

@Frenzie Frenzie merged commit 981e9c8 into koreader:master Aug 7, 2024
3 checks passed
@benoit-pierre benoit-pierre deleted the pr/out-of-tree_builds branch August 7, 2024 20:51
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.

2 participants