ninja error while upgrading external/v8 in Nougat due to Android.bp

111 views
Skip to first unread message

Saurabh Banore

unread,
Sep 14, 2021, 7:19:50 PM9/14/21
to Android Building
Hello All,

I am upgrading one of the Nougat libraries - external/v8 and I am facing the following error when I try to build the changes in external/v8 with the comand mma

ninja: error: unknown target 'MODULES-IN-external-v8', did you mean 'MODULES-IN-external-iw'?

The changes required for upgrading are replacing the Android.mk with Android.bp. When checked about error, I understood that the Android.bp from the external/v8 is not getting loaded. I have verified that the Android.bp in the top level directory contains:

optional_subdirs = [
"external/*",
]

Instead of external/*, I also tried using external/v8, external/v8/*  but still the Android.bp won't get loaded.

Is there anything else I am missing? Could anyone please provide any pointers on how to debug this further?


Dan Willemsen

unread,
Sep 14, 2021, 7:25:06 PM9/14/21
to android-...@googlegroups.com
Android.bp (and the Soong build system in general) wasn't really supported until Android-O, so an Android.bp will be ignored in Nougat. (There was some prototype support in Nougat under a USE_SOONG flag, but I really doubt that'll work for you)

- 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/37d6d753-7a12-4457-b23f-ef97e2338276n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages