Hi Dan. It looks like the option SOONG_GEN_COMPDB is not available in Pie 
branches. Perhaps it was added later. I wish to make use of this option. 
Will it be safe to use soong from master branch with Pie source code ? Were 
any breaking changes made in soong since Pie was branched out ?

On Monday, 18 March 2019 22:48:35 UTC+5:30, Dan Willemsen wrote:
>
> The ninja compilation database support doesn't work very well for our 
> ninja files due to kati using a rule per command. This upstream ninja 
> feature request may help, but that's assuming that whatever is parsing the 
> compdb files can understand the raw rules (which is usually a bash script, 
> not just a call to the compiler): 
> https://github.com/ninja-build/ninja/issues/1377
>
> I'd recommend converting to Android.bp so that you can use 
> SOONG_GEN_COMPDB.
>
> - Dan
>
> On Mon, Mar 18, 2019 at 9:54 AM <ggl...@gmail.com <javascript:>> wrote:
>
>> I can get CMakeLists.txt from Android.bp by soong, then get 
>> compile_commands, but cann't get CMakeLists.json from android.mk. I've 
>> tried pass ' -t compdb cxx' but just get empty "[ \n ]" , any one can help 
>> me?
>>
>> -- 
>> -- 
>> 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 
>> <javascript:>
>> To unsubscribe from this group, send email to
>> android-...@googlegroups.com <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 android-...@googlegroups.com <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 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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-building/f0fc8483-d78b-4f2a-a4c6-05b1a1c035a3%40googlegroups.com.

Reply via email to