Re: [android-building] sub_dir as module descriptor

2019-10-25 Thread 'Dan Willemsen' via Android Building
Where are you trying to use sub_dir? (which module type? at the top level?) It's only supported on some of the prebuilt module types (and sh_binary). For some other module types, relative_install_path is used instead (cc_binary, cc_library, etc) You can see the documentation about supported

Re: [android-building] OpenJDK 8 or OpenJDK 9 for AOSP 10: which one?

2019-10-25 Thread 'Colin Cross' via Android Building
Correction, EXPERIMENTAL_JAVA_LANUAGE_LEVEL_9=true is the default in master, and is moving to required with https://android-review.googlesource.com/c/platform/build/soong/+/1151196. On Thu, Oct 24, 2019 at 3:32 PM Colin Cross wrote: > The source for Android 10 includes prebuilt java toolchains

Re: [android-building] Re: How to install prebuilt_apps?

2019-10-25 Thread 'Dan Willemsen' via Android Building
The best thing to do is to leave them in Android.mk for now, converting them next year when you integrate the R release (which is what master will be). - Dan On Fri, Oct 25, 2019, 8:31 AM seekers here wrote: > Thanks Dan. > I am using a branch of Android Q code. So Now whats the solution for

Re: [android-building] Re: How to install prebuilt_apps?

2019-10-25 Thread seekers here
Thanks Dan. I am using a branch of Android Q code. So Now whats the solution for this issue? How to convert APPS module class On Fri, Oct 25, 2019 at 12:30 PM 'Dan Willemsen' via Android Building < android-building@googlegroups.com> wrote: > Which branch are you using? `android_app_import` is

[android-building] Re: java vm out of memery ,java.lang.OutOfMemoryError: unable to create native thread

2019-10-25 Thread Chunlin Zhang
All the exception is throw when call "AbstractWorkGang::add_workers", and in add_workers, if the new worker not created, will exit with this exception ( https://hg.openjdk.java.net/jdk9/jdk9/hotspot/file/b756e7a2ec33/src/share/vm/gc/shared/workerManager.hpp#l70 ) for (uint worker_id =

[android-building] sub_dir as module descriptor

2019-10-25 Thread seeker
Hello, How to introduce sub_dir as a module descriptor for Android.bp? Whenever I introduce sub_dir, I am always getting this error: sub_dir unrecognized property. How to overcome this? Thanks in advance -- -- You received this message because you are subscribed to the "Android Building"

Re: [android-building] Re: How to install prebuilt_apps?

2019-10-25 Thread 'Dan Willemsen' via Android Building
Which branch are you using? `android_app_import` is the module type, but it didn't make it into Android Q(10), it's only in master. - Dan On Wed, Oct 23, 2019 at 7:52 AM REGURI AKANKSHA wrote: > I tried above think, but I am getting Androidmk translation errors like > unsupported include etc..