You should not need to modify gps_qemu.c at all, and this source file doesn't correspond to a stand-alone library; instead, it is part of libhardware.so.
What you should do is write your own libgps.so that provides the following function: const GpsInterface* gps_get_interface(); which shall return an interface pointer to your custom implementation. that's about it. On Sun, Mar 15, 2009 at 8:37 PM, Nio <[email protected]> wrote: > > Hi there, > I change the file gps_qemu.c as to integrate with my GPS. But I dont > know how to build a libgps_qemu.so. I have added > BOARD_GPS_LIBRARIES := libgps_qemu in the file BoardConfig.mk and > added LOCAL_SHARD_LIBRARIES +=$(BOARD_GPS_LIBRARIES) in the file gps/ > Android.mk. But when I make, it still tells me there are no rules to > create out/target/product/littleton/obj/SHARD_LIBRERIES/ > libhardware_intermediates/LINKED/libgps_qemu.so. > Can any one give some help? Thanks in advance. > > Best Regards, > Nio > > > --~--~---------~--~----~------------~-------~--~----~ unsubscribe: [email protected] website: http://groups.google.com/group/android-porting -~----------~----~----~----~------~----~------~--~---
