Hello, 

I have read followings
- How to include external header files in cc_binary build 
<https://groups.google.com/g/android-building/c/tERYKhuW6d4>
- How to add relative path for srcs:[] in Android.bp 
<https://groups.google.com/g/android-building/c/CHOSvZNlnaY/m/I590b-rOBAAJ,>
to see the usecase of filegroup in soong build system. 
What if we want to include (copy) whole directory structure rather than a 
few source and header files?

For instance, in project1 source code will be generated based on the given 
idl (input_idl) files. Then, generated code will be utilized in other 
projects, which could be either library or binary.
As far as I understand, filegroup is not available to include whole 
directory. Is it correct? 
What would be the best solution for this? (I am considering creating a 
static library).
Any comments will be appreciated.

project1
 - input_idl    
 - src-gen
   - dir1
     - *.cpp
     - *.hpp

project2
  - src
  - src-gen (from project1, also it might need to be in export_include_dirs)

project3 
  - src
  - src-gen (from project1)

Best Regards,
Eunryoung 

-- 
-- 
You received this message because you are subscribed to the "Android Building" 
mailing list.
To post to this group, send email to android-building@googlegroups.com
To unsubscribe from this group, send email to
android-building+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-building+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-building/d422908d-35a4-49aa-86f6-ede456dad37en%40googlegroups.com.

Reply via email to