openframeworks / openframeworks/openFrameworks
Android ADDON_SOURCES_EXCLUDE not working
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 10.4k
- Forks
- 2.6k
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 9
Description
i'm putting some paths in the ADDON_SOURCES_EXCLUDE = , but gradle still try to compile those paths. I'm on Debian Stretch + Android Studio 3, i put the path both in android/armeabi and android/armeabi-v7a.
Something similar was reported here: https://forum.openframeworks.cc/t/project-exclusions-error-single-files-and-a-fix/23951
(this is my addons_config.mk for example, libaudiodecoder isn't excluded)
https://github.com/npisanti/ofxPDSP/blob/master/addon_config.mk
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the Android build using the linked addon_config.mk and the ADDON_SOURCES_EXCLUDE entries under android/armeabi and android/armeabi-v7a. Check why Gradle still compiles the excluded libaudiodecoder paths. Done means the configured paths are omitted from compilation on Android.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, cpp
- Domain
- build-system, mobile-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100