openframeworks / openframeworks/openFrameworks

Android ADDON_SOURCES_EXCLUDE not working

Open
#5,965 1 comment 1 reaction 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.