diff options
Diffstat (limited to 'gps/Android.mk')
-rw-r--r-- | gps/Android.mk | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/gps/Android.mk b/gps/Android.mk new file mode 100644 index 0000000..64ada57 --- /dev/null +++ b/gps/Android.mk @@ -0,0 +1,19 @@ +# the Dream and Surf use the Qualcom GPS stuff +# + +ifneq ($(BOARD_GPS_LIBRARIES),) + LOCAL_CFLAGS += -DHAVE_GPS_HARDWARE + LOCAL_SHARED_LIBRARIES += $(BOARD_GPS_LIBRARIES) +endif + +# always compile the emulator-specific hardware for now +# +USE_QEMU_GPS_HARDWARE := true + +ifeq ($(USE_QEMU_GPS_HARDWARE),true) + LOCAL_CFLAGS += -DHAVE_QEMU_GPS_HARDWARE + LOCAL_SRC_FILES += gps/gps_qemu.c +endif + +LOCAL_SRC_FILES += gps/gps.cpp + |