Re: [android-building] Unable to download content during build

2019-10-16 Thread 'Colin Cross' via Android Building
Network connections are blocked using nsjail by default, as they break build hermeticity. https://android.googlesource.com/platform/build/soong/+/master/ui/build/sandbox_linux.go#161 is where it is enforced, you can disable it by setting BUILD_BROKEN_USES_NETWORK := true in your BoardConfig.mk.

Re: [android-building] Unable to download content during build

2019-10-16 Thread Michael Goffioul
Thanks, I figured it must be somehow block. What I would like to understand is _how_ this is achieved technically. On Wed, Oct 16, 2019 at 12:58 PM 'Wesolowski, Krzysztof' via Android Building wrote: > It's blocked by sandboxing of build system, isolating that only repo > content is used.

Re: [android-building] Unable to download content during build

2019-10-16 Thread 'Wesolowski, Krzysztof' via Android Building
It's blocked by sandboxing of build system, isolating that only repo content is used. Probably wget or external connections are blocked. BR, K Get Outlook for Android From: android-building@googlegroups.com on behalf of Michael Goffioul

[android-building] Adding dependencies for Header Libraries

2019-10-16 Thread Vinayak Soni
Hi, Suppose my header library depends on another module to be compiled first. For other modules, you can add LOCAL_ADDITIONAL_DEPENDENCIES but that does not work for HEADER_LIBRARIES. Is there a way this can be done? TIA, Vinayak -- -- You received this message because you are subscribed to

[android-building] Unable to download content during build

2019-10-16 Thread Michael Goffioul
I have several custom modules that download content (if not already present) during build, with wget. This uses additional rules in the corresponding Android.mk files. These used to work in Pie, but in Q the rule fail with "Name or service not found". Running the exact same command outside the

[android-building] Re: Android.bp to support architectural files

2019-10-16 Thread Akanksha
Thank you On Thursday, October 10, 2019 at 1:39:51 AM UTC+5:30, Akanksha wrote: > > Suppose say a module has name - x and compile_multilib =32 and other > module has name - x and compile_multilib = 64. When executed this would > result in module duplication? How can this duplication be solved?