Is there any nice way of dealing with dependencies out of our control? To expose them to soon in some way without touching other repositories?
Best Regards, Krzysztof Wesolowski (Chris) Sent from mobile On Mon, Oct 30, 2017 at 4:45 PM +0100, "Colin Cross" <[email protected]<mailto:[email protected]>> wrote: This is expected, Soong requires knowledge of all of its modules dependencies. On Mon, Oct 30, 2017 at 1:32 AM, <[email protected]<mailto:[email protected]>> wrote: Hello, We are trying to create modules using BP that have dependencies to other modules defined in Android.mk. It seems that bp cannot link to the library (error: ..../Android.bp:4:1: "binaryinbp" depends on undefined module "libinmake" Is this expected behavior or some mistake on our side? Reproduction: Android.bp ------------------------------------- cc_library_shared { name: "libinbp", } cc_binary { name: "binaryinbp", srcs: ["main.cpp"], shared_libs: [ "libinbp", "libinmake" // This is not possible, building gives error: binaryinbp" depends on undefined module "libinmake" ] } Android.mk ------------------------------------- include $(CLEAR_VARS) LOCAL_MODULE := libinmake include $(BUILD_SHARED_LIBRARY) include $(CLEAR_VARS) LOCAL_SRC_FILES := main.cpp LOCAL_MODULE := binaryinmake LOCAL_SHARED_LIBRARIES := \ libinmake \ libinbp include $(BUILD_EXECUTABLE) Best regards, Krzysztof Wesolowski -- -- You received this message because you are subscribed to the "Android Building" mailing list. To post to this group, send email to [email protected]<mailto:[email protected]> To unsubscribe from this group, send email to [email protected]<mailto:android-building%[email protected]> 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 [email protected]<mailto:[email protected]>. For more options, visit https://groups.google.com/d/optout. -- -- You received this message because you are subscribed to the "Android Building" mailing list. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] 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 [email protected]<mailto:[email protected]>. For more options, visit https://groups.google.com/d/optout. -- -- You received this message because you are subscribed to the "Android Building" mailing list. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
