It is defined in Android.mk , i see, thank you for the info.

On Tuesday, November 5, 2019 at 8:29:18 PM UTC+2, Dan Willemsen wrote:
>
> Is "companylib" defined in Android.bp or Android.mk? All dependencies from 
> Android.bp files must be defined in Android.bp, not make.
>
> It also seems that you probably have ALLOW_MISSING_DEPENDENCIES=true in 
> your environment or configs -- you should get faster and better errors by 
> removing that flag.
>
> - Dan
>
> On Tue, Nov 5, 2019 at 7:00 AM Vasile Robert <[email protected] 
> <javascript:>> wrote:
>
>> Hello, i'm trying to convert an existing makefile into a .bp file and i 
>> keep getting some dependencies issues:
>>
>> echo "module ModuleName missing dependencies: companylib (and all the 
>> files that are in the include_dirs)
>>
>> Now the module before this "ModuleName" doesn't seem to have any issue 
>> and the code for it is the same except for having a "relative_install_path" 
>> . but also adding it to this ModuleName didn't fix the issue.
>>
>> Before it i had the same issue with another .bp file, but there using 
>> local_include_dirs instead of just "include_dirs" fixed the issue, here it 
>> persists.
>>
>> Couldn't find anything about this online so can anyone help me understand 
>> what the problem could be?
>>
>> The module in the .bp file looks like this:
>>
>> cc_binary {
>>     vendor:true
>>     name:: "ModuleName"
>>     cppflags: CPPFLAGS //a variable with the flags needed
>>     include_dirs: CPPINCLUDES //again a variable referenced
>>     local_include_dirs: ["dir2" , "dir3" , "dir3/dir4" , "dir1/dir3" , 
>> "dir0/dir5" ],  //not the actual names
>>     srcs: ["dir/file1.cpp" , "dir/file2.cpp"],
>>     static_libs: ["companylib"],
>>     shared_libs: ["lib1" , "lib2" , "lib3" , "lib4" , "lib5" , "lib6" , 
>> "lib7" , "lib8" , "lib9",], //again numbers don't mean anything
>> }
>>  
>>
>> -- 
>> -- 
>> 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:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/android-building/cc197fa4-a2d5-445c-a2ba-ff083c7879b6%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/android-building/cc197fa4-a2d5-445c-a2ba-ff083c7879b6%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-building/ed29ac1e-1a0b-4fa4-b01e-ed052932cfca%40googlegroups.com.

Reply via email to