Where are you trying to use sub_dir? (which module type? at the top level?)
It's only supported on some of the prebuilt module types (and sh_binary).
For some other module types, relative_install_path is used instead
(cc_binary, cc_library, etc)

You can see the documentation about supported properties here:
https://ci.android.com/builds/latest/branches/aosp-build-tools/targets/linux/view/soong_build.html
(this is based on master, if you're working on Q, not everything here may
work -- there's a local copy in $OUT_DIR/soong/docs/soong_build.html).

- Dan

On Fri, Oct 25, 2019 at 12:52 AM seeker <akhireguri...@gmail.com> wrote:

> Hello,
> How to introduce sub_dir as a module descriptor for Android.bp?
> Whenever I introduce sub_dir, I am always getting this error: sub_dir
> unrecognized property. How to overcome this?
> 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/d732a44d-3f82-4dd1-9d00-15a10142579e%40googlegroups.com
> <https://groups.google.com/d/msgid/android-building/d732a44d-3f82-4dd1-9d00-15a10142579e%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/CALQgHdnkiyr%2BSKAB3AgEuGYSOae4kS4bEhhZLPyjSdGFVd0yDg%40mail.gmail.com.

Reply via email to