Not found other solution, so converting was primary solution.

I had idea to make BP library based on hard-coded include paths and then link 
everything together via Mk file, but never got to try.

BR, K.

Get Outlook for Android

________________________________
From: android-building@googlegroups.com <android-building@googlegroups.com> on 
behalf of Rajavenu Kyatham <rajavenu1...@gmail.com>
Sent: Tuesday, February 20, 2018 3:16:04 PM
To: Android Building
Subject: Re: [android-building] Dependencies between Android.mk and Android.bp 
modules

@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 
<krzysztof....@volvocars.com> 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" <ccr...@android.com> wrote:

This is expected, Soong requires knowledge of all of its modules dependencies.

On Mon, Oct 30, 2017 at 1:32 AM, <krzysztof....@volvocars.com> 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 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<https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgroups.google.com%2Fgroup%2Fandroid-building%3Fhl%3Den&data=02%7C01%7Ckrzysztof.wesolowski%40volvocars.com%7C52b11fee97fc4087871408d57899650b%7C81fa766ea34948678bf4ab35e250a08f%7C0%7C0%7C636547522577994450&sdata=f%2FB57VLkpJckNWTgdQYTO%2FRSLo7%2BX9Zcca3YgspKdSE%3D&reserved=0>

---
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.
For more options, visit 
https://groups.google.com/d/optout<https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fd%2Foptout&data=02%7C01%7Ckrzysztof.wesolowski%40volvocars.com%7C52b11fee97fc4087871408d57899650b%7C81fa766ea34948678bf4ab35e250a08f%7C0%7C0%7C636547522577994450&sdata=Nda%2Bys6EultXRlU2ijJzdP48qrjCaufDDXhgESJqr4o%3D&reserved=0>.


--
--
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<https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgroups.google.com%2Fgroup%2Fandroid-building%3Fhl%3Den&data=02%7C01%7Ckrzysztof.wesolowski%40volvocars.com%7C52b11fee97fc4087871408d57899650b%7C81fa766ea34948678bf4ab35e250a08f%7C0%7C0%7C636547522577994450&sdata=f%2FB57VLkpJckNWTgdQYTO%2FRSLo7%2BX9Zcca3YgspKdSE%3D&reserved=0>

---
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.
For more options, visit 
https://groups.google.com/d/optout<https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fd%2Foptout&data=02%7C01%7Ckrzysztof.wesolowski%40volvocars.com%7C52b11fee97fc4087871408d57899650b%7C81fa766ea34948678bf4ab35e250a08f%7C0%7C0%7C636547522577994450&sdata=Nda%2Bys6EultXRlU2ijJzdP48qrjCaufDDXhgESJqr4o%3D&reserved=0>.

--
--
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<https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgroups.google.com%2Fgroup%2Fandroid-building%3Fhl%3Den&data=02%7C01%7Ckrzysztof.wesolowski%40volvocars.com%7C52b11fee97fc4087871408d57899650b%7C81fa766ea34948678bf4ab35e250a08f%7C0%7C0%7C636547522577994450&sdata=f%2FB57VLkpJckNWTgdQYTO%2FRSLo7%2BX9Zcca3YgspKdSE%3D&reserved=0>

---
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.
For more options, visit 
https://groups.google.com/d/optout<https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fd%2Foptout&data=02%7C01%7Ckrzysztof.wesolowski%40volvocars.com%7C52b11fee97fc4087871408d57899650b%7C81fa766ea34948678bf4ab35e250a08f%7C0%7C0%7C636547522577994450&sdata=Nda%2Bys6EultXRlU2ijJzdP48qrjCaufDDXhgESJqr4o%3D&reserved=0>.


--
--
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<https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgroups.google.com%2Fgroup%2Fandroid-building%3Fhl%3Den&data=02%7C01%7Ckrzysztof.wesolowski%40volvocars.com%7C52b11fee97fc4087871408d57899650b%7C81fa766ea34948678bf4ab35e250a08f%7C0%7C0%7C636547522577994450&sdata=f%2FB57VLkpJckNWTgdQYTO%2FRSLo7%2BX9Zcca3YgspKdSE%3D&reserved=0>

---
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<mailto:android-building+unsubscr...@googlegroups.com>.
For more options, visit 
https://groups.google.com/d/optout<https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fd%2Foptout&data=02%7C01%7Ckrzysztof.wesolowski%40volvocars.com%7C52b11fee97fc4087871408d57899650b%7C81fa766ea34948678bf4ab35e250a08f%7C0%7C0%7C636547522577994450&sdata=Nda%2Bys6EultXRlU2ijJzdP48qrjCaufDDXhgESJqr4o%3D&reserved=0>.

-- 
-- 
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to