Add support for multiple dirs in project_res and project_assets args in android_resource rule
See original GitHub issueThe newly added project_res
and project_assets
arguments on the android_resouce
rule only support one directory but there are cases where you would want to specify multiple, such as in a top level application module that has multiple buildTypes or flavors.
cc @kageiit
Issue Analytics
- State:
- Created 7 years ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
App resources overview - Android Developers
Android supports several configuration qualifiers and you can add multiple qualifiers to one directory name, by separating each qualifier with a ...
Read more >Makefile pattern rules on multiple subdirectories - c++
You can create multiple pattern rules, one for each source directory (it's easier to avoid static pattern rules in this situation):
Read more >copy multiple directories into one folder from a variable or loop ...
I want to be able to edit this script in the future and easily add additional directories later. Some directories have spaces in...
Read more >Dir Function - Microsoft Support
Returns a String representing the name of a file, directory, or folder that matches a specified pattern or file attribute, or the volume...
Read more >Ignoring files, folders, or code - Semgrep
This documents various methods to skip or ignore files, folders, or code that are not relevant to a Semgrep scan.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Did you try not specifying those attributes? In that case Buck should generate appropriate symlink trees based on the
res
andassets
attributes which support an arbitrary number of source directories. Theproject_*
attributes should only be useful if artifact building during project generation is disabled.For a project with gradle like strcuture, This snippet of change made all the symbols resolve work correctly again.
There still seem to be many general issues with buck project file generation for projects that have a gradle like structure. Missing paths or paths pointing to the filesystem where there are no generated files (like the
MANIFEST_FILE_RELATIVE_PATH
for a project which is not a library is always set to a file that does not exist yet) even whenbuck project
is invoked with building.