sub_dir as module descriptor

62 views
Skip to first unread message

seeker

unread,
Oct 25, 2019, 3:52:38 AM10/25/19
to Android Building
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

Dan Willemsen

unread,
Oct 25, 2019, 5:12:15 PM10/25/19
to Android Building
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

--
--
You received this message because you are subscribed to the "Android Building" mailing list.
To post to this group, send email to android-...@googlegroups.com
To unsubscribe from this group, send email to
android-buildi...@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-buildi...@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.
Reply all
Reply to author
Forward
0 new messages