Re: [android-building] Um........Please help me!!!

2020-05-26 Thread 'Dan Willemsen' via Android Building
Does prebuilts/go/linux-x86/bin/go exist in your source tree? It should
exist:

https://android.googlesource.com/platform/manifest/+/refs/heads/android-8.1.0_r64/default.xml#552
https://android.googlesource.com/platform/prebuilts/go/linux-x86/+/refs/tags/android-8.1.0_r64/bin/

If it does exist, are you able to execute it?

- Dan

On Tue, May 26, 2020 at 7:57 AM 박종현TV  wrote:

> I build android-8.1.0_r64 but an error occurred while build
>
>
> pjh@pjh-System-Product-Name:/media/pjh/android/AOSP$ make
> /media/pjh/android/AOSP/build/soong/cmd/microfactory/microfactory.bash: 줄
> 85: /media/pjh/android/AOSP/prebuilts/go/linux-x86//bin/go: 그런 파일이나 디렉터리가
> 없습니다
>
>  failed to build some targets  
>
> What should I do?
>
> --
> --
> 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/43a3acbc-60b8-4d5d-9dd4-1b3f756a94e9%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/CALQgHd%3DRVzz%3DQcDd40Cy-uz4Je4%2BpaFWvtDr9astGqV-b7ugdQ%40mail.gmail.com.


[android-building] Can I install some keys into android hardware backed keystore when buiding android?

2020-05-26 Thread Frank Lin
Hi All,
I would like to install some keys into the keystore when building the 
android 9.0. 
Dose anyone know how to do this?

Any comment is appreciated.

-- 
-- 
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/a00ef9bd-b6e3-497b-8251-443a299bf30f%40googlegroups.com.


Re: [android-building] Re: how can I verify that it is picking the android sources from this respective branch

2020-05-26 Thread Appu
Thanks a lot David! Really appreciate the same.

Is there anyways that can I figure out, roughly around which dates  approx-
android's repo , branch, tags & the specific commit ID - the below patch
was applied and tried?

https://android-review.googlesource.com/c/platform/system/core/+/633925

based on the above patch, I see the parent commit ID is  "
https://android.googlesource.com/platform/system/core/+/d555e08224d2a08f4f12c16ae4109b63b9f7def9;,
but could you please let me know , is there anyways that can I figure out
the specific android's repo , branch, tags & the specific commit ID

As I am trying to bringup new usb host controller ip for android debugging,
that requires some custom changes on adbd,

I guess the andorid version that is being used is “android-9.0.0_r45” (but
I don't know the specific branch or commit id to get the same commit id),
but when I try to build this version and replace the adbd in
system.raw.img, I am unable to launch the settings icon, as it tries to
keep loading but it doesn't launch at all.

https://source.android.com/setup/build/downloading & the below is the build
procedure (please correct me if the below procedure is wrong for building
android)

2. Setup for build – This step has to be done only once
 $ source env_setup.sh
 $ lunch
Choose “aosp_x86_64-eng”

As I tried using the command "adb shell getprop | grep ro.build" it didn't
help on the target, to get the specific android repo with specific branch
tags & commit id.

Could you please provide any inputs or pointers on the above please, I
tried googling randomly for 2-3 days, I didn't get any clues on it.?

Many Thanks in advance



On Thu, May 14, 2020 at 12:54 AM David  wrote:

> Hey Appu,
>
> not an expert but on the source code go to the repo manifest branch `cd
> /.repo/manifests`.
> With `git show` you can see the latest commit and also the attached tags.
> (The manifests folder describes which repository version repo syncs.)
>
> https://gerrit.googlesource.com/git-repo/+/refs/heads/master/docs/manifest-format.md
>
> With `repo status` you can see your local changes.
> https://source.android.com/setup/develop/repo#status
>
>
> On the device you can get some build information with:
> `adb shell getprop | grep ro.build`
>
> But as far as I know you can't get the branch used for the build.
>
>
> I hope that helps.
>
> Cheers,
> David
>
>
> Am Montag, 11. Mai 2020 20:06:05 UTC+2 schrieb Appu:
>>
>> Dear Android Building experts,
>>
>> Could you please let me know, I am trying to build the android source
>> code from respective branch for ex: android-9.0.0_r45, how can I verify
>> that it is picking the android sources from this respective branch -
>> android-9.0.0_r45? once after it is downloaded or after it is built?
>>
>>
>> Steps to reproduce:
>>
>> 1. https://source.android.com/setup/build/downloading
>> Used branch “android-9.0.0_r45”
>>
>>
>> repo init -u https://android.googlesource.com/platform/manifest -b
>> android-9.0.0_r45
>>
>> 2. Setup for build – This step has to be done only once
>>  $ source env_setup.sh
>>  $ lunch
>> Choose “aosp_x86_64-eng”
>>
>> Many Thanks in advance,
>>
>> --
> --
> 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/2b389bea-b61a-4e25-a8dc-a3b1ebaa1209%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/CAFsTbWcc-jAis-0qNqvxdR%2BvPxvvZWEtZnW3NXsBgvxUTeo-8w%40mail.gmail.com.


[android-building] Um........Please help me!!!

2020-05-26 Thread 박종현TV
I build android-8.1.0_r64 but an error occurred while build


pjh@pjh-System-Product-Name:/media/pjh/android/AOSP$ make
/media/pjh/android/AOSP/build/soong/cmd/microfactory/microfactory.bash: 줄 
85: /media/pjh/android/AOSP/prebuilts/go/linux-x86//bin/go: 그런 파일이나 디렉터리가 
없습니다

 failed to build some targets  

What should I do?

-- 
-- 
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/43a3acbc-60b8-4d5d-9dd4-1b3f756a94e9%40googlegroups.com.


[android-building] Req. how to clone & build specific android repo version, repo manifest branch, with this specific tags & commit ID.

2020-05-26 Thread Appu
Dear Android experts team, 
 
1. As I have the intermediate android folder commit ID as below in the 
android sources , based on this intermediate folder commit ID, Could anyone 
please let me know how to clone the same specific android repo version, 
repo manifest branch, with this specific tags & commit ID
*https://android.googlesource.com/platform/system/core/+/d555e08224d2a08f4f12c16ae4109b63b9f7def9*

Many Thanks in advance,

-- 
-- 
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/f04fd8e7-1b1a-46ab-b67f-83759a8c9a19%40googlegroups.com.


[android-building] LOCAL_MODULE_CLASS := FAKE

2020-05-26 Thread fanx lin
hi, I have one question. In Android.mk, there is a  LOCAL_MODULE_CLASS 
props. I want to know what LOCAL_MODULE_CLASS := FAKE means.  Is "FAKE" a 
directory or something else? would someone 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-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/9cab35a0-9d67-4256-adae-d1a33d9cd07b%40googlegroups.com.


Re: [android-building] how to get compile_commands.json by mma or mm from android.mk in aosp project of android 9

2020-05-26 Thread Paschalis Mpeis
In my case SOONG_GEN_COMPDB exists (android 10), but following the 
instructions here 

 did 
not generate the json file,
unless you actually proceed with a full build (i.e., make nothing didn't 
produce the file, and `m ` also didn't work.

But the suggested approach of building the json file using the output build 
log did work.
So you do the compilation as you would normally do (either full, or a 
subset), and then use the log file to generate the compdb like:

`compiledb --parse out/verbose.log`



On Monday, August 26, 2019 at 3:43:30 AM UTC+3, Rounak Agarwal wrote:
>
> 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  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
>>> To unsubscribe from this group, send email to
>>> android-...@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-...@googlegroups.com.
>>> 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/2b23cae5-1a53-4c4a-b93a-633f5093d9a8%40googlegroups.com.


[android-building] Re: Memory leak?

2020-05-26 Thread Freakinkat tv
I am somewhat having similar issue, any update for us?

On Thursday, April 30, 2020 at 11:43:26 AM UTC-5, Silver Rampart wrote:
>
> When running a normal build, process soong_build quickly fills up all 
> available memory (6GB in under 5 minutes) and starts to swap. Quad-core i5. 
> I understand this might have something to do with parallelism, but I run 
> make with -j1 and soong_build is still running multiple threads.
>

-- 
-- 
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/454d6f72-c281-4c0b-81b7-e92534f85614%40googlegroups.com.