How to use the outputs of genrule()?
Created by: ScottPierce
I'm using genrule to compile a java library to a directory structure of .m and .h files. I'm trying to find some way to use that with the buck build.
For instance I could use apple_library(), and I could list the genrule name as a dependency, but seeing as how genrule ends up placing the output in the buck-out folder, it's difficult to access it. How should I be accessing these files?
The apple_library rule requires headers and srcs to be separate. I could create a script to separate out the .h and .m files into separate directories, but how would I link those files to the apple_library srcs and headers array?
Or perhaps apple_library isn't the best tool to use?