Top level Android.bp globs for /vendor/*/* subdirs so matching Android.bp would be /vendor/*/*/Android.bp, so as far as I understand assumption is that vendor/whateverVendor/whateverModule/Android.bp should be under your control, and you control what will happen deeper.
I guess that whateverModule is either empty directory or git repo – so you can move/remove it by editing manifets. BR, K. From: android-building@googlegroups.com [mailto:android-building@googlegroups.com] On Behalf Of venkatakrishna.karanamsury...@gmail.com Sent: Monday, November 20, 2017 13:31 To: Android Building <android-building@googlegroups.com> Subject: [android-building] Re: How to build and use soong stand-alone? Is there any way to ignore certain Android.bp files from being globbed? For instance to not include/glob any vendor/whateverVendor/* and the *.bp files further down in that directory. thanks, Venkat. On Thursday, October 12, 2017 at 10:40:11 PM UTC+2, Hartmut Goebel wrote: Hallo, I'm going to build the Android platform-tools as stand-alone packages for a Linux-distribution (GuisSD). For this it seems to make sense to switch to the new soong-based build system. 1. How to I build soong without installing a full-blown Android build environment? 2. How to install soong to be used outside the Android build environment? 3. How to use soong without or outside the Android build environment? Re. 1.: I managed to start bootstrapping soong as follows: mkdir /tmp/sing-song/ cd /tmp/sing-song/ cp -r /tmp/soong-8.0.0_r17-checkout source cd source/ mkdir build ln -s .. build/soong cp -r /tmp/blueprint-8.0.0_r17-checkout/ build/blueprint cd .. $PWD/source/bootstrap.bash This will give me .blueprint.bootstrap .bootstrap/ .minibootstrap/ soong -> /tmp/foo/source/build/soong/soong.bash .soong.bootstrap Now when I run ./soong I get these errors: error: Android.bp:13:9: "androidmk/Blueprints": not found error: Android.bp:13:9: "cmd/*/Blueprints": not found error: Android.bp:13:9: "third_party/zip/Blueprints": not found error: Android.bp:13:9: "ui/*/Blueprints": not found ninja: error: rebuilding '/tmp/sing-song/.minibootstrap/build.ninja': subcommand failed Re 2.: Both soong and soong_ui are bash-scripts, checking if a new version needs to be bootstrapped – which will never be the case if they are installed vi some Linux package management. So how can these be installed into e.g. /usr/bin? How to make these scripts to *not* try to bootstrap soong? Re. 3: How is soong meant to be used? Unfortunately there is not even a short usage-instruction in the archive :-( Thanks in advance for any tips. -- Regards Hartmut Goebel | Hartmut Goebel | h.go...@crazy-compilers.com<javascript:> | | www.crazy-compilers.com<http://www.crazy-compilers.com> | compilers which you thought are impossible | -- -- 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<mailto:android-building@googlegroups.com> To unsubscribe from this group, send email to android-building+unsubscr...@googlegroups.com<mailto: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<mailto: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.