Asset exclusion in android targets is broken when --persistent_android_resource_processor
is enabled
#310
Labels
P2
Priority P2
Description of the problem / feature request:
In android targets, we should be able to exclude certain resources from root directory. Example
However, when
--persistent_android_resource_processor
is enabled. The exclude will not work.Bugs: what's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
I created a test branch to repro this issue. You can easily follow the steps in readme to repro it.
What operating system are you running Bazel on?
macos
What's the output of
bazel info release
?Investigation
This bug is caused by this line where we only parse the root directory of the assets and send them as data params into resource busy box processor. Considering the fact that resource merger only takes directory as the param, I think a possible fix would be copy and paste valid assets to a temporary folder and use that directory as the input param in the resource merge action.
The text was updated successfully, but these errors were encountered: