[android-building] Questions about variants in build.ninja?

2020-10-12 Thread Chen Wang
Hello,
I'm a new people to build aosp. After I input "mmm bionic/:libc", I checked 
the file "soong/build.ninja" and see multiple sections about libc. There 
are comments sections as below:
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# Module:  libc
# Variant: android_x86_core_shared
# Type:cc_library
# Factory: android/soong/android.ModuleFactoryAdaptor.func1
# Defined: bionic/libc/Android.bp:1528:1

I see they have same Module/Type/Factory/Defined, but different  Variant. I 
list them as below:
android_x86_core_shared
android_x86_core_shared_1
android_x86_core_shared_1_apex_test_build_features
android_x86_core_shared_1_com.android.conscrypt
..
android_x86_core_static
android_x86_core_static_1
android_x86_core_static_1_apex_test_build_features
android_x86_core_static_1_com.android.conscrypt
..
android_x86_recovery_shared
android_x86_recovery_static

Can somebody tell me how they are created?  
Also I checked output, there are some folders named 
"android_x86_core_static" and "android_x86_core_shared_1", looks has 
something with upon variants, right? 

Thanks in adv.

-- 
-- 
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/f78dc383-90fc-4daf-bd1c-91564b61bd29n%40googlegroups.com.


[android-building] Re: Establishing a build environment

2020-10-12 Thread andrew_esh
The AOSP build tools aren't highly sensitive to the exact version of Ubuntu 
they are being run on. I have used versions 14.04, 16.04, and 18.04. Within 
the last month, I upgraded to Ubuntu 20.04, and I have no doubt that the 
AOSP build will work on that platform. I tend to use stable, long term 
support (LTS) versions of Ubuntu, just to keep away from experimental 
versions of packages. Any LTS version will build AOSP just fine.

On Wednesday, September 30, 2020 at 10:51:17 AM UTC-5 malik...@gmail.com 
wrote:

> Dear all,
>
> I have to establish a build environment for android. I was going through 
> the documentation provided on android website in order to find out that 
> which ubuntu version is best for installation. On one page it says
>
> If you're developing against the AOSP master branch, use either Ubuntu 
> 18.04 (Bionic Beaver) or the latest versions of macOS and Xcode with 
> command line tools installed.
>
> and on the other, it says
>
> The Android build is routinely tested in house on Ubuntu LTS (14.04) and 
> Debian testing. Most other distributions should have the required build 
> tools available.
> You need a 64-bit version of Ubuntu (14.04 is recommended).
>
> Kindly let me know which version should I install 18.04 or 14.04
>
>
> Thank you
>
>

-- 
-- 
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/8f7ccb56-1618-4dfc-b4ce-ea42e45a4b15n%40googlegroups.com.


Re: [android-building] build android q version on ubuntu 18.04 all cpu at low priority

2020-10-12 Thread mmh19...@gmail.com
Thank you very much. 

在2020年4月8日星期三 UTC+8 上午12:52:26 写道:

> Yes, one byproduct of the nsjail sandboxing that we use is to switch up 
> the scheduling groups. In our testing, this did not change the performance 
> of the build.
>
> It did help the interactiveness (ssh, desktop w/mouse+keyboard, etc) of 
> the machine while the build was running. It's still not perfect, but it's 
> an improvement (cgroups help the most, but are difficult for the build to 
> set up).
>
> - Dan
>
> On Tue, Apr 7, 2020 at 9:42 AM Minghui Ma  wrote:
>
>>
>> hi all
>>
>>  when i build android q version on ubuntu 18.04 i found all cpu at low 
>> priority, and the ni value is 19, PRI value is 39. like below picture. is 
>> this normal???
>>
>>
>>
>>
>> [image: QQ拼音截图20200407142802.png]
>>
>> -- 
>> -- 
>> 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
>>
>> --- 
>> 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.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/android-building/91a40872-46d8-4755-9419-06a039fbaccc%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/6879f268-4953-4413-9bf9-0a3df04375b2n%40googlegroups.com.


[android-building] Check build and tag number of android aosp

2020-10-12 Thread Mahnoor Malik
Dear all,

How can I find the build and tag of my android aosp. Actually the supported
devices for android 11 vary for different tags and builds.

https://source.android.com/setup/start/build-numbers

Thank you in advance.

P.S.  This my first time working on android aosp. PLEASE don't mind if the
question sounds stupid :)


Regards,
Mahnoor

-- 
-- 
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/CABiDw9hoqs4tcrLnr9mFRq4G%3D5n490F-86gM4YqEzwKMFJj9Lw%40mail.gmail.com.