Re: [android-building] Understanding flow Sequence in Android Build system

2021-05-24 Thread Christian Gagneraud
On Tue, 25 May 2021 at 06:15, Sumit Kumar  wrote:
>
> HI all ,
> I am attempting to understand the flow sequence for Android Build system 
> using Andorid 11 as the base, as a part of my work. I  would like to know 
> from you guys which would be the best indenxing tool for this purpose , as 
> the build system consists of many different file formats, ".bp" ,".mk" 
> ".ninja" ".sh" ".go"  to name some of them?
> Further if any one has ever attempted any thing similar to what ever extent  
> please share some docs/links/references as it would be a big stepping stone 
> for me to start.

Sounds like a good idea, tho i don't know if this is actually feasible.
I use "mgrep" when i'm digging into mk/bp.
I have to say that there are a lot of global variables, and most of
them are undocumented. This is very frustrating.
The build system of AOSP is very obscure, that was a big
disappointment for me when I started.
Magic stuff everywhere!

"make product-graph" is a very useful tool, I think soong/bp is fairly
documented. The Makefiles are the pain point IMO.

Chris


>
> The following links gave me a fair understanding of syntax for  kati, ninja 
> and soong:-
> https://android.googlesource.com/platform/build/soong/+/refs/heads/master/README.md
> https://github.com/google/kati/blob/master/README.md
> https://ninja-build.org/manual.html#_introduction
>
> Regards,
> Sumit Kumar
>
> --
> --
> 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/4566d7a3-9434-4731-80e6-56a97348707bn%40googlegroups.com.

-- 
-- 
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/CABxGUThovxfg7S2u6s-v8jk4uY0tPsEqBjjrpSorCjhuXwYDAw%40mail.gmail.com.


[android-building] Understanding flow Sequence in Android Build system

2021-05-24 Thread Sumit Kumar
HI all ,
I am attempting to understand the *flow sequence for Android Build 
system* using *Andorid 11* as the base, as a part of my work. I  would like 
to know from you guys which would be the best *indenxing tool* for this 
purpose , as the build system consists of many different file formats, 
".bp" ,".mk" ".ninja" ".sh" ".go"  to name some of them? 
Further if any one has ever attempted any thing similar to what ever 
extent  please share some docs/links/references as it would be a big 
stepping stone for me to start.

The following links gave me a fair understanding of syntax for  kati, ninja 
and soong:- 
https://android.googlesource.com/platform/build/soong/+/refs/heads/master/README.md
https://github.com/google/kati/blob/master/README.md
https://ninja-build.org/manual.html#_introduction

Regards,
Sumit Kumar 

-- 
-- 
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/4566d7a3-9434-4731-80e6-56a97348707bn%40googlegroups.com.