Re: [android-building] Not able to build HIDL driver files inside ZFS container

2018-03-26 Thread 'Dan Willemsen' via Android Building
It sounds like this is this bug: https://issuetracker.google.com/74084489 (there are some patches linked that you could try) - Dan On Mon, Mar 26, 2018 at 8:16 AM wrote: > Hi Dan, > > thanks for looking in to this. > Attached is the full output of the mma command at the

Re: [android-building] Installing a prebuilt APK with Android.bp

2018-03-26 Thread 'Dan Willemsen' via Android Building
No, keep prebuilt APKs in an Android.mk for now -- it's safe to have both an Android.mk and Android.bp, even in the same directory. In general we've kept most prebuilts in Make for now, unless they're depended upon by something in Soong. For the prebuilts that we do have, we mostly just pass them

Re: [android-building] make failed to build some targets

2018-03-26 Thread 'Dan Willemsen' via Android Building
This is the failure from that log: Out of memory error (version 1.3-rc6 'Douarn' (441800 > 22a11d4b264ae70e366aed3025ef47362d1522bb by android-jack-t...@google.com)) > . > Java heap space. > Try increasing heap size with java option '-Xmx'. The root problem here is that you don't have enough

[android-building] Installing a prebuilt APK with Android.bp

2018-03-26 Thread Will Newton
Hi, Is it possible to add a prebuilt APK to the build using an Android.bp file? I know it is possible to do this using Android.mk include $(BUILD_PREBUILT) but androidmk cannot convert a makefile of this kind. Is there another way of doing this or do I have to convert my tree of Android.bp

[android-building] Soong: how to use PRODUCT_XXX vars in genrule or golang

2018-03-26 Thread DavidRobin
Hi, I am trying to use "genrule" in my Android.bp to generate some header files, which requires some input like PRODUCT_MODEL etc that are defined in product_config.mk. It seems that those variables cannot be directly used in the "cmd" of a "genrule" in Android.bp. However, I also tried to

[android-building] make failed to build some targets

2018-03-26 Thread Itai
I setup a build environment following the instructions at https://source.android.com/setup/initializing with Nexus 5X binaries for Android 8.0.0 (OPR4.170623.020) inside VirtualBox 5.2.8 The build fails. Please advise. jumbo@ubuntu-14:~/android$ lsb_release -a No LSB modules are available.