blob: 64ada575bd721a50bcb1b03b1b6220dbc2f8ce08 [file] [log] [blame]
The Android Open Source Projectd6054a32008-10-21 07:00:00 -07001# the Dream and Surf use the Qualcom GPS stuff
2#
3
4ifneq ($(BOARD_GPS_LIBRARIES),)
5 LOCAL_CFLAGS += -DHAVE_GPS_HARDWARE
6 LOCAL_SHARED_LIBRARIES += $(BOARD_GPS_LIBRARIES)
7endif
8
9# always compile the emulator-specific hardware for now
10#
11USE_QEMU_GPS_HARDWARE := true
12
13ifeq ($(USE_QEMU_GPS_HARDWARE),true)
14 LOCAL_CFLAGS += -DHAVE_QEMU_GPS_HARDWARE
15 LOCAL_SRC_FILES += gps/gps_qemu.c
16endif
17
18LOCAL_SRC_FILES += gps/gps.cpp
19