COPY_HEADERS is deprecated in Make, and unsupported in Soong. Use a header
library instead. That may require re-arranging your source tree, or
creating a directory full of symlinks, as we don't support rewriting the
directory structures the same was as COPY_HEADERS, you just export
everything under a directory.

I had written some about this in our best practices doc:
https://android.googlesource.com/platform/build/soong/+/master/docs/best_practices.md#headers

- Dan

On Mon, Oct 14, 2019 at 9:46 AM REGURI AKANKSHA <akhireguri...@gmail.com>
wrote:

> How to write headers in Android.bp?
>
> say Android.mk has header of this type
> include $(CLEAR_VARS)
> LOCAL_COPY_HEADERS_TO := x
> LOCAL_COPY_HEADERS    := y
> LOCAL_PROPRIETARY_MODULE := z
> include $(BUILD_COPY_HEADERS)
>
> How to write such headers in Android.bp? i know that LOCAL_COPY_HEADERS is
> deprecated in Soong, but have no idea of how to write to Android.bp
> Thanks in Advance
>
> --
> --
> 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/2ac5ecc7-d171-4d9e-9a6c-a92fd9612cfa%40googlegroups.com
> <https://groups.google.com/d/msgid/android-building/2ac5ecc7-d171-4d9e-9a6c-a92fd9612cfa%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
-- 
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/CALQgHdmv%2BqMn8%2BdhaXDWZvn_n%2BaTCmu67PJ8tiuuK4KufDtSPA%40mail.gmail.com.

Reply via email to