Re: [android-building] Re: Where can I download goldfish 4.20 kernel?

2019-02-23 Thread Yuan Zhou
OK, I see. Probably I need to build my own 4.20 from 4.14. By any chance,
you would know that is it ok just copy and paste binder.c and binder.h from
4.20 to 4.14? Thank you very much!

Glenn Kasten  于2019年2月21日周四 上午12:15写道:

> I see named branches up to 4.14, but not 4.20:
>   https://android.googlesource.com/kernel/goldfish/+refs
> Perhaps it has not yet been ported to 4.20, or if it has been ported then
> the port hasn't yet been published?
> 4.20 is relatively recent, and the latest long-term stable (LTS) after
> 4.14 is 4.19,
> so it seems more likely that goldfish would be ported to 4.19 rather than
> 4.20.
>
> On Wednesday, 20 February 2019 08:03:55 UTC-8, Yuan Zhou wrote:
>>
>> I want to customize some feature in linux 4.20. Where can I download
>> goldfish 4.20 kernel? It is not on the googlesource.com. 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.
> 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.
For more options, visit https://groups.google.com/d/optout.


[android-building] What does ctx.AddDependency work for

2019-02-23 Thread Yun Ma
Hi,

I wrote a new soong_build plugin to support a new build app like 
"andorid_app", this app has dependence for some java libs. 

So I defined function below:

type NewDependencyTag struct {
blueprint.BaseDependencyTag
name string
}

var newLibTag = NewDependencyTag{name: "javalib"}

// Add  app dependency
func (n *NewApp) DepsMutator(ctx android.BottomUpMutatorContext) {
ctx.AddDependency(ctx.Module(), newLibTag, n.properties.Libs...)
}


I can see dependence lib module name through ctx.VisitDirectDeps function, 
but it was not set in build.ninja. It look like these libs was set in 
Moudle.directDeps, but never implement to final build.ninja.

Does anyone know how to write it?

-- 
-- 
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.
For more options, visit https://groups.google.com/d/optout.


[android-building] Re: Unable to init andorid source with repo

2019-02-23 Thread jonatan
I can confirm this:

git --version
git version 2.19.2
➜  tmp git clone -v https://android.googlesource.com/platform/manifest
Klone nach 'manifest' ...
POST git-upload-pack (gzip 88291 to 44084 bytes)


System is arch linux


Am Montag, 31. Dezember 2018 18:09:01 UTC+1 schrieb Varun Tewari:
>
> I have been trying to get the source for android but the repo tool keeps 
> hanging after downloading from *git-repo, *I tried cloning the manifest 
> repo but that also hangs at POST
>
> $: git clone https://android.googlesource.com/platform/manifest -v
> Cloning into 'manifest'...
> POST git-upload-pack (gzip 86291 to 43096 bytes)
>
> This just hangs and I am not able to even initialize the repo
>

-- 
-- 
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.
For more options, visit https://groups.google.com/d/optout.