look at external/qemu/Android.mk and had some checks to not build the emulator if some custom env. variable is defined. that should be largely sufficient for your needs.
However, be aware that part of the build of certain products require running 'dexopt' within the emulator to generate optimized versions of the system dex files. There is a env/configuration variable to disable this though. I believe you should try WITH_DEXREOPT=false or something equivalent. Seach for DEXREOPT in the build files for more details. Hope this helps On Fri, Apr 10, 2009 at 11:16 PM, [email protected] < [email protected]> wrote: > > I would like to build android for a HW target ONLY and not an > emulator. How can I disable building for emulator by default ? > > thx > Meeta > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Discuss" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-discuss?hl=en -~----------~----~----~----~------~----~------~--~---
