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

2019-08-25 Thread Rounak Agarwal
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/f0fc8483-d78b-4f2a-a4c6-05b1a1c035a3%40googlegroups.com.


[android-building] Unable to initialize repository with repo init

2019-08-25 Thread Remi Colinet
Hello,

I'am trying to download Android source code with below command:

root@pacome-Aspire-V3-572G:/srv/as# /root/bin/repo init --no-clone-bundle 
-u https://android.googlesource.com/a/platform/manifest -b android-9.0.0_r9 
Get https://gerrit.googlesource.com/git-repo
remote: Counting objects: 144, done
remote: Total 4425 (delta 2045), reused 4425 (delta 2045)
Receiving objects: 100% (4425/4425), 5.25 MiB | 8.19 MiB/s, done.
Resolving deltas: 100% (2045/2045), done.
>From https://gerrit.googlesource.com/git-repo
 * [new branch]  maint  -> origin/maint
 * [new branch]  master -> origin/master
 * [new branch]  stable -> origin/stable
 * [new tag] v1.0   -> v1.0
 * [new tag] v1.0.1 -> v1.0.1
 * [new tag] v1.0.2 -> v1.0.2
 * [new tag] v1.0.3 -> v1.0.3
...
 * [new tag] v1.9.4 -> v1.9.4
 * [new tag] v1.9.5 -> v1.9.5
 * [new tag] v1.9.6 -> v1.9.6
Get https://android.googlesource.com/a/platform/manifest

[STUCK HERE. No download any more. CPU at 100% with git-remote-http]

Any hint?

I've tries a dozen times.
No way

Regards
Remi


-- 
-- 
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/e7be0e92-65ee-4231-a8c0-8dd1aa6783d3%40googlegroups.com.


Re: [android-building] Flashing Android 6 on Nexus 5 failed

2019-08-25 Thread p v
пт, 23 Авг 2019 г., 21:48 Yuan Zhou :

> Last time I have this issue is with Android 9 flashing into Pixel, and it
> was solved by downloading the image from
> https://developers.google.com/android/blobs-preview .
>
> This time, I am flashing the Android 6 from
> https://developers.google.com/android/images to my Nexus 5. I used many
> methods but still failed.
>
> *Method one:*
> WIPE system/cache/dalvik from twrp.
> fastboot flash boot boot.img
> fastboot flash system system.img
> fastboot flash userdata userdata.img
> fastboot flash vendor vendor.img (from factory image, because there is no
> vendor.img in the directory)
> When it boot, it stuck at android Logo forever.
>
> *Method two:*
> WIPE system/cache/dalvik from twrp.
> fastboot update hammerhead.zip
> When it boot, it stuck at android Logo forever.
>
> *Method three:*
> Install the  hammerhead.zip from twrp, i got the log:
> Installing zip file '/sdcard/hammerhead.zip'
> Checking for Digest file...
> Skipping Digest check: no Digest file found
> Invalid zip file format!
> Error installing zip file  '/sdcard/hammerhead.zip'
> updating partition details...
> done
>
> Anyone can help, PLZ. Thank you 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/50375f1e-6746-48b1-b002-4295d11e2fc1%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/CALOOFF2oo6TfGpcpoCXT%2B-kEMnfyMh3%3DYMdaN%3DN%2BeZ1ufsMVAQ%40mail.gmail.com.