@Krzysztof Wesolowski how you solved this dependency? have you converted 
the android.mk to android.bp? OR any other way without converting to 
android.bp?   
I have same dependency, please let me know.

Thanks,
Rajavenu.

On Tuesday, October 31, 2017 at 10:59:38 PM UTC+5:30, Colin Cross wrote:
>
> Nope, your dependencies will need to be converted first.
>
> On Mon, Oct 30, 2017 at 9:01 AM, Wesolowski, Krzysztof <
> [email protected] <javascript:>> wrote:
>
>> 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] 
>> <javascript:>> wrote:
>>
>> This is expected, Soong requires knowledge of all of its modules 
>>> dependencies.
>>>
>>> On Mon, Oct 30, 2017 at 1:32 AM, <[email protected] 
>>> <javascript:>> 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] 
>>>> <javascript:>
>>>> To unsubscribe from this group, send email to
>>>> [email protected] <javascript:>
>>>> 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] <javascript:>.
>>>> 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] 
>>> <javascript:>
>>> To unsubscribe from this group, send email to
>>> [email protected] <javascript:>
>>> 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] <javascript:>.
>>> 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] 
>> <javascript:>
>> To unsubscribe from this group, send email to
>> [email protected] <javascript:>
>> 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] <javascript:>.
>> 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.

Reply via email to