[android-building] Building AOSP for Pixel C - suspected dm-verity errors

2018-11-28 Thread Edvard
Anyone? Has anyone managed to build AOSP for the Pixel C and boot it after 
locking the bootloader?

-- 
-- 
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.


Re: [android-building] Heap size increase without jack help

2018-11-28 Thread fpen9uin


在 2018年5月25日星期五 UTC+8下午10:49:51,John Kasaki写道:
>
> I'm running VM with 3GB and 20GB exchange zone,looks like pretty small,hah?


Did you work it out?  I have encounter the same error,
build target is "classes-full-debug.jar", and also, I got the same error 
"Exception in thread "main" java.lang.OutOfMemoryError: Java heap space".
the VM is setup with 4GB memory and 32GB swapfile, I'm pretty sure 
it's enough. There must be something else going worry.

-- 
-- 
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: How to include prebuilt jars using bp in Android P

2018-11-28 Thread Ajay kumar
Hi Zoran,
Thanks for your reply.
Our intention is to include this jar in system/frameworks as like 
frameworks.jar(which has been built on an engineering environment), it has 
to be used by a system service in frameworks. can you tell me how this can 
be achievable ??

Thanks,
Ajay

On Tuesday, November 20, 2018 at 9:02:21 PM UTC+5:30, Ajay kumar wrote:
>
> Hi 
> Added jar file :
>
> this my Android.bp
>
> *java_import {*
> *  name: "*my-services*",*
> *  jars: ["*my-services*.jar"],*
> *  }*
>
>
> am getting build error :
> ninja: error: 
> 'out/target/common/obj/JAVA_LIBRARIES/my-services_intermediates/javalib.jar', 
> needed by 
> 'out/target/product/mydevice/dex_bootjars/system/framework/arm64/boot.art', 
> missing and no known rule to make it
>
> I've added my-services in base.mk under build/make/target/product/ and 
> device/google/mydevice.mk to PRODUCT_PACKAGES.
>
>
> Thanks
> Ajay
>
>

-- 
-- 
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] Integration of new lib in license files

2018-11-28 Thread Sascha Effert
Hello,

I added a new lib into our vendor HAL using soong. This is already running, 
it is part of our vendor Image and we can use it. The only problem left: 
added files or notmentioned in vendor.xml.gz in vendor/etc/, so the license 
information is missing. What is the way to get it in?

I had a look into some other part of the AOSP (e.g. external/wayland) and 
saw that there is always an empty file starting with MODULE_LICENSE_ (e.g. 
MODULE_LICENSE_GPL) and a file NOTICE with the lcense text. I added a file 
MODULE_LICENSE_BIOS and a file NOTICE with our license text to the lib 
directory, but it did not help.

Is there somewhere an example how to add something to AOSP, so the license 
files are handled in the right way?

bests

Sascha

-- 
-- 
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.


Re: [android-building] Integration of new lib in license files

2018-11-28 Thread 'Dan Willemsen' via Android Building
Is this a shared library (*.so installed)?

The NOTICE file is the one that matters here, it needs to be in the same
directory as the Android.mk or Android.bp defining the library. You can
also specify one explicitly using `notice: "filename",` or
`LOCAL_NOTICE_FILE := filename`.

- Dan

On Wed, Nov 28, 2018 at 7:06 AM Sascha Effert  wrote:

> Hello,
>
> I added a new lib into our vendor HAL using soong. This is already
> running, it is part of our vendor Image and we can use it. The only problem
> left: added files or notmentioned in vendor.xml.gz in vendor/etc/, so the
> license information is missing. What is the way to get it in?
>
> I had a look into some other part of the AOSP (e.g. external/wayland) and
> saw that there is always an empty file starting with MODULE_LICENSE_ (e.g.
> MODULE_LICENSE_GPL) and a file NOTICE with the lcense text. I added a file
> MODULE_LICENSE_BIOS and a file NOTICE with our license text to the lib
> directory, but it did not help.
>
> Is there somewhere an example how to add something to AOSP, so the license
> files are handled in the right way?
>
> bests
>
> Sascha
>
> --
> --
> 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.